CamMorphoMathsKernel Struct Reference

This is the parameter structure for the morpho maths kernel. More...

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


Detailed Description

This is the parameter structure for the morpho maths kernel.

Basically, it includes the structural elements for dilation and erosion as well as options for the full kernel.


The documentation for this struct was generated from the following file:
Generated on Thu Jan 3 16:41:07 2008 for Camellia by  doxygen 1.5.3