How to open current figure values in Workspace.

조회 수: 4 (최근 30일)
Tallha Akram
Tallha Akram 2013년 2월 21일
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.

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by