#include <camellia.h>
Public Member Functions | |
CamMorphoMathsKernel () | |
Default constructor. | |
bool | set_dilate (int x, int y, int val) |
Set an element of the dilation kernel. | |
int | get_dilate (int x, int y) |
Get an element from the dilation kernel. | |
bool | set_erode (int x, int y, int val) |
Set an element of the erosion kernel. | |
int | get_erode (int x, int y) |
Get an element from the erosion kernel. | |
Data Fields | |
int | dilationStructElt [CAM_MM_NEIGHB][CAM_MM_NEIGHB] |
The structural element used for all dilation operations. | |
int | erosionStructElt [CAM_MM_NEIGHB][CAM_MM_NEIGHB] |
The structural element used for all erosion operations. | |
int | source1 |
CAM_MM_DILATED | CAM_MM_ERODED | CAM_MM_ORIGINAL. | |
int | source2 |
CAM_MM_DILATED | CAM_MM_ERODED | CAM_MM_ORIGINAL. | |
int | operation |
CAM_MM_SUBSTRACTION | CAM_MM_MULTIPLEX | CAM_MM_THINNING | CAM_MM_THICKENING. |
Basically, it includes the structural elements for dilation and erosion as well as options for the full kernel.