How to identify the type of the Histogram?
이전 댓글 표시
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
Walter Roberson
2014년 1월 16일
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.
답변 (1개)
Mischa Kim
2014년 1월 16일
0 개 추천
댓글 수: 12
hamed abdulaziz
2014년 1월 16일
hamed abdulaziz
2014년 1월 16일
Walter Roberson
2014년 1월 16일
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
2014년 1월 20일
hamed abdulaziz
2014년 1월 20일
Walter Roberson
2014년 1월 20일
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
2014년 1월 20일
Walter Roberson
2014년 1월 20일
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
2014년 1월 20일
hamed abdulaziz
2014년 1월 20일
Walter Roberson
2014년 1월 20일
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
2014년 1월 20일
카테고리
도움말 센터 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!