How to combine images (just overlap all paixels)
조회 수: 2 (최근 30일)
이전 댓글 표시
I need to overlap 4 images to yield a final single image to find the image edge.
I have only binary images. Do we have any built in functions for it?
Please help me find out the correct method.
댓글 수: 0
채택된 답변
Image Analyst
2013년 4월 21일
편집: Image Analyst
2013년 4월 21일
Yes, you can use imshowpair(), or imfuse() - functions included in the Image Processing Toolbox.
Or, you can simply AND or OR the binary images together:
unionBlobs = bw1 | bw2 | bw3 | bw4;
intersectionBlobs = bw1 & bw2 & bw3 & bw4;
댓글 수: 2
Image Analyst
2013년 4월 22일
From the help:
xor
Logical exclusive-OR
Syntax
C = xor(A, B)
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!