EasyImage::BiLevelOpenBox

Performs an opening on a bilevel image (erosion followed by dilation) on a rectangular kernel.

Namespace: Euresys::Open_eVision

[C++]

void BiLevelOpenBox(
   EROIBW8* sourceImage,
   EROIBW8* destinationImage,
   OEV_UINT32 halfOfKernelWidth,
   OEV_UINT32 halfOfKernelHeight
)

Parameters

sourceImage

Pointer to the source image/ROI.

destinationImage

Pointer to the destination image/ROI. If NULL (default), this operation is destructive (i.e. applied to the source image).

halfOfKernelWidth

Half of the box width minus one, as shown on the picture below (by default, halfOfKernelWidth =1; 0 is allowed).

halfOfKernelHeight

Half of the box height minus one, as shown on the picture below (by default, same as halfOfKernelWidth; 0 is allowed).

Remarks

Rectangular kernel of half width = 3 and half height = 2

EasyImage.BiLevelOpenBox

Performs an opening on a bilevel image (erosion followed by dilation) on a rectangular kernel.

Namespace: Euresys.Open_eVision

[C#]

void BiLevelOpenBox(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EROIBW8 destinationImage,
   uint halfOfKernelWidth,
   uint halfOfKernelHeight
)

Parameters

sourceImage

Pointer to the source image/ROI.

destinationImage

Pointer to the destination image/ROI. If NULL (default), this operation is destructive (i.e. applied to the source image).

halfOfKernelWidth

Half of the box width minus one, as shown on the picture below (by default, halfOfKernelWidth =1; 0 is allowed).

halfOfKernelHeight

Half of the box height minus one, as shown on the picture below (by default, same as halfOfKernelWidth; 0 is allowed).

Remarks

Rectangular kernel of half width = 3 and half height = 2