oevislib_net  0.14.3.0
Loading...
Searching...
No Matches
Morphology

Functions

Region oevislib_net.Region.Dilate (Region inKernel, Optional< Point2Di > inKernelAnchor=null)
 Computes the morphological dilation on the calling region, using the provided kernel.
Region oevislib_net.Region.Dilate (KernelShape inKernel=KernelShape.Box, int inRadiusX=1, Optional< int > inRadiusY=null)
 Computes the morphological dilation on the calling region, using the selected default kernel.
Region oevislib_net.Region.Erode (Region inKernel, Optional< Point2Di > inKernelAnchor=null)
 Computes the morphological erosion on the calling region, using the provided kernel.
Region oevislib_net.Region.Erode (KernelShape inKernel=KernelShape.Box, int inRadiusX=1, Optional< int > inRadiusY=null)
 Computes the morphological erosion on the calling region, using the selected default kernel.
Region oevislib_net.Region.Open (Region inKernel)
 Computes the morphological opening on the calling region, using the provided kernel.
Region oevislib_net.Region.Open (KernelShape inKernel=KernelShape.Box, int inRadiusX=1, Optional< int > inRadiusY=null)
 Computes the morphological opening on the calling region, using the selected default kernel.
Region oevislib_net.Region.Close (Region inKernel)
 Computes the morphological closing on the calling region, using the provided kernel.
Region oevislib_net.Region.Close (KernelShape inKernel=KernelShape.Box, int inRadiusX=1, Optional< int > inRadiusY=null)
 Computes the morphological closing on the calling region, using the selected default kernel.
Region oevislib_net.Region.HitAndMiss (Region inHitKernel, Region inMissKernel, Optional< Point2Di > inHitKernelAnchor, Optional< Point2Di > inMissKernelAnchor)
 Computes the morphological hit-and-miss operation using the provided kernels.
Region oevislib_net.Region.Thin ()
 Computes the morphological thinning on the calling region.
Region oevislib_net.Region.Thicken ()
 Computes the morphological thickening on the calling region.
Region oevislib_net.Region.TopHat (Region inKernel)
 Computes the morphological top hat operation on the calling region, using the provided kernel.
Region oevislib_net.Region.TopHat (KernelShape inKernel=KernelShape.Box, int inRadiusX=1, Optional< int > inRadiusY=null)
 Computes the morphological top hat operation on the calling region, using the selected default kernel.
Region oevislib_net.Region.BottomHat (Region inKernel)
 Computes the morphological bottom hat operation on the calling region, using the provided kernel.
Region oevislib_net.Region.BottomHat (KernelShape inKernel=KernelShape.Box, int inRadiusX=1, Optional< int > inRadiusY=null)
 Computes the morphological bottom hat operation on the calling region, using the selected default kernel.
Region oevislib_net.Region.Skeletonize ()
 Computes the region's morphological skeleton.
Region oevislib_net.Region.Prune (int inMaxLength)
 Computes the morphological pruning operation.

Detailed Description

Function Documentation

◆ BottomHat() [1/2]

Region oevislib_net.Region.BottomHat ( KernelShape inKernel = KernelShape::Box,
int inRadiusX = 1,
Optional< int > inRadiusY = null )
inline

Computes the morphological bottom hat operation on the calling region, using the selected default kernel.

Parameters
inKernelType of kernel.
inRadiusXKernel X radius. The effective kernel X size will be (2 * inRadiusX + 1). Range: [0, +inf).
inRadiusYKernel Y radius. The effective kernel Y size will be (2 * inRadiusY + 1). If a negative number is provided, the value of inRadiusX will be considered. Range: [0, +inf).
Returns
The computed region.

◆ BottomHat() [2/2]

Region oevislib_net.Region.BottomHat ( Region inKernel)
inline

Computes the morphological bottom hat operation on the calling region, using the provided kernel.

Parameters
inKernelInput region used as the bottom hat kernel.
Returns
The computed region.

◆ Close() [1/2]

Region oevislib_net.Region.Close ( KernelShape inKernel = KernelShape::Box,
int inRadiusX = 1,
Optional< int > inRadiusY = null )
inline

Computes the morphological closing on the calling region, using the selected default kernel.

Parameters
inKernelType of kernel.
inRadiusXKernel X radius. The effective kernel X size will be (2 * inRadiusX + 1). Range: [0, +inf).
inRadiusYKernel Y radius. The effective kernel Y size will be (2 * inRadiusY + 1). If a negative number is provided, the value of inRadiusX will be considered. Range: [0, +inf).
Returns
The computed region.

◆ Close() [2/2]

Region oevislib_net.Region.Close ( Region inKernel)
inline

Computes the morphological closing on the calling region, using the provided kernel.

Parameters
inKernelInput region used as the closing kernel.
Returns
The computed region.

◆ Dilate() [1/2]

Region oevislib_net.Region.Dilate ( KernelShape inKernel = KernelShape::Box,
int inRadiusX = 1,
Optional< int > inRadiusY = null )
inline

Computes the morphological dilation on the calling region, using the selected default kernel.

