imreconstruct
Morphological reconstruction
Description
performs morphological reconstruction of the image J = imreconstruct(marker,mask)marker under
the image mask, and returns the reconstruction in
J. The elements of marker must be less
than or equal to the corresponding elements of mask. If the
values in marker are greater than corresponding elements in
mask, then imreconstruct clips the
values to the mask level before starting the procedure.
Examples
Input Arguments
Output Arguments
Tips
Morphological reconstruction is the algorithmic basis for several other Image Processing Toolbox™ functions, including
imclearborder,imkeepborder,imextendedmax,imextendedmin,imfill,imhmax,imhmin, andimimposemin.Performance note: This function may take advantage of hardware optimization for data types
logical,uint8,uint16,single, anddoubleto run faster. Hardware optimization requiresmarkerandmaskto be 2-D images andconnto be either4or8.
Algorithms
imreconstruct uses the fast hybrid grayscale reconstruction algorithm
described in [1].
References
[1] Vincent, L., "Morphological Grayscale Reconstruction in Image Analysis: Applications and Efficient Algorithms," IEEE Transactions on Image Processing, Vol. 2, No. 2, April, 1993, pp. 176-201.
Extended Capabilities
Version History
Introduced before R2006aSee Also
imclearborder | imkeepborder | imextendedmax | imextendedmin | imfill | imhmax | imhmin | imimposemin










