EasyImage::BiLevelDilateBox

Performs a dilation on a bilevel image In a bilevel image, pixel value 0 is considered as black, and any other value is considered as white. (maximum of the pixel values in a defined neighborhood) on a rectangular kernel. For bilevel images, this maximum can either be 0 (if all pixels are black in the given neighborhood), or the maximum possible pixel value.

Namespace: Euresys::Open_eVision

[C++]

static void BiLevelDilateBox(
   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 (by default, halfOfKernelWidth = 1; 0 is allowed).

halfOfKernelHeight

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

EasyImage.BiLevelDilateBox

Performs a dilation on a bilevel image (maximum of the pixel values in a defined neighborhood) on a rectangular kernel. For bilevel images, this maximum can either be 0 (if all pixels are black in the given neighborhood), or the maximum possible pixel value.

Namespace: Euresys.Open_eVision

[C#]

static void BiLevelDilateBox(
   EROIBW8 sourceImage,
   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 (by default, halfOfKernelWidth = 1; 0 is allowed).

halfOfKernelHeight

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

EasyImage.BiLevelDilateBox

Performs a dilation on a bilevel image (maximum of the pixel values in a defined neighborhood) on a rectangular kernel. For bilevel images, this maximum can either be 0 (if all pixels are black in the given neighborhood), or the maximum possible pixel value.

Module: open_evision

[Python]

@staticmethod
BiLevelDilateBox(
    sourceImage: EROIBW8
    destinationImage: EROIBW8
    halfOfKernelWidth: int
    halfOfKernelHeight: int
) -> None

@staticmethod
BiLevelDilateBox(
    sourceImage: EROIBW8
    destinationImage: EROIBW8
    halfOfKernelWidth: int
) -> None

@staticmethod
BiLevelDilateBox(
    sourceImage: EROIBW8
    destinationImage: EROIBW8
) -> None

@staticmethod
BiLevelDilateBox(
    sourceImage: EROIBW8
) -> None

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 (by default, halfOfKernelWidth = 1; 0 is allowed).

halfOfKernelHeight

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