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 views (last 30 days)
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 Comments

Sign in to comment.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!