Parameters
inKernelType of kernel.
inRadiusXKernel X radius. The effective kernel X size will be (2 * inRadiusX + 1). Range: [0, +inf).
inRadiusYKernel Y radius. The effective kernel Y size will be (2 * inRadiusY + 1). If a negative number is provided, the value of inRadiusX will be considered. Range: [0, +inf).
Returns
The dilated region.

◆ Dilate() [2/2]

Region oevislib_net.Region.Dilate ( Region inKernel,
Optional< Point2Di > inKernelAnchor = null )
inline

Computes the morphological dilation on the calling region, using the provided kernel.

Parameters
inKernelInput region used as a dilation kernel.
inKernelAnchorKernel's anchor. When Null, the anchor is considered to be (width / 2, height / 2).
Returns
The dilated region.

◆ Erode() [1/2]

Region oevislib_net.Region.Erode ( KernelShape inKernel = KernelShape::Box,
int inRadiusX = 1,
Optional< int > inRadiusY = null )
inline

Computes the morphological erosion on the calling region, using the selected default kernel.

Parameters
inKernelType of kernel.
inRadiusXKernel X radius. The effective kernel X size will be (2 * inRadiusX + 1). Range: [0, +inf).
inRadiusYKernel Y radius. The effective kernel Y size will be (2 * inRadiusY + 1). If a negative number is provided, the value of inRadiusX will be considered. Range: [0, +inf).
Returns
The eroded region.

◆ Erode() [2/2]

Region oevislib_net.Region.Erode ( Region inKernel,
Optional< Point2Di > inKernelAnchor = null )
inline

Computes the morphological erosion on the calling region, using the provided kernel.

Parameters
inKernelInput region used as a dilation kernel.
inKernelAnchorKernel's anchor. When Null, the anchor is considered to be (width / 2, height / 2).
Returns
The eroded region.

◆ HitAndMiss()

Region oevislib_net.Region.HitAndMiss ( Region inHitKernel,
Region inMissKernel,
Optional< Point2Di > inHitKernelAnchor,
Optional< Point2Di > inMissKernelAnchor )
inline

Computes the morphological hit-and-miss operation using the provided kernels.

Hit-and-miss kernel intersection must be empty. If not, the function throws an exception.

Parameters
inHitKernelInput kernel for the hit operation.
inMissKernelInput kernel for the miss operation.
inHitKernelAnchorHit kernel's anchor. When Null, the anchor is considered to be (width / 2, height / 2).
inMissKernelAnchorMiss kernel's anchor. When Null, the anchor is considered to be (width / 2, height / 2).
Returns
The computed region.

◆ Open() [1/2]

Region oevislib_net.Region.Open ( KernelShape inKernel = KernelShape::Box,
int inRadiusX = 1,
Optional< int > inRadiusY = null )
inline

Computes the morphological opening on the calling region, using the selected default kernel.

Parameters
inKernelType of kernel.
inRadiusXKernel X radius. The effective kernel X size will be (2 * inRadiusX + 1). Range: [0, +inf).
inRadiusYKernel Y radius. The effective kernel Y size will be (2 * inRadiusY + 1). If a negative number is provided, the value of inRadiusX will be considered. Range: [0, +inf).
Returns
The computed region.

◆ Open() [2/2]

Region oevislib_net.Region.Open ( Region inKernel)
inline

Computes the morphological opening on the calling region, using the provided kernel.

Parameters
inKernelInput region used as the opening kernel.
Returns
The computed region.

◆ Prune()

Region oevislib_net.Region.Prune ( int inMaxLength)
inline

Computes the morphological pruning operation.

Parameters
inMaxLengththe maximum branch size to retain.
Returns
The computed region.

◆ Skeletonize()

Region oevislib_net.Region.Skeletonize ( )
inline

Computes the region's morphological skeleton.

Returns
The computed region.

◆ Thicken()

Region oevislib_net.Region.Thicken ( )
inline

Computes the morphological thickening on the calling region.

Returns
The computed region.

◆ Thin()

Region oevislib_net.Region.Thin ( )
inline

Computes the morphological thinning on the calling region.

Returns
The computed region.

◆ TopHat() [1/2]

Region oevislib_net.Region.TopHat ( KernelShape inKernel = KernelShape::Box,
int inRadiusX = 1,
Optional< int > inRadiusY = null )
inline

Computes the morphological top hat operation on the calling region, using the selected default kernel.

Parameters
inKernelType of kernel.
inRadiusXKernel X radius. The effective kernel X size will be (2 * inRadiusX + 1). Range: [0, +inf).
inRadiusYKernel Y radius. The effective kernel Y size will be (2 * inRadiusY + 1). If a negative number is provided, the value of inRadiusX will be considered. Range: [0, +inf).
Returns
The computed region.

◆ TopHat() [2/2]

Region oevislib_net.Region.TopHat ( Region inKernel)
inline

Computes the morphological top hat operation on the calling region, using the provided kernel.

Parameters
inKernelInput region used as the top hat kernel.
Returns
The computed region.