How to identify the type of the Histogram?
Mostrar comentarios más antiguos
Hi All,
I have medical images,I've plotted it's histograms,now I need to identify the type of these histograms(e.g. One may be like Gaussian distribution, Normal distribution.etce...),is there a builtin Matlab function or any code does that?thank All in advance for time and support.
1 comentario
Walter Roberson
el 16 de En. de 2014
Duplicated by newer http://www.mathworks.co.uk/matlabcentral/answers/112617-how-to-identify-the-type-of-the-histogram-distribution which should be merged into this.
Respuestas (1)
Mischa Kim
el 16 de En. de 2014
0 votos
12 comentarios
hamed abdulaziz
el 16 de En. de 2014
hamed abdulaziz
el 16 de En. de 2014
Walter Roberson
el 16 de En. de 2014
As Wayne King answered in your duplicate of the question, the solution for what you ask here is kstest as that tests whether the data comes from a normal (== Gaussian) distribution.
hamed abdulaziz
el 20 de En. de 2014
hamed abdulaziz
el 20 de En. de 2014
Walter Roberson
el 20 de En. de 2014
h = kstest(counts1, 'CDF', test_cdf );
would return 1 if there is a 95% or greater likelyhood that the data came from the given cdf.
Note: When you wait 3 1/2 days to reply, it is not fair to expect the volunteers to reply within 1 hour. We cannot be checking every hour for days on end. We are still debating whether Wayne King or Image Analyst ever sleep, but we have it on good authority that they do stop to eat.
hamed abdulaziz
el 20 de En. de 2014
Walter Roberson
el 20 de En. de 2014
If h returns as 1, then the probability of a false match is less than 5%, so the probability of a correct match is at least 95% (not exactly 95%)
hamed abdulaziz
el 20 de En. de 2014
hamed abdulaziz
el 20 de En. de 2014
Walter Roberson
el 20 de En. de 2014
imhist returns [counts, x] not [x, counts]
For a binary image (datatype logical) you would only have 2 bins, so you would be working out the probability that the two counts are consistent with a Gaussian distribution. With only two samples, the probability calculations are not statistically meaningful.
hamed abdulaziz
el 20 de En. de 2014
Categorías
Más información sobre Histograms en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!