How to open current figure values in Workspace.

4 vues (au cours des 30 derniers jours)
Tallha Akram
Tallha Akram le 21 Fév 2013
imshow(Image1); % Image1 is let 100 *100
hold
imshow(Image2); % Image2 is 100*100*3
Now i need the values of the finalized image in Workspace, how to get it?

Réponses (2)

Walter Roberson
Walter Roberson le 21 Fév 2013
What do you mean by "the finalized image" ? Your second image will completely overlay your first image and so the image that appears in the display will be exactly the content of the second image.

Tallha Akram
Tallha Akram le 21 Fév 2013
Yes, sorry for incomplete information. The code is given as
figure, imshow(Image1), hold on
himage = imshow(Imge2);
set(himage, 'AlphaData',0.8); % 0.8 is transparency level, if 1 then final image is image 2;
I hope this code will clear the situation. Regards and Thanks for helping.

Catégories

En savoir plus sur Images 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!

Translated by