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

Public Member Functions | |
| DijkstraVectors (const int xSize, const int ySize, const bool unload=true) | |
| construct a distance transform object for an image of size (xSize,ySize). | |
| void | doTransform (const unsigned char *const I) |
| calculate the distance transform | |
| virtual bool | getP (const int x, const int y, int &px, int &py) const |
| return the "parent" (border point) associated with this point | |
| bool | getP (const int x, const int y, int &px, int &py, const int which) const |
Private Member Functions | |
| void | check (double *d, const int center, const int X, const int Y, set< SetElement *, ltSetElement > &s) |
Private Attributes | |
| vector< SetElement * > * | p |
Classes | |
| struct | ltSetElement |
| strict weak ordering on SetElement's. More... | |
| class | SetElement |
| Elements of a set class. More... | |
|
||||||||||||||||
|
construct a distance transform object for an image of size (xSize,ySize). if 'unload' is true, transforms that use ratios of integers should convert their integer results to the actual double values (of the ratios). |
|
||||||||||||||||||||
|
return the "parent" (border point) associated with this point
Reimplemented from DistanceTransform. |
|
|
stores vectors of parent locations (border points) & the corresponding distance assignments. used as a 2d array. |
1.4.5