\section{Sadie\_\-TREES\_\-Ext.c File Reference}
\label{Sadie__TREES__Ext_8c}\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
{\tt \#include $<$tcl.h$>$}\par
{\tt \#include $<$tk.h$>$}\par
{\tt \#include \char`\"{}sadie.h\char`\"{}}\par
{\tt \#include \char`\"{}proto.h\char`\"{}}\par
{\tt \#include \char`\"{}sadie\_\-byte.h\char`\"{}}\par
{\tt \#include \char`\"{}sadie\_\-short.h\char`\"{}}\par
{\tt \#include \char`\"{}trees.h\char`\"{}}\par
{\tt \#include \char`\"{}mosaic.h\char`\"{}}\par
{\tt \#include \char`\"{}chain.h\char`\"{}}\par
{\tt \#include \char`\"{}histogram.h\char`\"{}}\par
{\tt \#include $<$sys/time.h$>$}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
int {\bf Sadie\_\-TREES\_\-Ext\_\-Track\-Rings\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Ext\_\-Set\-User\-Input\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Ext\_\-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}
\item 
int {\bf locx}
\item 
int {\bf locy}
\item 
int {\bf zoomx}
\item 
int {\bf zoomy}
\item 
int {\bf retain}
\item 
int $\ast$$\ast$ {\bf x\_\-array\_\-buffer}
\item 
int {\bf point}
\item 
int {\bf count\_\-point}
\end{CompactItemize}


\subsection{Function Documentation}
\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!Sadie_TREES_Ext_Init@{Sadie\_\-TREES\_\-Ext\_\-Init}}
\index{Sadie_TREES_Ext_Init@{Sadie\_\-TREES\_\-Ext\_\-Init}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Ext\_\-Init (Tcl\_\-Interp $\ast$ {\em interp})}\label{Sadie__TREES__Ext_8c_a21}




Definition at line 478 of file Sadie\_\-TREES\_\-Ext.c.

References Sadie\_\-TREES\_\-Ext\_\-Set\-User\-Input\-Cmd, and Sadie\_\-TREES\_\-Ext\_\-Track\-Rings\-Cmd.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!Sadie_TREES_Ext_SetUserInputCmd@{Sadie\_\-TREES\_\-Ext\_\-SetUserInputCmd}}
\index{Sadie_TREES_Ext_SetUserInputCmd@{Sadie\_\-TREES\_\-Ext\_\-SetUserInputCmd}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Ext\_\-Set\-User\-Input\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES__Ext_8c_a20}




Definition at line 435 of file Sadie\_\-TREES\_\-Ext.c.

References locx, locy, retain, SLEN, zoomx, and zoomy.

Referenced by Sadie\_\-TREES\_\-Ext\_\-Init.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!Sadie_TREES_Ext_TrackRingsCmd@{Sadie\_\-TREES\_\-Ext\_\-TrackRingsCmd}}
\index{Sadie_TREES_Ext_TrackRingsCmd@{Sadie\_\-TREES\_\-Ext\_\-TrackRingsCmd}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Ext\_\-Track\-Rings\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES__Ext_8c_a19}




Definition at line 67 of file Sadie\_\-TREES\_\-Ext.c.

References brshnm, list\_\-node::chain, CHAIN\_\-COMPUTE\_\-CODE, CHAIN\_\-COMPUTE\_\-COORDINATES, CHECKIMG\_\-BYTE, CHECKIMG\_\-MOSAIC\_\-INDEX, chain\_\-node::code, count, count\_\-point, IMAGE\_\-BYTE::data, delay, GETMEM\_\-BYTE, CHAIN::header, MOSAIC\_\-INDEX::hend, HIST\_\-FIND\_\-MAX\_\-NEIGH, MOSAIC\_\-INDEX::hstart, CHAIN::list, locx, locy, malloc, max, MOSAIC\_\-BYTE\_\-SUPPRESS, MOSAIC\_\-BYTE\_\-TRACKRINGS, IMAGE\_\-BYTE::nbnd, chain\_\-node::next, list\_\-node::next, MOSAIC\_\-INDEX::nlin, CHAIN::nlin, IMAGE\_\-BYTE::nlin, NORMAL, MOSAIC\_\-INDEX::npix, CHAIN::npix, IMAGE\_\-BYTE::npix, out, point, retain, list\_\-node::ring\_\-id, list\_\-node::ring\_\-type, SLEN, list\_\-node::startj, list\_\-node::startk, IMAGE\_\-BYTE::text, TLEN, chain\_\-node::valid, MOSAIC\_\-INDEX::vend, MOSAIC\_\-INDEX::voffset, MOSAIC\_\-INDEX::vstart, x\_\-array\_\-buffer, y, zoomx, and zoomy.

Referenced by Sadie\_\-TREES\_\-Ext\_\-Init.

\subsection{Variable Documentation}
\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!bias@{bias}}
\index{bias@{bias}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} bias}\label{Sadie__TREES__Ext_8c_a5}




Definition at line 26 of file Sadie\_\-TREES\_\-Ext.c.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!count@{count}}
\index{count@{count}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double$\ast$ count}\label{Sadie__TREES__Ext_8c_a3}




Definition at line 24 of file Sadie\_\-TREES\_\-Ext.c.

Referenced by Sadie\_\-TREES\_\-Ext\_\-Track\-Rings\-Cmd.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!count_point@{count\_\-point}}
\index{count_point@{count\_\-point}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int count\_\-point}\label{Sadie__TREES__Ext_8c_a18}




Definition at line 57 of file Sadie\_\-TREES\_\-Ext.c.

Referenced by Sadie\_\-TREES\_\-Ext\_\-Track\-Rings\-Cmd.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!csize@{csize}}
\index{csize@{csize}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}short csize}\label{Sadie__TREES__Ext_8c_a1}




Definition at line 22 of file Sadie\_\-TREES\_\-Ext.c.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!gain@{gain}}
\index{gain@{gain}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} gain}\label{Sadie__TREES__Ext_8c_a4}




