imfuse with different colormaps?
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
alok pandey
le 29 Mar 2021
Commenté : alok pandey
le 29 Mar 2021
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!
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/566151/image.jpeg)
2 commentaires
Réponse acceptée
Walter Roberson
le 29 Mar 2021
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)
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Red dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!