- Main Page
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

# EightSED Class Reference

Danielsson's 8-connected Sequential Euclidean Distance transform. More...

`#include <EightSED.h>`

Inheritance diagram for EightSED:

List of all members.

## Public Member Functions
| EightSED (const int xSize, const int ySize, const bool unload=true)
virtual 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
## Protected Member Functions
void | init (double *d)
void | initImmediate (const unsigned char *const I, double *d)
## Protected Attributes
P * | p

## Detailed Description

Danielsson's 8-connected Sequential Euclidean Distance transform.

As described in P.-E. Danielsson, "Euclidean Distance Mapping," Computer Graphics and Image Processing 14:227-248, 1980.

## Member Function Documentation

virtual bool EightSED::getP | ( | const int | x,
|  | const int | y,
|  | int & | px,
|  | int & | py
| ) | const`[virtual]`

  | return the "parent" (border point) associated with this point Parameters:
  | x | is the x location
  | y | is the y location
  | px | is the parent's x location to be returned
  | py | is the parent's y location to be returned
Returns: true if the parent is know; otherwise false. Reimplemented from DistanceTransform.

The documentation for this class was generated from the following files:

- EightSED.h
- EightSED.cpp