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!