필터 지우기
필터 지우기

Is there is any difference between otsu & graythresh??

조회 수: 6 (최근 30일)
Mariam Sheha
Mariam Sheha 2013년 6월 5일
i am trying to make image segmentation using otsu's method but i am confused about the difference between using that function (IDX = otsu()) or using graythresh(I) ,Regarding that the first function didn't work and always that error appears (??? Undefined function or method 'otsu' for input arguments of type'double'.)...

채택된 답변

Image Analyst
Image Analyst 2013년 6월 8일
You may find Otsu doesn't work well. It seems to work best for high contrast images with well separated bimodal histograms. If you have a skewed unimodal histogram, it often doesn't pick what you'd pick if you did it manually (with my thresholding app: http://www.mathworks.com/matlabcentral/fileexchange/29372-thresholding-an-image). Personally I like the triangle method better - it seems to work with more images that are continuous gray scale.

추가 답변 (2개)

Sean de Wolski
Sean de Wolski 2013년 6월 5일
graythresh is MATLAB's Image Processing Toolbox's implementation of the Otsu algorithm.
doc graythresh
Explains this in the references.
  댓글 수: 2
Mariam Sheha
Mariam Sheha 2013년 6월 7일
Thank you for answering my question, but did you know if their is anther matlab equation named by "_otsu_" where i found matlab code using it but it dosn't work properly....
please if you have any further information about that issue report me...
Thanks A lot :)
Sean de Wolski
Sean de Wolski 2013년 6월 7일
There are a few functions on the FEX with that name:
But I would avoid them in favor of the IPT standard.

댓글을 달려면 로그인하십시오.


Mariam Sheha
Mariam Sheha 2013년 6월 11일
Thanks A lot, your answer is helpful...

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by