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 visualizzazioni (ultimi 30 giorni)
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 Commenti

Accedi per commentare.

Risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by