colormap problem, i try one colorful image and two black&white , it works with one of the black&white image but not with the other twos

3 vues (au cours des 30 derniers jours)
i use 3 images one is colored and other two is black&white... but colormap work for only cameraman image(for three images see the attachment file, guys u can see images in question comment part too) the code i have type is
>> a = imread('cameraman.jpg'); >> imshow(a); >> colormap(bone); >> colormap(gray); >> colormap(pink); >> b = imread('charlie.jpg'); >> figure, imshow(b); Warning: Image is too big to fit on screen; displaying at 33% > In imuitools\private\initSize at 72 In imshow at 283 >> colormap(pink); >> colormap(bone); >> colormap(gray); >> c = imread('tom.jpg'); >> figure, imshow(c); Warning: Image is too big to fit on screen; displaying at 33% > In imuitools\private\initSize at 72 In imshow at 283 >> colormap(bone); >> colormap(pink);
can anyone tell me why colormap work for image a and not for image b & c
  3 commentaires

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Red dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by