Definition at line 25 of file Sadie\_\-TREES\_\-Ext.c.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!gbrk@{gbrk}}
\index{gbrk@{gbrk}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} gbrk[2][4]}\label{Sadie__TREES__Ext_8c_a9}




Definition at line 30 of file Sadie\_\-TREES\_\-Ext.c.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!gmax@{gmax}}
\index{gmax@{gmax}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} gmax}\label{Sadie__TREES__Ext_8c_a7}




Definition at line 28 of file Sadie\_\-TREES\_\-Ext.c.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!gmin@{gmin}}
\index{gmin@{gmin}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} gmin}\label{Sadie__TREES__Ext_8c_a6}




Definition at line 27 of file Sadie\_\-TREES\_\-Ext.c.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!locx@{locx}}
\index{locx@{locx}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int locx}\label{Sadie__TREES__Ext_8c_a11}




Definition at line 41 of file Sadie\_\-TREES\_\-Ext.c.

Referenced by Sadie\_\-TREES\_\-Ext\_\-Set\-User\-Input\-Cmd, and Sadie\_\-TREES\_\-Ext\_\-Track\-Rings\-Cmd.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!locy@{locy}}
\index{locy@{locy}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int locy}\label{Sadie__TREES__Ext_8c_a12}




Definition at line 42 of file Sadie\_\-TREES\_\-Ext.c.

Referenced by Sadie\_\-TREES\_\-Ext\_\-Set\-User\-Input\-Cmd, and Sadie\_\-TREES\_\-Ext\_\-Track\-Rings\-Cmd.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!nlev@{nlev}}
\index{nlev@{nlev}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}short nlev}\label{Sadie__TREES__Ext_8c_a0}




Definition at line 21 of file Sadie\_\-TREES\_\-Ext.c.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!point@{point}}
\index{point@{point}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int point}\label{Sadie__TREES__Ext_8c_a17}




Definition at line 56 of file Sadie\_\-TREES\_\-Ext.c.

Referenced by Sadie\_\-TREES\_\-Ext\_\-Track\-Rings\-Cmd.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!retain@{retain}}
\index{retain@{retain}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int retain}\label{Sadie__TREES__Ext_8c_a15}




Definition at line 45 of file Sadie\_\-TREES\_\-Ext.c.

Referenced by Sadie\_\-TREES\_\-Ext\_\-Set\-User\-Input\-Cmd, and Sadie\_\-TREES\_\-Ext\_\-Track\-Rings\-Cmd.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!table@{table}}
\index{table@{table}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL}$\ast$ table}\label{Sadie__TREES__Ext_8c_a10}




Definition at line 31 of file Sadie\_\-TREES\_\-Ext.c.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!thresh@{thresh}}
\index{thresh@{thresh}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} thresh}\label{Sadie__TREES__Ext_8c_a8}




Definition at line 29 of file Sadie\_\-TREES\_\-Ext.c.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!weight@{weight}}
\index{weight@{weight}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double weight}\label{Sadie__TREES__Ext_8c_a2}




Definition at line 23 of file Sadie\_\-TREES\_\-Ext.c.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!x_array_buffer@{x\_\-array\_\-buffer}}
\index{x_array_buffer@{x\_\-array\_\-buffer}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int$\ast$$\ast$ x\_\-array\_\-buffer}\label{Sadie__TREES__Ext_8c_a16}




Definition at line 55 of file Sadie\_\-TREES\_\-Ext.c.

Referenced by Sadie\_\-TREES\_\-Ext\_\-Track\-Rings\-Cmd.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!zoomx@{zoomx}}
\index{zoomx@{zoomx}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int zoomx}\label{Sadie__TREES__Ext_8c_a13}




Definition at line 43 of file Sadie\_\-TREES\_\-Ext.c.

Referenced by Sadie\_\-TREES\_\-Ext\_\-Set\-User\-Input\-Cmd, and Sadie\_\-TREES\_\-Ext\_\-Track\-Rings\-Cmd.\index{Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}!zoomy@{zoomy}}
\index{zoomy@{zoomy}!Sadie_TREES_Ext.c@{Sadie\_\-TREES\_\-Ext.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int zoomy}\label{Sadie__TREES__Ext_8c_a14}




Definition at line 44 of file Sadie\_\-TREES\_\-Ext.c.

Referenced by Sadie\_\-TREES\_\-Ext\_\-Set\-User\-Input\-Cmd, and Sadie\_\-TREES\_\-Ext\_\-Track\-Rings\-Cmd.