Filter löschen
Filter löschen

multi level image segmentation

1 Ansicht (letzte 30 Tage)
Sara Fadhil
Sara Fadhil am 29 Dez. 2020
Beantwortet: Image Analyst am 29 Dez. 2020
I need a code or procedure to segment or convert gray image to binary image by using more values of thresholding not one as using(im2bw) to get multilevel segmentation and get more accuracy of segment can any body help me ,I need it to complet my project I'm very late,I dont have more time,please

Antworten (1)

Image Analyst
Image Analyst am 29 Dez. 2020
binaryImage = grayImage > someValue1 & grayImage < someValue2;
You can combine as many of those as you want:
binaryImage2 = grayImage > someValue3 & grayImage < someValue4;
binaryImageFinal = binaryImage & binaryImage2;

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2007b

Community Treasure Hunt

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

Start Hunting!

Translated by