what are the preprocessing steps to get a binary Image using OTSU?
Ältere Kommentare anzeigen
Hi All
I am able to get a binary image for the attached example by defining threshold manually (trial and error). However, When I use Otsu thresholding, the result is not satisfactory. What pre-prosessing would be useful before I apply OTSU for the attached Image? I also present the result when I use OTSU AS below.
Any other methods to get a binary Image are welcome.
Thanks

Akzeptierte Antwort
Weitere Antworten (1)
Image Analyst
am 23 Nov. 2018
Bearbeitet: Image Analyst
am 23 Nov. 2018
Try this:
binaryImage = imbinarize(grayScaleImage);
Or you can try my triangle thresholding method, attached.
You should also do a background correction on the image before using a global threshold. See attached demo.
1 Kommentar
engineer
am 25 Nov. 2018
Kategorien
Mehr zu Image Segmentation and Analysis finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

