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 ビュー (過去 30 日間)
chitresh
chitresh 2013 年 10 月 16 日
編集済み: chitresh 2013 年 10 月 17 日
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 件のコメント

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeRed についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by