For each pixel in C, go to G and extract the whole component in G corresponding to pixels in C.below we attached C and G Images
조회 수: 1 (최근 30일)
이전 댓글 표시
채택된 답변
Image Analyst
2018년 3월 3일
Description
IM = imreconstruct(marker,mask) performs morphological reconstruction of the image marker under the image mask. marker and mask can be two intensity images or two binary images with the same size. The returned image IM is an intensity image or a binary image, depending on the input images, and is the same size as the input images.
So for you
outputImage = imreconstruct(C, G);
댓글 수: 2
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!