i wanted to display binary image in blue color...

1 visualización (últimos 30 días)
Elysi Cochin
Elysi Cochin el 31 de Oct. de 2012
i wanted to display binary image in blue color... the code i worked with is...
global image
I= im2bw(image);
axes(handles.axes4);
imshow(I)
colormap([0 0 1; 1 1 1])
axis equal;axis off;
the pblm i'm facing is.. when i execute this code it is coming corectly, but it is altering the other images in axes1,2,3 also to blue color.... i want only axes4 image to be displayed in blue color....
why is it coming like that....what shud i do???please reply....

Respuesta aceptada

Sachin Ganjare
Sachin Ganjare el 31 de Oct. de 2012

Más respuestas (0)

Categorías

Más información sobre Blue en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by