Borrar filtros
Borrar filtros

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

1 visualización (últimos 30 días)
Elysi Cochin
Elysi Cochin el 17 de Oct. de 2012
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?

Respuesta aceptada

Teja Muppirala
Teja Muppirala el 17 de Oct. de 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]

Más respuestas (0)

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by