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
2 次查看(过去 30 天)
显示 更早的评论
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
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Blue 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!