i want to display binary image in blue color...
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
i want to display binary image in blue color...that is i have an image of black lines in white background... i want to display the black lines in blue color in white background.... how can i do it?
0 Kommentare
Akzeptierte Antwort
Teja Muppirala
am 17 Okt. 2012
You can change the colormap to contain blue and white. Like this:
I = im2bw(imread('cameraman.tif'));
imshow(I)
colormap([0 0 1; 1 1 1]) % Blue = [0 0 1], White = [1 1 1]
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Blue finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!