To overlap two or more images to give single image for all property data in single image
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I wannt to overlap three images to get single image showing all three color map in final image... I started using the standard approach of using 1 image a s background and second imaged as transparent set using AlphaData and repmat to give fading form. But it will not be clear for 3 or four images.

0 commentaires
Réponse acceptée
Sreeja Banerjee
le 9 Juin 2015
Hi Sanjeet,
I understand that you want to superimpose two or more images. After looking at the images that you have attached with the question I could find that: a) the images have a black background b) the colorbar is a part of each image
Assuming that you are creating the images using MATLAB, I would recommend you to not have the colorbar as a part of each image. Instead use the same mapping for the colorbar of all the images and then create only one colorbar for the final image. Looking at the images that you have attached, looks like each image is drawn based on same color, so that way there will be only one colorbar for the final image and hence, less misleading. Please look at the following documentation that will show you how to change the color mapping of the COLORBAR: http://www.mathworks.com/help/matlab/creating_plots/change-mapping-of-data-values-into-the-colormap.html
If you are not able to do that, I would recommend you to:
1) Use transparent background instead of black for the images. You can either modify the 'backgroundcolor' property while reading the image using IMREAD or create the image in MATLAB with no background color. IMREAD: http://www.mathworks.com/help/matlab/ref/imread.html
2) Place the colorbar for the different images at different positions so that they do not overlap. You may modify the 'placement' property of COLORBAR COLORBAR: http://www.mathworks.com/help/matlab/ref/colorbar.html
If you have questions on image overlay then I would recommend you to read the folowing article on image overlay: http://blogs.mathworks.com/steve/2009/02/18/image-overlay-using-transparency/
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Orange dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!