EasyImage::BiLevelMorphoGradientBox
Computes the morphological gradient of a bilevel image using a rectangular kernel.
Namespace: Euresys::Open_eVision
[C++]
void BiLevelMorphoGradientBox(
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
halfOfKernelWidth
Half of the box width minus one (by default,
halfOfKernelHeight
Half of the box height minus one (by default, same as
Remarks
The morphological gradient is the difference between the dilation and the erosion of the image, using the same structuring element.
The kernel size is a pair of odd numbers; they must be halved before they are passed. For instance, a 3x5 kernel is passed as 1x2.
EasyImage.BiLevelMorphoGradientBox
Computes the morphological gradient of a bilevel image using a rectangular kernel.
Namespace: Euresys.Open_eVision
[C#]
void BiLevelMorphoGradientBox(
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
halfOfKernelWidth
Half of the box width minus one (by default,
halfOfKernelHeight
Half of the box height minus one (by default, same as
Remarks
The morphological gradient is the difference between the dilation and the erosion of the image, using the same structuring element.
The kernel size is a pair of odd numbers; they must be halved before they are passed. For instance, a 3x5 kernel is passed as 1x2.