필터 지우기
필터 지우기

Image Processing Pseudocolor Colormap

조회 수: 6 (최근 30일)
shiffraw dagnechaw
shiffraw dagnechaw 2018년 8월 29일
답변: Vishal Bhutani 2018년 9월 3일
I created a composite image, from two images using the imfuse built in function. The composite imagge is automatically pseudocolored with Parula, but I want to use the Jet pseudocolor. How do I specify that I want the Jet color map and not the parula using the imfuse function? I know how to change manually by pressing the jet option once the image window pops up, but I'm looking for a way to specify it by code.

답변 (1개)

Vishal Bhutani
Vishal Bhutani 2018년 9월 3일
By my understanding you want to set the Jet colormap instead of parula, so you can try using ‘colormap’ function and specify color to be Jet. Sample code:
>> A = imread('cameraman.tif');
>> B = imrotate(A,5,'bicubic','crop');
>> C = imfuse(A,B,'blend','Scaling','joint');
>> imshow(C)
>> colormap('jet');
Hope this will help you issue.

카테고리

Help CenterFile Exchange에서 Colormaps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by