\section{Eight\-SED Class Reference}
\label{class_eight_s_e_d}\index{EightSED@{EightSED}}
Danielsson's 8-connected Sequential Euclidean Distance transform.  


{\tt \#include $<$Eight\-SED.h$>$}

Inheritance diagram for Eight\-SED::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=3cm]{class_eight_s_e_d}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Eight\-SED} (const int {\bf x\-Size}, const int {\bf y\-Size}, const bool unload=true)\label{class_eight_s_e_d_cfd218de83229498aa348589db017ea2}

\item 
virtual void {\bf do\-Transform} (const unsigned char $\ast$const I)\label{class_eight_s_e_d_e4f491b87b80e7a1a433d917af000c78}

\begin{CompactList}\small\item\em calculate the distance transform \item\end{CompactList}\item 
virtual bool {\bf get\-P} (const int x, const int y, int \&px, int \&py) const 
\begin{CompactList}\small\item\em return the \char`\"{}parent\char`\"{} (border point) associated with this point \item\end{CompactList}\end{CompactItemize}
\subsection*{Protected Member Functions}
\begin{CompactItemize}
\item 
void {\bf init} (double $\ast$d)\label{class_eight_s_e_d_429c8ff2c45e8ab600c73f4db70e1b29}

\item 
void {\bf init\-Immediate} (const unsigned char $\ast$const I, double $\ast$d)\label{class_eight_s_e_d_bdb0b40e555e13ae08bd0b044c16551e}

\end{CompactItemize}
\subsection*{Protected Attributes}
\begin{CompactItemize}
\item 
P $\ast$ {\bf p}\label{class_eight_s_e_d_83878c91171338902e0fe0fb97a8c47a}

\end{CompactItemize}


\subsection{Detailed Description}
Danielsson's 8-connected Sequential Euclidean Distance transform. 

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



\subsection{Member Function Documentation}
\index{EightSED@{Eight\-SED}!getP@{getP}}
\index{getP@{getP}!EightSED@{Eight\-SED}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}virtual bool Eight\-SED::get\-P (const int {\em x}, const int {\em y}, int \& {\em px}, int \& {\em py}) const\hspace{0.3cm}{\tt  [virtual]}}\label{class_eight_s_e_d_96812fce6c340f8e08e9326a44f8e067}


return the \char`\"{}parent\char`\"{} (border point) associated with this point 

\begin{Desc}
\item[Parameters:]
\begin{description}
\item[{\em x}]is the x location \item[{\em y}]is the y location \item[{\em px}]is the parent's x location to be returned \item[{\em py}]is the parent's y location to be returned \end{description}
\end{Desc}
\begin{Desc}
\item[Returns:]true if the parent is know; otherwise false. \end{Desc}


Reimplemented from {\bf Distance\-Transform} {\rm (p.\,\pageref{class_distance_transform_96812fce6c340f8e08e9326a44f8e067})}.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
{\bf Eight\-SED.h}\item 
{\bf Eight\-SED.cpp}\end{CompactItemize}
