How to open current figure values in Workspace.

1 次查看(过去 30 天)
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?

回答(2 个)

Walter Roberson
Walter Roberson 2013-2-21
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 2013-2-21
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!

Translated by