imfuse with different colormaps?

5 次查看(过去 30 天)
Hello,
So, I've two image matrices (figure 1 and 2) and one can use imfuse to obtain the composite image (figure 3). I'm wondering if it is possible to have figure 1 and figure 2 plotted with different colormaps and have these different colormaps retained while utilizing imfuse.
For your reference, the two image matrices are also attched.
Thank you very much in advance.
Cheers!
  2 个评论
alok pandey
alok pandey 2021-3-29
new_img = imfuse(img_1,img_2,'blend','Scaling','joint');

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2021-3-29
x_rgb = ind2rgb(im2uint8(new_img_x),parula(256));
y_rgb = ind2rgb(im2uint8(new_img_y),copper(256));
new_img = imfuse(x_rgb, y_rgb, 'blend','Scaling', 'joint');
image(new_img)

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Red 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by