How to use histfit for my histogram data
조회 수: 1 (최근 30일)
이전 댓글 표시
Dear MATLAB users,
I have a histogram data derived from the following codes:
[counts, bwhist] = imhist(septumMask, mymap);
figure; stem(bwhist, counts2)
I would like to curve fit the histogram using histfit function.
figure; histfit(counts, length(bwhist))
and I also had tried this code:
figure; histfit(counts, [])
As you can observe from my two attempts result, the histogram x axis, y axis are wrong.
I would like to achieve the curve fitting based on my original histogram image.
Could you highlight which steps I have missed when I am using "histfit" function? Or which built-in functions do you suggest?
Thank you.
댓글 수: 2
per isakson
2013년 7월 27일
편집: per isakson
2013년 7월 27일
Clicking the links returns The page you were looking for doesn't exist. However, copy&paste works. Have you used "<<url>>"? Should be "<url>" without citation marks.
채택된 답변
Elad
2013년 7월 27일
There is an excellent guide with examples for Histogram Adjustments in MATLAB here: http://imageprocessingblog.com/histogram-adjustments-in-matlab-part-i/
댓글 수: 1
Daniel Bridges
2017년 2월 1일
This webpage is now a GoDaddy placeholder advertisement: Apparently the webmaster has abandoned this domain name.
There appears to be a continuation via WordPress, but this also references the defunct GoDaddy site for part 1.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Histograms에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!