\section{Chamfer2D\_\-5x5 Class Reference}
\label{class_chamfer2_d__5x5}\index{Chamfer2D_5x5@{Chamfer2D\_\-5x5}}
Borgefors' Chamfer distance using a 5x5 window.  


{\tt \#include $<$Chamfer2D\_\-5x5.h$>$}

Inheritance diagram for Chamfer2D\_\-5x5::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_chamfer2_d__5x5}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
{\bf Chamfer2D\_\-5x5} (const int {\bf x\-Size}, const int {\bf y\-Size}, const bool unload=true)\label{class_chamfer2_d__5x5_0e2623c69b5ff35a7bf6b11c91c0bd30}

\item 
void {\bf do\-Transform} (const unsigned char $\ast$const I)
\item 
void {\bf do\-Transform} (const unsigned char $\ast$const I, const int a, const int b, const int c, const bool half\-Is\-Zero)\label{class_chamfer2_d__5x5_38b1b5ad17b4de653c4f274d9a7df910}

\end{CompactItemize}
\subsection*{Private Member Functions}
\begin{CompactItemize}
\item 
void {\bf border\-Check} (const unsigned char $\ast$const I)\label{class_chamfer2_d__5x5_422e351cfd8d06d30aa747f996db1a4a}

\end{CompactItemize}


\subsection{Detailed Description}
Borgefors' Chamfer distance using a 5x5 window. 



\subsection{Member Function Documentation}
\index{Chamfer2D_5x5@{Chamfer2D\_\-5x5}!doTransform@{doTransform}}
\index{doTransform@{doTransform}!Chamfer2D_5x5@{Chamfer2D\_\-5x5}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void Chamfer2D\_\-5x5::do\-Transform (const unsigned char $\ast$const  {\em I})\hspace{0.3cm}{\tt  [virtual]}}\label{class_chamfer2_d__5x5_e4f491b87b80e7a1a433d917af000c78}


this method simply calls the other do\-Transform method with the following arguments: do\-Transform(I, 5, 7, 11, true). 

Implements {\bf Distance\-Transform} {\rm (p.\,\pageref{class_distance_transform_720fbb5d558543a7a48c668315118b91})}.

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