#include <StructuredElement.hpp>
Inheritance diagram for StructuredElement:
Purpose: Morphological with a Strutured Element.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
StructuredElement () | |
StructuredElement (int x0, int y0, int w, int h) | |
StructuredElement (int x0, int y0, AnImage *im) | |
virtual | ~StructuredElement () |
StructuredElement * | copy () |
void | setData (int x0, int y0, AnImage *im) |
bool | isLarge () |
int | getWidth () |
int | getHeight () |
int | getKernelSize () |
void | getKernel (int index, int *x, int *y) |
int | getRemoveSize (int idir) |
void | getRemoveKernel (int idir, int index, int *x, int *y) |
int | getAddSize (int idir) |
void | getAddKernel (int idir, int index, int *x, int *y) |
int | getX0 () |
int | getY0 () |
int | get (int x, int y) |
void | set (int x, int y, int value) |
void | set (int value) |
virtual void | report (FILE *file) |
Protected Methods | |
void | init () |
Protected Attributes | |
int | xc |
int | yc |
int | width |
int | height |
bool | largeElement |
int | kernelSize |
int * | xk |
int * | yk |
int | nRemove [4] |
int * | xr [4] |
int * | yr [4] |
int | nAdd [4] |
int * | xa [4] |
int * | ya [4] |
AnImage * | data |