Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
Elysi Cochin
Elysi Cochin le 17 Oct 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?

Réponse acceptée

Teja Muppirala
Teja Muppirala le 17 Oct 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]
  1 commentaire
Elysi Cochin
Elysi Cochin le 17 Oct 2012
thank you so much... thanks a lot...

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Blue dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by