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 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Respuesta aceptada
Image Analyst
el 3 de Mzo. de 2018
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 comentarios
Image Analyst
el 4 de Mzo. de 2018
If it worked, could you please click the link to "Accept this Answer"?
Más respuestas (0)
Ver también
Categorías
Más información sobre Image Processing Toolbox en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!