EHitAndMissKernel::EHitAndMissKernel

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

The half of the kernel width minus 1. This value must be greater than zero.

halfSizeY

The half of the kernel height minus 1. This value must be greater than zero.

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

The half of the kernel width minus 1. This value must be greater than zero.

halfSizeY

The half of the kernel height minus 1. This value must be greater than zero.

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

Constructs a EHitAndMissKernel object.

Module: open_evision

[Python]

__init__(
    startX: int
    startY: int
    endX: int
    endY: int
) -> None

__init__(
    halfSizeX: int
    halfSizeY: int
) -> None

__init__() -> None

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

The half of the kernel width minus 1. This value must be greater than zero.

halfSizeY

The half of the kernel height minus 1. This value must be greater than zero.

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