Combination of 2 image
조회 수: 9(최근 30일)
I want to combine two images. the firts one is the original image and the second one is the inside contour of the hole. I want to combine these two images and make the inside contour black and obtain a final image having the inside area black.
Is it possible to make the white area transparent and keep the black region as it is and show two image by overlaying ontop of each other
I added the original image and the contour image that I could generate by using image processing and I also add a representative final image that I want to achieve by using image processing.
Can you help me :
David Hill 2022년 8월 11일
idx=find(B(:,:,1)~=0&B(:,:,2)~=0&B(:,:,3)~=0);%find ~black pixels in image B
C(idx)=A(:,:,idx);%set ~black pixels to image A pixels