\section{Sadie\_\-Classify.c File Reference}
\label{Sadie__Classify_8c}\index{Sadie_Classify.c@{Sadie\_\-Classify.c}}
{\tt \#include $<$tcl.h$>$}\par
{\tt \#include $<$tk.h$>$}\par
{\tt \#include $<$stdio.h$>$}\par
{\tt \#include $<$string.h$>$}\par
{\tt \#include \char`\"{}sadie.h\char`\"{}}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
int {\bf Sadie\_\-Classify\_\-Lvl\-Slice\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-Classify\_\-Min\-Dist\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-Classify\_\-Max\-Like\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-Classify\_\-Cluster\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-Classify\_\-Segment\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-Classify\_\-Sig\-Map\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-Classify\_\-Init} (Tcl\_\-Interp $\ast$interp)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
short {\bf nlev}
\item 
short {\bf csize}
\item 
double {\bf weight}
\item 
double $\ast$ {\bf count}
\item 
{\bf PIXEL} {\bf gain}
\item 
{\bf PIXEL} {\bf bias}
\item 
{\bf PIXEL} {\bf gmin}
\item 
{\bf PIXEL} {\bf gmax}
\item 
{\bf PIXEL} {\bf thresh}
\item 
{\bf PIXEL} {\bf gbrk} [2][4]
\item 
{\bf PIXEL} $\ast$ {\bf table}
\end{CompactItemize}


\subsection{Function Documentation}
\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!Sadie_Classify_ClusterCmd@{Sadie\_\-Classify\_\-ClusterCmd}}
\index{Sadie_Classify_ClusterCmd@{Sadie\_\-Classify\_\-ClusterCmd}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-Classify\_\-Cluster\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__Classify_8c_a15}




Definition at line 670 of file Sadie\_\-Classify.c.

References CHECKIMG, CLUSTER, min, SLEN, and IMAGE::text.

Referenced by Sadie\_\-Classify\_\-Init.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!Sadie_Classify_Init@{Sadie\_\-Classify\_\-Init}}
\index{Sadie_Classify_Init@{Sadie\_\-Classify\_\-Init}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-Classify\_\-Init (Tcl\_\-Interp $\ast$ {\em interp})}\label{Sadie__Classify_8c_a18}




Definition at line 1081 of file Sadie\_\-Classify.c.

References Sadie\_\-Classify\_\-Cluster\-Cmd, Sadie\_\-Classify\_\-Lvl\-Slice\-Cmd, Sadie\_\-Classify\_\-Max\-Like\-Cmd, Sadie\_\-Classify\_\-Min\-Dist\-Cmd, Sadie\_\-Classify\_\-Segment\-Cmd, and Sadie\_\-Classify\_\-Sig\-Map\-Cmd.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!Sadie_Classify_LvlSliceCmd@{Sadie\_\-Classify\_\-LvlSliceCmd}}
\index{Sadie_Classify_LvlSliceCmd@{Sadie\_\-Classify\_\-LvlSliceCmd}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-Classify\_\-Lvl\-Slice\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__Classify_8c_a12}




Definition at line 61 of file Sadie\_\-Classify.c.

References CHECKIMG, ROI::dev, gmax, gmin, LVLSLICE, malloc, ROI::mean, MESSAGE, IMAGE::nbnd, ROI::next, ROI::nval, IMAGE::regions, SLEN, IMAGE::text, and thresh.

Referenced by Sadie\_\-Classify\_\-Init.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!Sadie_Classify_MaxLikeCmd@{Sadie\_\-Classify\_\-MaxLikeCmd}}
\index{Sadie_Classify_MaxLikeCmd@{Sadie\_\-Classify\_\-MaxLikeCmd}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-Classify\_\-Max\-Like\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__Classify_8c_a14}




Definition at line 470 of file Sadie\_\-Classify.c.

References CHECKIMG, ROI::cov, malloc, MAXLIKE, MESSAGE, IMAGE::nbnd, ROI::next, ROI::nval, IMAGE::regions, SLEN, and IMAGE::text.

Referenced by Sadie\_\-Classify\_\-Init.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!Sadie_Classify_MinDistCmd@{Sadie\_\-Classify\_\-MinDistCmd}}
\index{Sadie_Classify_MinDistCmd@{Sadie\_\-Classify\_\-MinDistCmd}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-Classify\_\-Min\-Dist\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__Classify_8c_a13}




