EasyImage::Thick

Applies a thickening operation on an image, using a 3x3 kernel.

Namespace: Euresys::Open_eVision

[C++]

void Thick(
   EROIBW8* sourceImage,
   EROIBW8* destinationImage,
   EKernel* thickeningKernel,
   Euresys::Open_eVision::EKernelRotation rotationMode,
   int& numberOfIterations
)

void Thick(
   EROIBW16* sourceImage,
   EROIBW16* destinationImage,
   EKernel* thickeningKernel,
   Euresys::Open_eVision::EKernelRotation rotationMode,
   int& numberOfIterations
)

void Thick(
   EROIC24* sourceImage,
   EROIC24* destinationImage,
   EKernel* thickeningKernel,
   Euresys::Open_eVision::EKernelRotation rotationMode,
   int& numberOfIterations
)

int Thick(
   EROIBW1* sourceImage,
   EROIBW1* destinationImage,
   EKernel* thickeningKernel,
   Euresys::Open_eVision::EKernelRotation rotationMode,
   int& numberOfIterations
)

Parameters

sourceImage

Pointer to the source image/ROI.

destinationImage

Pointer to the destination image/ROI. Must not be the same as source image.

thickeningKernel

Pointer to the thickening kernel.

rotationMode

Rotation mode, as defined by EKernelRotation.

numberOfIterations

Number of iterations to apply. 0 indicates stop when convergence is reached. Upon return, gives the number of passes actually performed. If the rotation mode is set to either EKernelRotation_Clockwise or EKernelRotation_Anticlockwise, a pass comprises eight kernel rotations.

Remarks

The thickening kernel coefficients must be 0 (matching black pixel, value 0), 1 (matching non black pixel, value > 0) or -1 (don't care). When a match is found between the kernel coefficients and the neighborhood of a pixel, the pixel value is set to 255.

EasyImage.Thick

Applies a thickening operation on an image, using a 3x3 kernel.

Namespace: Euresys.Open_eVision

[C#]

void Thick(
   Euresys.Open_eVision.EROIBW8 sourceImage,
   Euresys.Open_eVision.EROIBW8 destinationImage,
   Euresys.Open_eVision.EKernel thickeningKernel,
   Euresys.Open_eVision.EKernelRotation rotationMode,
   ref int numberOfIterations
)

void Thick(
   Euresys.Open_eVision.EROIBW16 sourceImage,
   Euresys.Open_eVision.EROIBW16 destinationImage,
   Euresys.Open_eVision.EKernel thickeningKernel,
   Euresys.Open_eVision.EKernelRotation rotationMode,
   ref int numberOfIterations
)

void Thick(
   Euresys.Open_eVision.EROIC24 sourceImage,
   Euresys.Open_eVision.EROIC24 destinationImage,
   Euresys.Open_eVision.EKernel thickeningKernel,
   Euresys.Open_eVision.EKernelRotation rotationMode,
   ref int numberOfIterations
)

int Thick(
   Euresys.Open_eVision.EROIBW1 sourceImage,
   Euresys.Open_eVision.EROIBW1 destinationImage,
   Euresys.Open_eVision.EKernel thickeningKernel,
   Euresys.Open_eVision.EKernelRotation rotationMode,
   ref int numberOfIterations
)

Parameters

sourceImage

Pointer to the source image/ROI.

destinationImage

Pointer to the destination image/ROI. Must not be the same as source image.

thickeningKernel

Pointer to the thickening kernel.

rotationMode

Rotation mode, as defined by EKernelRotation.

numberOfIterations

Number of iterations to apply. 0 indicates stop when convergence is reached. Upon return, gives the number of passes actually performed. If the rotation mode is set to either Clockwise or Anticlockwise, a pass comprises eight kernel rotations.

Remarks

The thickening kernel coefficients must be 0 (matching black pixel, value 0), 1 (matching non black pixel, value > 0) or -1 (don't care). When a match is found between the kernel coefficients and the neighborhood of a pixel, the pixel value is set to 255.