gray to hot

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

 Risposta accettata

Sean de Wolski
Sean de Wolski il 17 Apr 2012

0 voti

colormap(hot)
?

4 Commenti

Adam
Adam il 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 il 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 il 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 il 18 Apr 2012
Adam, did you try freezecolors?

Accedi per commentare.

Più risposte (0)

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by