필터 지우기
필터 지우기

What's the difference between GrayThresh and OtsuThresh?

조회 수: 8 (최근 30일)
nadav potasman
nadav potasman 2017년 5월 3일
댓글: nadav potasman 2017년 5월 3일
Its seems that both of them find the optimum threshold with Otsu algorithm. So what's the difference between them? Thank you.

채택된 답변

Guillaume
Guillaume 2017년 5월 3일
The only significant difference is that graythresh wants the image as input, whereas otsuthresh wants the image histogram instead. You can look at the actual code of both
edit graythresh
edit otsuthresh
and you'll see that all graythresh does is to compute the image histogram with 256 bins before calling otsuthresh.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by