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 日間)
  1 件のコメント
Rik
Rik 2018 年 3 月 3 日
What have you tried so far? Have a read here and here. It will greatly improve your chances of getting an answer.

サインインしてコメントする。

採用された回答

Image Analyst
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);

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by