#include <CSED.h>
Inheritance diagram for CSED:

Public Member Functions | |
| virtual bool | getP (const int x, const int y, int &px, int &py) const |
Public Attributes | |
| __pad0__: DistanceTransform(xSize | |
| ySize | |
| integer size (height) in pixels | |
Protected Attributes | |
| P * | v |
Private Member Functions | |
| void | test (const int px, const int py, const int ox, const int oy, vector< P * > *list2, const int i) |
Static Private Member Functions | |
| static double | D (const int x, const int y) |
| returns the length of a vector | |
| static double | D (P &p) |
| returns the length of a vector | |
| static int | sgn (int i) |
| return the sign of i | |
As described in I. Ragnemalm, "Neighborhoods for distance transformations using ordered propagation," CVGIP:IU 56(3):399-409, 1992.
To produce code for the original algorithm, define the symbol ORIGINAL in the CSED .h or .cpp file and recompile. In some cases this code exhibits errors (in the form of unassigned distance transform values for some points). To produce an improved version, do not define this symbol.
|
||||||||||||||||||||
|
Reimplemented from DistanceTransform. |
|
||||||||||||||||||||||||||||
|
|
1.4.5