How to convert pixel color white to black and other color to white
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
dear all,
I need the information how to convert the white pixel to black, and convert the other colors in to white
thanks
5 Kommentare
Image Analyst
am 16 Dez. 2012
Are you sure you have a true color image and not a gray scale uint8 image?
Antworten (2)
Image Analyst
am 16 Dez. 2012
On the wild chance that it's a gray level image...
binaryImage = grayScaleImage < 255;
0 Kommentare
Siehe auch
Kategorien
Mehr zu Convert Image Type finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!