How to open current figure values in Workspace.

4 Ansichten (letzte 30 Tage)
Tallha Akram
Tallha Akram am 21 Feb. 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?

Antworten (2)

Walter Roberson
Walter Roberson am 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 am 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.

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by