How to open current figure values in Workspace.

6 views (last 30 days)
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?

Answers (2)

Walter Roberson
Walter Roberson on 21 Feb 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 on 21 Feb 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.

Community Treasure Hunt

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

Start Hunting!