How to change particular pixel color of a binary image to other color?
Ältere Kommentare anzeigen
Sir,
I have a binary image and i want to change the color of the black pixel to green. How do i do that ? Please help. Thanks in advance.
This is the binary image:

Akzeptierte Antwort
Weitere Antworten (1)
Doug Hull
am 30 Okt. 2014
Change colormap?
clf
im = round(rand(10));
imshow(im)
colormap([0 1 0; 1 1 1])
1 Kommentar
Asif Hasan
am 30 Okt. 2014
Kategorien
Mehr zu Blue 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!
