\section{Sadie\_\-TREES.c File Reference}
\label{Sadie__TREES_8c}\index{Sadie_TREES.c@{Sadie\_\-TREES.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
\subsection*{Functions}
\begin{CompactItemize}
\item 
int {\bf Sadie\_\-TREES\_\-Get\-Range\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Byte\-Open\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Byte\-Save\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Byte\-Close\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Mosaic\-Index\-Open\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Mosaic\-Index\-Save\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Mosaic\-Index\-Close\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Chain\-Close\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Create\-Mosaic\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Byte\-Mosaic\-Resamp\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Mosaic\-Import\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Byte\-Mosaic\-Export\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Chain2Disk\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Disk2Chain\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Scale\-Chain\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Display\-Rings\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Compute\-Indices\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Display\-Part\-Rings\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Synthesize\-Display\-Ring\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Synthesize\-Zoom\-Ring\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Update\-ROICmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Chain\_\-Ring\-Widths\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Synthesize\-Insert\-Ring\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Remove\-Ring\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Un\-Remove\-Ring\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Query\-Ring\-Type\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Query\-Boundary\-Id\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Mosaic2Mosaic\-Resampl\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-Index\-Resampl\-Cmd} (Client\-Data client\_\-data, Tcl\_\-Interp $\ast$interp, int argc, char $\ast$argv[$\,$])
\item 
int {\bf Sadie\_\-TREES\_\-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 
{\bf PIXEL} {\bf globarray\_\-original} [50][100]
\item 
{\bf PIXEL} {\bf globarray\_\-percent} [50][100]
\item 
{\bf PIXEL} {\bf globarray\_\-normalized} [50][100]
\item 
int {\bf globframecount}
\item 
int {\bf globfreqcount}
\end{CompactItemize}


\subsection{Function Documentation}
\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_ByteCloseCmd@{Sadie\_\-TREES\_\-ByteCloseCmd}}
\index{Sadie_TREES_ByteCloseCmd@{Sadie\_\-TREES\_\-ByteCloseCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Byte\-Close\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a19}




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

References RELIMG\_\-BYTE, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_ByteMosaicExportCmd@{Sadie\_\-TREES\_\-ByteMosaicExportCmd}}
\index{Sadie_TREES_ByteMosaicExportCmd@{Sadie\_\-TREES\_\-ByteMosaicExportCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Byte\-Mosaic\-Export\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a27}




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

References MOSAIC\_\-BYTE\_\-EXPORT, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_ByteMosaicResampCmd@{Sadie\_\-TREES\_\-ByteMosaicResampCmd}}
\index{Sadie_TREES_ByteMosaicResampCmd@{Sadie\_\-TREES\_\-ByteMosaicResampCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Byte\-Mosaic\-Resamp\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a25}




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

References MOSAIC\_\-BYTE\_\-RESAMPL, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_ByteOpenCmd@{Sadie\_\-TREES\_\-ByteOpenCmd}}
\index{Sadie_TREES_ByteOpenCmd@{Sadie\_\-TREES\_\-ByteOpenCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Byte\-Open\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a17}




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

References BYTEDISK2IMG, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_ByteSaveCmd@{Sadie\_\-TREES\_\-ByteSaveCmd}}
\index{Sadie_TREES_ByteSaveCmd@{Sadie\_\-TREES\_\-ByteSaveCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Byte\-Save\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a18}




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

References BYTEIMG2DISK, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_Chain2DiskCmd@{Sadie\_\-TREES\_\-Chain2DiskCmd}}
\index{Sadie_TREES_Chain2DiskCmd@{Sadie\_\-TREES\_\-Chain2DiskCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Chain2Disk\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a28}




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

References CHAIN2DISK, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_Chain_RingWidthsCmd@{Sadie\_\-TREES\_\-Chain\_\-RingWidthsCmd}}
\index{Sadie_TREES_Chain_RingWidthsCmd@{Sadie\_\-TREES\_\-Chain\_\-RingWidthsCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Chain\_\-Ring\-Widths\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a37}




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

References CHAIN\_\-RINGWIDTHS, MAXPROFILE, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_ChainCloseCmd@{Sadie\_\-TREES\_\-ChainCloseCmd}}
\index{Sadie_TREES_ChainCloseCmd@{Sadie\_\-TREES\_\-ChainCloseCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Chain\-Close\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a23}




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

References RELMEM\_\-CHAIN, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_ComputeIndicesCmd@{Sadie\_\-TREES\_\-ComputeIndicesCmd}}
\index{Sadie_TREES_ComputeIndicesCmd@{Sadie\_\-TREES\_\-ComputeIndicesCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Compute\-Indices\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a32}




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

References DIVSER, malloc, SLEN, and SPLINE.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_CreateMosaicCmd@{Sadie\_\-TREES\_\-CreateMosaicCmd}}
\index{Sadie_TREES_CreateMosaicCmd@{Sadie\_\-TREES\_\-CreateMosaicCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Create\-Mosaic\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a24}




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

References bias, CREATETREESMOSAIC, gain, gmin, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_Disk2ChainCmd@{Sadie\_\-TREES\_\-Disk2ChainCmd}}
\index{Sadie_TREES_Disk2ChainCmd@{Sadie\_\-TREES\_\-Disk2ChainCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Disk2Chain\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a29}




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

References DISK2CHAIN, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_DisplayPartRingsCmd@{Sadie\_\-TREES\_\-DisplayPartRingsCmd}}
\index{Sadie_TREES_DisplayPartRingsCmd@{Sadie\_\-TREES\_\-DisplayPartRingsCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Display\-Part\-Rings\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a33}




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

References ADDED, list\_\-node::chain, CHAIN\_\-COMPUTE\_\-COORDINATES, chain\_\-node::code, CHAIN::list, chain\_\-node::next, list\_\-node::next, NORMAL, REMOVED, list\_\-node::ring\_\-id, list\_\-node::ring\_\-type, list\_\-node::startj, and list\_\-node::startk.

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




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

References ADDED, list\_\-node::chain, CHAIN\_\-COMPUTE\_\-COORDINATES, chain\_\-node::code, CHAIN::list, list\_\-node::next, chain\_\-node::next, NORMAL, REMOVED, list\_\-node::ring\_\-id, list\_\-node::ring\_\-type, SLEN, list\_\-node::startj, and list\_\-node::startk.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_GetRangeCmd@{Sadie\_\-TREES\_\-GetRangeCmd}}
\index{Sadie_TREES_GetRangeCmd@{Sadie\_\-TREES\_\-GetRangeCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Get\-Range\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a16}




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

References CHECKIMG, IMAGE::gmax, IMAGE::gmin, RANGE, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_IndexResamplCmd@{Sadie\_\-TREES\_\-IndexResamplCmd}}
\index{Sadie_TREES_IndexResamplCmd@{Sadie\_\-TREES\_\-IndexResamplCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Index\-Resampl\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a44}




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

References INDEX\_\-RESAMPL, and SLEN.

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




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

References Sadie\_\-TREES\_\-Byte\-Close\-Cmd, Sadie\_\-TREES\_\-Byte\-Mosaic\-Export\-Cmd, Sadie\_\-TREES\_\-Byte\-Mosaic\-Resamp\-Cmd, Sadie\_\-TREES\_\-Byte\-Open\-Cmd, Sadie\_\-TREES\_\-Byte\-Save\-Cmd, Sadie\_\-TREES\_\-Chain2Disk\-Cmd, Sadie\_\-TREES\_\-Chain\_\-Ring\-Widths\-Cmd, Sadie\_\-TREES\_\-Chain\-Close\-Cmd, Sadie\_\-TREES\_\-Compute\-Indices\-Cmd, Sadie\_\-TREES\_\-Create\-Mosaic\-Cmd, Sadie\_\-TREES\_\-Disk2Chain\-Cmd, Sadie\_\-TREES\_\-Display\-Part\-Rings\-Cmd, Sadie\_\-TREES\_\-Display\-Rings\-Cmd, Sadie\_\-TREES\_\-Ext\_\-Init, Sadie\_\-TREES\_\-Get\-Range\-Cmd, Sadie\_\-TREES\_\-Index\-Resampl\-Cmd, Sadie\_\-TREES\_\-Mosaic2Mosaic\-Resampl\-Cmd, Sadie\_\-TREES\_\-Mosaic\-Import\-Cmd, Sadie\_\-TREES\_\-Mosaic\-Index\-Close\-Cmd, Sadie\_\-TREES\_\-Mosaic\-Index\-Open\-Cmd, Sadie\_\-TREES\_\-Mosaic\-Index\-Save\-Cmd, Sadie\_\-TREES\_\-Query\-Boundary\-Id\-Cmd, Sadie\_\-TREES\_\-Query\-Ring\-Type\-Cmd, Sadie\_\-TREES\_\-Remove\-Ring\-Cmd, Sadie\_\-TREES\_\-Scale\-Chain\-Cmd, Sadie\_\-TREES\_\-Synthesize\-Display\-Ring\-Cmd, Sadie\_\-TREES\_\-Synthesize\-Insert\-Ring\-Cmd, Sadie\_\-TREES\_\-Synthesize\-Zoom\-Ring\-Cmd, Sadie\_\-TREES\_\-Un\-Remove\-Ring\-Cmd, and Sadie\_\-TREES\_\-Update\-ROICmd.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_Mosaic2MosaicResamplCmd@{Sadie\_\-TREES\_\-Mosaic2MosaicResamplCmd}}
\index{Sadie_TREES_Mosaic2MosaicResamplCmd@{Sadie\_\-TREES\_\-Mosaic2MosaicResamplCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Mosaic2Mosaic\-Resampl\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a43}




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

References MOSAIC2MOSAIC\_\-RESAMPL, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_MosaicImportCmd@{Sadie\_\-TREES\_\-MosaicImportCmd}}
\index{Sadie_TREES_MosaicImportCmd@{Sadie\_\-TREES\_\-MosaicImportCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Mosaic\-Import\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a26}




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

References MOSAIC\_\-IMPORT, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_MosaicIndexCloseCmd@{Sadie\_\-TREES\_\-MosaicIndexCloseCmd}}
\index{Sadie_TREES_MosaicIndexCloseCmd@{Sadie\_\-TREES\_\-MosaicIndexCloseCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Mosaic\-Index\-Close\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a22}




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

References RELIMG\_\-MOSAIC\_\-INDEX, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_MosaicIndexOpenCmd@{Sadie\_\-TREES\_\-MosaicIndexOpenCmd}}
\index{Sadie_TREES_MosaicIndexOpenCmd@{Sadie\_\-TREES\_\-MosaicIndexOpenCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Mosaic\-Index\-Open\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a20}




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

References MOSAIC\_\-DISK2INDEX, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_MosaicIndexSaveCmd@{Sadie\_\-TREES\_\-MosaicIndexSaveCmd}}
\index{Sadie_TREES_MosaicIndexSaveCmd@{Sadie\_\-TREES\_\-MosaicIndexSaveCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Mosaic\-Index\-Save\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a21}




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

References MOSAIC\_\-INDEX2DISK, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_QueryBoundaryIdCmd@{Sadie\_\-TREES\_\-QueryBoundaryIdCmd}}
\index{Sadie_TREES_QueryBoundaryIdCmd@{Sadie\_\-TREES\_\-QueryBoundaryIdCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Query\-Boundary\-Id\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a42}




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

References count, CHAIN::list, list\_\-node::next, list\_\-node::ring\_\-id, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_QueryRingTypeCmd@{Sadie\_\-TREES\_\-QueryRingTypeCmd}}
\index{Sadie_TREES_QueryRingTypeCmd@{Sadie\_\-TREES\_\-QueryRingTypeCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Query\-Ring\-Type\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a41}




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

References ADDED, CHAIN::list, list\_\-node::next, NORMAL, REMOVED, list\_\-node::ring\_\-id, list\_\-node::ring\_\-type, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_RemoveRingCmd@{Sadie\_\-TREES\_\-RemoveRingCmd}}
\index{Sadie_TREES_RemoveRingCmd@{Sadie\_\-TREES\_\-RemoveRingCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Remove\-Ring\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a39}




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

References ADDED, CHAIN::list, list\_\-node::next, NORMAL, REMOVED, list\_\-node::ring\_\-id, list\_\-node::ring\_\-type, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_ScaleChainCmd@{Sadie\_\-TREES\_\-ScaleChainCmd}}
\index{Sadie_TREES_ScaleChainCmd@{Sadie\_\-TREES\_\-ScaleChainCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Scale\-Chain\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a30}




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

References SCALE\_\-CHAIN, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_SynthesizeDisplayRingCmd@{Sadie\_\-TREES\_\-SynthesizeDisplayRingCmd}}
\index{Sadie_TREES_SynthesizeDisplayRingCmd@{Sadie\_\-TREES\_\-SynthesizeDisplayRingCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Synthesize\-Display\-Ring\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a34}




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

References list\_\-node::chain, CHAIN\_\-COMPUTE\_\-COORDINATES, chain\_\-node::code, CHAIN::list, chain\_\-node::next, list\_\-node::next, list\_\-node::ring\_\-id, SLEN, list\_\-node::startj, and list\_\-node::startk.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_SynthesizeInsertRingCmd@{Sadie\_\-TREES\_\-SynthesizeInsertRingCmd}}
\index{Sadie_TREES_SynthesizeInsertRingCmd@{Sadie\_\-TREES\_\-SynthesizeInsertRingCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Synthesize\-Insert\-Ring\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a38}




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

References SLEN, and SYNTHESIZE\_\-INSERT\_\-RING.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_SynthesizeZoomRingCmd@{Sadie\_\-TREES\_\-SynthesizeZoomRingCmd}}
\index{Sadie_TREES_SynthesizeZoomRingCmd@{Sadie\_\-TREES\_\-SynthesizeZoomRingCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Synthesize\-Zoom\-Ring\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a35}




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

References list\_\-node::chain, CHAIN\_\-COMPUTE\_\-COORDINATES, chain\_\-node::code, CHAIN::list, chain\_\-node::next, list\_\-node::next, list\_\-node::ring\_\-id, SLEN, list\_\-node::startj, and list\_\-node::startk.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_UnRemoveRingCmd@{Sadie\_\-TREES\_\-UnRemoveRingCmd}}
\index{Sadie_TREES_UnRemoveRingCmd@{Sadie\_\-TREES\_\-UnRemoveRingCmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Un\-Remove\-Ring\-Cmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a40}




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

References ADDED, CHAIN::list, list\_\-node::next, NORMAL, REMOVED, list\_\-node::ring\_\-id, list\_\-node::ring\_\-type, and SLEN.

Referenced by Sadie\_\-TREES\_\-Init.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!Sadie_TREES_UpdateROICmd@{Sadie\_\-TREES\_\-UpdateROICmd}}
\index{Sadie_TREES_UpdateROICmd@{Sadie\_\-TREES\_\-UpdateROICmd}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int Sadie\_\-TREES\_\-Update\-ROICmd (Client\-Data {\em client\_\-data}, Tcl\_\-Interp $\ast$ {\em interp}, int {\em argc}, char $\ast$ {\em argv}[$\,$])}\label{Sadie__TREES_8c_a36}




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

References REGION\_\-OF\_\-INTEREST::bottom, COMPUTEVEND, COMPUTEVSTART, MOSAIC\_\-INDEX::hend, MOSAIC\_\-INDEX::hstart, REGION\_\-OF\_\-INTEREST::left, left, MOSAIC\_\-INDEX::nlin, MOSAIC\_\-INDEX::npix, REGION\_\-OF\_\-INTEREST::right, right, MOSAIC\_\-INDEX::roi, SLEN, REGION\_\-OF\_\-INTEREST::top, MOSAIC\_\-INDEX::vend, and MOSAIC\_\-INDEX::vstart.

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

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




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

Referenced by Sadie\_\-TREES\_\-Create\-Mosaic\-Cmd.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!count@{count}}
\index{count@{count}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double$\ast$ count}\label{Sadie__TREES_8c_a3}




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

Referenced by Sadie\_\-TREES\_\-Query\-Boundary\-Id\-Cmd.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!csize@{csize}}
\index{csize@{csize}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}short csize}\label{Sadie__TREES_8c_a1}




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




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

