Is it possible to automatic find threshold value?

조회 수: 4 (최근 30일)
Tarcisio Lima
Tarcisio Lima 2018년 6월 8일
편집: Stephen Devlin 2018년 6월 8일
I'm using this code to segment the leaf, which use fixed thresholds that work very well for the first image, but it don't work for the second one.
Is it possible to analyse the image and find out the best thresholds to use?
Thank you!

답변 (1개)

Stephen Devlin
Stephen Devlin 2018년 6월 8일
편집: Stephen Devlin 2018년 6월 8일
Hi Tarcisio,
Maybe this helps?
https://uk.mathworks.com/matlabcentral/answers/73864-histogram-thresholding-to-get-the-threshold-point

Community Treasure Hunt

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

Start Hunting!

Translated by