Documentation Portal      

What are you looking for?

EasyImage::MorphoGradientBox

Computes the morphological gradient of an image using a rectangular kernel.

Namespace: Euresys::Open_eVision_2_3

[C++]

void MorphoGradientBox(
   EROIBW1* sourceImage,
   EROIBW1* destinationImage,
   OEV_UINT32 halfOfKernelWidth,
   OEV_UINT32 halfOfKernelHeight
)

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

void MorphoGradientBox(
   EROIBW16* sourceImage,
   EROIBW16* destinationImage,
   OEV_UINT32 halfOfKernelWidth,
   OEV_UINT32 halfOfKernelHeight
)

void MorphoGradientBox(
   EROIC24* sourceImage,
   EROIC24* 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).

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.MorphoGradientBox

Computes the morphological gradient of an image using a rectangular kernel.

Namespace: Euresys::Open_eVision_2_3

[C#]

void MorphoGradientBox(
   Euresys.Open_eVision_2_3.EROIBW1 sourceImage,
   Euresys.Open_eVision_2_3.EROIBW1 destinationImage,
   int halfOfKernelWidth,
   int halfOfKernelHeight
)

void MorphoGradientBox(
   Euresys.Open_eVision_2_3.EROIBW8 sourceImage,
   Euresys.Open_eVision_2_3.EROIBW8 destinationImage,
   int halfOfKernelWidth,
   int halfOfKernelHeight
)

void MorphoGradientBox(
   Euresys.Open_eVision_2_3.EROIBW16 sourceImage,
   Euresys.Open_eVision_2_3.EROIBW16 destinationImage,
   int halfOfKernelWidth,
   int halfOfKernelHeight
)

void MorphoGradientBox(
   Euresys.Open_eVision_2_3.EROIC24 sourceImage,
   Euresys.Open_eVision_2_3.EROIC24 destinationImage,
   int halfOfKernelWidth,
   int 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).

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.MorphoGradientBox

Computes the morphological gradient of an image using a rectangular kernel.

[VB6]

void MorphoGradientBox(
   EROIBW1 sourceImage,
   EROIBW1 destinationImage,
   Long halfOfKernelWidth,
   Long halfOfKernelHeight
)

void MorphoGradientBox(
   EROIBW8 sourceImage,
   EROIBW8 destinationImage,
   Long halfOfKernelWidth,
   Long halfOfKernelHeight
)

void MorphoGradientBox(
   EROIBW16 sourceImage,
   EROIBW16 destinationImage,
   Long halfOfKernelWidth,
   Long halfOfKernelHeight
)

void MorphoGradientBox(
   EROIC24 sourceImage,
   EROIC24 destinationImage,
   Long halfOfKernelWidth,
   Long 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).

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.

Which API shall we display?