Referenced by Sadie\_\-TREES\_\-Create\-Mosaic\-Cmd.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!gbrk@{gbrk}}
\index{gbrk@{gbrk}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} gbrk}\label{Sadie__TREES_8c_a9}




Definition at line 26 of file Sadie\_\-TREES.c.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!globarray_normalized@{globarray\_\-normalized}}
\index{globarray_normalized@{globarray\_\-normalized}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} globarray\_\-normalized[50][100]}\label{Sadie__TREES_8c_a13}




Definition at line 32 of file Sadie\_\-TREES.c.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!globarray_original@{globarray\_\-original}}
\index{globarray_original@{globarray\_\-original}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} globarray\_\-original[50][100]}\label{Sadie__TREES_8c_a11}




Definition at line 30 of file Sadie\_\-TREES.c.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!globarray_percent@{globarray\_\-percent}}
\index{globarray_percent@{globarray\_\-percent}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} globarray\_\-percent[50][100]}\label{Sadie__TREES_8c_a12}




Definition at line 31 of file Sadie\_\-TREES.c.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!globframecount@{globframecount}}
\index{globframecount@{globframecount}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int globframecount}\label{Sadie__TREES_8c_a14}




Definition at line 33 of file Sadie\_\-TREES.c.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!globfreqcount@{globfreqcount}}
\index{globfreqcount@{globfreqcount}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int globfreqcount}\label{Sadie__TREES_8c_a15}




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




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




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

Referenced by Sadie\_\-TREES\_\-Create\-Mosaic\-Cmd.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!nlev@{nlev}}
\index{nlev@{nlev}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}short nlev}\label{Sadie__TREES_8c_a0}




Definition at line 17 of file Sadie\_\-TREES.c.\index{Sadie_TREES.c@{Sadie\_\-TREES.c}!table@{table}}
\index{table@{table}!Sadie_TREES.c@{Sadie\_\-TREES.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} $\ast$ table}\label{Sadie__TREES_8c_a10}




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




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




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