EHitAndMissKernel::EHitAndMissKernel

Constructs a EHitAndMissKernel object.

Namespace: Euresys::Open_eVision

[C++]

void EHitAndMissKernel(
   int startX,
   int startY,
   int endX,
   int endY
)

void EHitAndMissKernel(
   OEV_UINT32 halfSizeX,
   OEV_UINT32 halfSizeY
)

void EHitAndMissKernel(
)

Parameters

startX

The abscissa of the top leftmost element of the kernel. This value must be less than or equal to zero.

startY

The ordinate of the top leftmost element of the kernel. This value must be less than or equal to zero.

endX

The abscissa of the bottom rightmost element of the kernel. This value must be greater than or equal to zero.

endY

The ordinate of the bottom rightmost element of the kernel. This value must be greater than or equal to zero.

halfSizeX

-

halfSizeY

-

Remarks

The constructor without argument creates a centered kernel of size 3x3.

All the elements of the kernel are initialized with EHitAndMissValue_DontCare values.

If the object is constructed by specifying the halves of the kernel dimensions, the width (resp. the height) of the kernel is given by "2 * halfSizeX + 1" (resp. "2 * halfSizeY + 1"). Otherwise, the width (resp. the height) of the kernel is given by "endX - startX + 1" (resp. "endY - startY + 1").

EHitAndMissKernel.EHitAndMissKernel

Constructs a EHitAndMissKernel object.

Namespace: Euresys.Open_eVision

[C#]

void EHitAndMissKernel(
   int startX,
   int startY,
   int endX,
   int endY
)

void EHitAndMissKernel(
   uint halfSizeX,
   uint halfSizeY
)

void EHitAndMissKernel(
)

Parameters

startX

The abscissa of the top leftmost element of the kernel. This value must be less than or equal to zero.

startY

The ordinate of the top leftmost element of the kernel. This value must be less than or equal to zero.

endX

The abscissa of the bottom rightmost element of the kernel. This value must be greater than or equal to zero.

endY

The ordinate of the bottom rightmost element of the kernel. This value must be greater than or equal to zero.

halfSizeX

-

halfSizeY

-

Remarks

The constructor without argument creates a centered kernel of size 3x3.

All the elements of the kernel are initialized with DontCare values.

If the object is constructed by specifying the halves of the kernel dimensions, the width (resp. the height) of the kernel is given by "2 * halfSizeX + 1" (resp. "2 * halfSizeY + 1"). Otherwise, the width (resp. the height) of the kernel is given by "endX - startX + 1" (resp. "endY - startY + 1").