Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
how to make input data from output superimpose
조회 수: 2 (최근 30일)
이전 댓글 표시
how to make the output figure from superimpose technique to input data where can be used for further coding..
myImage=imread('B1.jpg');
S=im2bw(myImage,100);
imshow(myImage), hold on
himage = imshow(S);
set(himage, 'AlphaData', 0.5);
output from figure,i wanted to become as input for another coding.how to do that?
example:
gray=rgb2gray(*output from figure in superimpose technique*)
댓글 수: 0
답변 (1개)
Walter Roberson
2011년 9월 29일
The only general method is getframe(), which usually does more work than is necessary.
If the two images are the same size, then you can calculate the resulting image using the Alpha Blending formulas.
댓글 수: 3
Walter Roberson
2011년 10월 5일
RecordedImage = getframe;
See http://www.mathworks.com/help/techdoc/ref/getframe.html
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!