How to identify the type of the Histogram distribution?
이전 댓글 표시
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 for * identify the type of Histogram distribution * or any code does that? my goal: I have two algorithms for image segmentation,so if the distribution was Gaussian type I will use the first algorithms else use the second algorithm,please any could guide me to do this job.thank in advance for time and support
댓글 수: 1
Walter Roberson
2014년 1월 16일
Duplicates http://www.mathworks.co.uk/matlabcentral/answers/112603-how-to-identify-the-type-of-the-histogram and further discussion should continue there.
답변 (1개)
Wayne King
2014년 1월 16일
You can use kstest() if you have the Statistics Toolbox:
x = 10+randn(1000,1);
test_cdf = makedist('normal','mu',10,'sigma',1);
[h,p] = kstest(x,'cdf',test_cdf);
댓글 수: 7
hamed abdulaziz
2014년 1월 16일
Walter Roberson
2014년 1월 16일
In your original that this question duplicates, you asked specifically for Gaussian (== "normal") distribution. kstest() does that test.
If you want to know the name of the distribution then you can use the File Exchange contribution linked to in your original question that this question duplicates. If your distribution does not fit within any one of the ones known to that tool, then you can attempt to extend that tool.
There is no Mathworks supplied tool to name distributions of arbitrary data, and there cannot be such a tool, as there are an infinite number of possible distributions. The Curve Fitting Toolbox goes part way towards a more generalized solution, but the generalized solution also needs to include time delay and feedback networks where later samples might be correlated with earlier samples.
hamed abdulaziz
2014년 1월 16일
hamed abdulaziz
2014년 1월 16일
편집: hamed abdulaziz
2014년 1월 16일
hamed abdulaziz
2014년 1월 16일
hamed abdulaziz
2014년 1월 16일
Glisant Plasa
2022년 11월 20일
hope ur doing well hamed
카테고리
도움말 센터 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!