Setting the threshold for converting grayscale to binary image

1 view (last 30 days)
By using "graythresh" the object to be detected is missing. So, how to set a threshold value for an image to convert it to binary image?

Answers (1)

Sean de Wolski
Sean de Wolski on 3 Mar 2011
doc im2bw

Community Treasure Hunt

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

Start Hunting!