Class that defines a kernel for the morphological hit-and-miss operations. More...


Public Member Functions | |
| EHitAndMissKernel (int startX, int startY, int endX, int endY) | |
| Constructs a EHitAndMissKernel object. | |
| EHitAndMissKernel (uint halfSizeX, uint halfSizeY) | |
| EHitAndMissKernel () | |
| Constructs a EHitAndMissKernel object. | |
| void | SetSize (int startX, int startY, int endX, int endY) |
| Modify the size of the kernel. | |
| void | SetSize (uint halfSizeX, uint halfSizeY) |
| Modify the size of the kernel. | |
| void | SetValue (int x, int y, eVision.EHitAndMissValue value) |
| Sets the value of an element of the kernel at a given coordinate. | |
| eVision.EHitAndMissValue | GetValue (int x, int y) |
| Returns the value of an element of the kernel at a given coordinate. | |
Properties | |
| int | StartX [get] |
| Returns the abscissa of the leftmost element of the kernel. | |
| int | StartY [get] |
| Returns the ordinate of the toptmost element of the kernel. | |
| int | EndX [get] |
| Returns the abscissa of the rightmost element of the kernel. | |
| int | EndY [get] |
| Returns the abscissa of the bottommost element of the kernel. | |
Class that defines a kernel for the morphological hit-and-miss operations.
License(s): None
| eVision.EHitAndMissKernel.EHitAndMissKernel | ( | int | startX, |
| int | startY, | ||
| int | endX, | ||
| int | endY ) |
Constructs a EHitAndMissKernel object.
| 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. |
The constructor without argument creates a centered kernel of size 3x3.
All the elements of the kernel are initialized with EHitAndMissValue.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).
| eVision.EHitAndMissKernel.EHitAndMissKernel | ( | uint | halfSizeX, |
| uint | halfSizeY ) |
| 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. |
| eVision.EHitAndMissKernel.EHitAndMissKernel | ( | ) |
Constructs a EHitAndMissKernel object.
The constructor without argument creates a centered kernel of size 3x3.
All the elements of the kernel are initialized with EHitAndMissValue.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).
| eVision.EHitAndMissValue eVision.EHitAndMissKernel.GetValue | ( | int | x, |
| int | y ) |
Returns the value of an element of the kernel at a given coordinate.
| x | The abscissa of the element. |
| y | The ordinate of the element. |
| void eVision.EHitAndMissKernel.SetSize | ( | int | startX, |
| int | startY, | ||
| int | endX, | ||
| int | endY ) |
Modify the size of the kernel.
| 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. |
All the elements of the kernel are initialized with EHitAndMissValue.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).
| void eVision.EHitAndMissKernel.SetSize | ( | uint | halfSizeX, |
| uint | halfSizeY ) |
Modify the size of the kernel.
| 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. |
All the elements of the kernel are initialized with EHitAndMissValue.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).
| void eVision.EHitAndMissKernel.SetValue | ( | int | x, |
| int | y, | ||
| eVision.EHitAndMissValue | value ) |
Sets the value of an element of the kernel at a given coordinate.
| x | The abscissa of the element. |
| y | The ordinate of the element. |
| value | The value of the element. |
|
get |
Returns the abscissa of the rightmost element of the kernel.
|
get |
Returns the abscissa of the bottommost element of the kernel.
|
get |
Returns the abscissa of the leftmost element of the kernel.
|
get |
Returns the ordinate of the toptmost element of the kernel.