Hi, do not know how convert the image from color gray to hot?
RGB = imre ad('peppers.png');
HSV = rgb2hsv(RGB);
imshow(RGB);
imshow(HSV);
this is for RGB

 Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 17 Apr. 2012

0 Stimmen

colormap(hot)
?

4 Kommentare

Adam
Adam am 17 Apr. 2012
I = imread('cameraman.tif');
subplot(121), imshow(I,hot)
subplot(122), imshow(I,copper)
don´t work
Sean de Wolski
Sean de Wolski am 17 Apr. 2012
The whole figure retains the colormap, not just the axes. Thus both subplots retain the newest colormap. It sounds like you're looking for something like this:
http://www.mathworks.com/matlabcentral/fileexchange/7943-freezecolors-unfreezecolors
Adam
Adam am 17 Apr. 2012
Specifically, that two different images of themselves and put both the seat and I saw the difference.
subplot(131);
I = imread('board.tif');
J = rgb2gray(I);
imshow(I)
subplot(132);
imshow(J);
XFUSmean1 = wfusimg(J,I,'db2',5,'mean','mean');
imshow(133);
imshow(XFUSmean1);
but this is for RGB and lends it does not work
Sean de Wolski
Sean de Wolski am 18 Apr. 2012
Adam, did you try freezecolors?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by