error in converting image to binary
Ältere Kommentare anzeigen
I have a rgb image inwhich the image consists of two persons,i want to make the background black and persons in white colour,i tried im2bw but i get only whit backgroubf,no image duisplayed ,please help
Antworten (2)
Pugazhendhi
am 1 Mär. 2012
0 Stimmen
First convert to grayscale(rgb2gray) then use im2bw
1 Kommentar
FIR
am 1 Mär. 2012
Walter Roberson
am 1 Mär. 2012
0 Stimmen
See graythresh()
Kategorien
Mehr zu Import, Export, and Conversion finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!