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

 채택된 답변

Sean de Wolski
Sean de Wolski 2012년 4월 17일

0 개 추천

colormap(hot)
?

댓글 수: 4

Adam
Adam 2012년 4월 17일
I = imread('cameraman.tif');
subplot(121), imshow(I,hot)
subplot(122), imshow(I,copper)
don´t work
Sean de Wolski
Sean de Wolski 2012년 4월 17일
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 2012년 4월 17일
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 2012년 4월 18일
Adam, did you try freezecolors?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

제품

질문:

2012년 4월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by