Opening by Reconstruction

Node Icon

This filter preserves regions, in the foreground, that can completely contain the structuring element. At the same time, this filter eliminates all other regions of foreground pixels. Contrary to the morphological opening, the opening by reconstruction preserves the shape of the components that are not removed by erosion. The opening by reconstruction of an image “f” is defined as:

OpeningByReconstruction(f) = DilationByRecontruction(f, Erosion(f)).

Opening by reconstruction not only removes structures destroyed by the erosion, but also levels down the contrast of the brightest regions. If Preserve Intensities is on, a subsequent reconstruction by dilation using a marker image that is the original image for all unaffected pixels.



Input image(s).

Type: Image, List, Required, Single



Output image(s).

Type: Image, List


Kernel Selection

Shape of the structuring element.

Values: Annulus, Ball, Box, Cross

Kernel Radius [px] 3D Vector

Set the kernel radius in voxels, specified as [i, j, k].

Connectivity Selection

Set whether the connected components are defined strictly by face connectivity or by face+edge+vertex (full) connectivity.

Values: Face Connectivity, Full Connectivity

Preserve Intensities Boolean

Set whether the original intensities of the image retained for those pixels unaffected by the opening by reconstruction. If Flase, the output pixel contrast will be reduced.

See also