\section{Sadie\_\-Tools.c File Reference}
\label{Sadie__Tools_8c}\index{Sadie_Tools.c@{Sadie\_\-Tools.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\_\-Tools\_\-Destripe\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-Tools\_\-Cont\-Map\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-Tools\_\-Relief\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-Tools\_\-Scatter\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-Tools\_\-RMSCmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-Tools\_\-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_Tools.c@{Sadie\_\-Tools.c}!Sadie_Tools_ContMapCmd@{Sadie\_\-Tools\_\-ContMapCmd}}
\index{Sadie_Tools_ContMapCmd@{Sadie\_\-Tools\_\-ContMapCmd}!Sadie_Tools.c@{Sadie\_\-Tools.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-Tools\_\-Cont\-Map\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__Tools_8c_a13}




Definition at line 207 of file Sadie\_\-Tools.c.

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

Referenced by Sadie\_\-Tools\_\-Init.\index{Sadie_Tools.c@{Sadie\_\-Tools.c}!Sadie_Tools_DestripeCmd@{Sadie\_\-Tools\_\-DestripeCmd}}
\index{Sadie_Tools_DestripeCmd@{Sadie\_\-Tools\_\-DestripeCmd}!Sadie_Tools.c@{Sadie\_\-Tools.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-Tools\_\-Destripe\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__Tools_8c_a12}




Definition at line 62 of file Sadie\_\-Tools.c.

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

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




Definition at line 672 of file Sadie\_\-Tools.c.

References Sadie\_\-Tools\_\-Cont\-Map\-Cmd, Sadie\_\-Tools\_\-Destripe\-Cmd, Sadie\_\-Tools\_\-Relief\-Cmd, Sadie\_\-Tools\_\-RMSCmd, and Sadie\_\-Tools\_\-Scatter\-Cmd.\index{Sadie_Tools.c@{Sadie\_\-Tools.c}!Sadie_Tools_ReliefCmd@{Sadie\_\-Tools\_\-ReliefCmd}}
\index{Sadie_Tools_ReliefCmd@{Sadie\_\-Tools\_\-ReliefCmd}!Sadie_Tools.c@{Sadie\_\-Tools.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-Tools\_\-Relief\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__Tools_8c_a14}




Definition at line 318 of file Sadie\_\-Tools.c.

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

Referenced by Sadie\_\-Tools\_\-Init.\index{Sadie_Tools.c@{Sadie\_\-Tools.c}!Sadie_Tools_RMSCmd@{Sadie\_\-Tools\_\-RMSCmd}}
\index{Sadie_Tools_RMSCmd@{Sadie\_\-Tools\_\-RMSCmd}!Sadie_Tools.c@{Sadie\_\-Tools.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-Tools\_\-RMSCmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__Tools_8c_a16}




Definition at line 597 of file Sadie\_\-Tools.c.

References RMSDIFF, and SLEN.

Referenced by Sadie\_\-Tools\_\-Init.\index{Sadie_Tools.c@{Sadie\_\-Tools.c}!Sadie_Tools_ScatterCmd@{Sadie\_\-Tools\_\-ScatterCmd}}
\index{Sadie_Tools_ScatterCmd@{Sadie\_\-Tools\_\-ScatterCmd}!Sadie_Tools.c@{Sadie\_\-Tools.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-Tools\_\-Scatter\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__Tools_8c_a15}




Definition at line 447 of file Sadie\_\-Tools.c.

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

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

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




Definition at line 34 of file Sadie\_\-Tools.c.\index{Sadie_Tools.c@{Sadie\_\-Tools.c}!count@{count}}
\index{count@{count}!Sadie_Tools.c@{Sadie\_\-Tools.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double$\ast$ count}\label{Sadie__Tools_8c_a4}




Definition at line 32 of file Sadie\_\-Tools.c.\index{Sadie_Tools.c@{Sadie\_\-Tools.c}!csize@{csize}}
\index{csize@{csize}!Sadie_Tools.c@{Sadie\_\-Tools.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}short csize}\label{Sadie__Tools_8c_a2}




Definition at line 30 of file Sadie\_\-Tools.c.\index{Sadie_Tools.c@{Sadie\_\-Tools.c}!gain@{gain}}
\index{gain@{gain}!Sadie_Tools.c@{Sadie\_\-Tools.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} gain}\label{Sadie__Tools_8c_a5}




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




Definition at line 38 of file Sadie\_\-Tools.c.\index{Sadie_Tools.c@{Sadie\_\-Tools.c}!gmax@{gmax}}
\index{gmax@{gmax}!Sadie_Tools.c@{Sadie\_\-Tools.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} gmax}\label{Sadie__Tools_8c_a8}




Definition at line 36 of file Sadie\_\-Tools.c.\index{Sadie_Tools.c@{Sadie\_\-Tools.c}!gmin@{gmin}}
\index{gmin@{gmin}!Sadie_Tools.c@{Sadie\_\-Tools.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} gmin}\label{Sadie__Tools_8c_a7}




Definition at line 35 of file Sadie\_\-Tools.c.\index{Sadie_Tools.c@{Sadie\_\-Tools.c}!nlev@{nlev}}
\index{nlev@{nlev}!Sadie_Tools.c@{Sadie\_\-Tools.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}short nlev}\label{Sadie__Tools_8c_a1}




Definition at line 29 of file Sadie\_\-Tools.c.\index{Sadie_Tools.c@{Sadie\_\-Tools.c}!table@{table}}
\index{table@{table}!Sadie_Tools.c@{Sadie\_\-Tools.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL}$\ast$ table}\label{Sadie__Tools_8c_a11}




Definition at line 39 of file Sadie\_\-Tools.c.\index{Sadie_Tools.c@{Sadie\_\-Tools.c}!thresh@{thresh}}
\index{thresh@{thresh}!Sadie_Tools.c@{Sadie\_\-Tools.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} thresh}\label{Sadie__Tools_8c_a9}




Definition at line 37 of file Sadie\_\-Tools.c.\index{Sadie_Tools.c@{Sadie\_\-Tools.c}!weight@{weight}}
\index{weight@{weight}!Sadie_Tools.c@{Sadie\_\-Tools.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double weight}\label{Sadie__Tools_8c_a3}




Definition at line 31 of file Sadie\_\-Tools.c.