Definition at line 260 of file Sadie\_\-Classify.c.

References CHECKIMG, ROI::cov, malloc, ROI::mean, MESSAGE, MINDIST, IMAGE::nbnd, ROI::next, ROI::nval, IMAGE::regions, SLEN, and IMAGE::text.

Referenced by Sadie\_\-Classify\_\-Init.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!Sadie_Classify_SegmentCmd@{Sadie\_\-Classify\_\-SegmentCmd}}
\index{Sadie_Classify_SegmentCmd@{Sadie\_\-Classify\_\-SegmentCmd}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-Classify\_\-Segment\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__Classify_8c_a16}




Definition at line 848 of file Sadie\_\-Classify.c.

References CHECKIMG, SEGMENT, SLEN, IMAGE::text, and thresh.

Referenced by Sadie\_\-Classify\_\-Init.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!Sadie_Classify_SigMapCmd@{Sadie\_\-Classify\_\-SigMapCmd}}
\index{Sadie_Classify_SigMapCmd@{Sadie\_\-Classify\_\-SigMapCmd}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-Classify\_\-Sig\-Map\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__Classify_8c_a17}




Definition at line 982 of file Sadie\_\-Classify.c.

References CHECKIMG, SIGMAP, SLEN, and IMAGE::text.

Referenced by Sadie\_\-Classify\_\-Init.

\subsection{Variable Documentation}
\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!bias@{bias}}
\index{bias@{bias}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} bias}\label{Sadie__Classify_8c_a6}




Definition at line 33 of file Sadie\_\-Classify.c.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!count@{count}}
\index{count@{count}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double$\ast$ count}\label{Sadie__Classify_8c_a4}




Definition at line 31 of file Sadie\_\-Classify.c.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!csize@{csize}}
\index{csize@{csize}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}short csize}\label{Sadie__Classify_8c_a2}




Definition at line 29 of file Sadie\_\-Classify.c.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!gain@{gain}}
\index{gain@{gain}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} gain}\label{Sadie__Classify_8c_a5}




Definition at line 32 of file Sadie\_\-Classify.c.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!gbrk@{gbrk}}
\index{gbrk@{gbrk}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} gbrk[2][4]}\label{Sadie__Classify_8c_a10}




Definition at line 37 of file Sadie\_\-Classify.c.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!gmax@{gmax}}
\index{gmax@{gmax}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} gmax}\label{Sadie__Classify_8c_a8}




Definition at line 35 of file Sadie\_\-Classify.c.

Referenced by Sadie\_\-Classify\_\-Lvl\-Slice\-Cmd.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!gmin@{gmin}}
\index{gmin@{gmin}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} gmin}\label{Sadie__Classify_8c_a7}




Definition at line 34 of file Sadie\_\-Classify.c.

Referenced by Sadie\_\-Classify\_\-Lvl\-Slice\-Cmd.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!nlev@{nlev}}
\index{nlev@{nlev}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}short nlev}\label{Sadie__Classify_8c_a1}




Definition at line 28 of file Sadie\_\-Classify.c.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!table@{table}}
\index{table@{table}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL}$\ast$ table}\label{Sadie__Classify_8c_a11}




Definition at line 38 of file Sadie\_\-Classify.c.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!thresh@{thresh}}
\index{thresh@{thresh}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} thresh}\label{Sadie__Classify_8c_a9}




Definition at line 36 of file Sadie\_\-Classify.c.

Referenced by Sadie\_\-Classify\_\-Lvl\-Slice\-Cmd, and Sadie\_\-Classify\_\-Segment\-Cmd.\index{Sadie_Classify.c@{Sadie\_\-Classify.c}!weight@{weight}}
\index{weight@{weight}!Sadie_Classify.c@{Sadie\_\-Classify.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double weight}\label{Sadie__Classify_8c_a3}




Definition at line 30 of file Sadie\_\-Classify.c.