\section{window.c File Reference}
\label{window_8c}\index{window.c@{window.c}}
{\tt \#include \char`\"{}sadie.h\char`\"{}}\par
\subsection*{Functions}
\begin{CompactItemize}
\item 
void {\bf WINDOW} ({\bf IMAGE} $\ast$in, {\bf PIXEL}($\ast$wtf)({\bf PIXEL} $\ast$, short, short), short jsize, short ksize, {\bf IMAGE} $\ast$$\ast${\bf out})
\item 
{\bf PIXEL} {\bf WTFCAVG} ({\bf PIXEL} $\ast$wnd, short jsize, short ksize)
\item 
{\bf PIXEL} {\bf WTFDIVER} ({\bf PIXEL} $\ast$wnd, short jsize, short ksize)
\item 
{\bf PIXEL} {\bf WTFMAJ} ({\bf PIXEL} $\ast$wnd, short jsize, short ksize)
\item 
{\bf PIXEL} {\bf WTFMAX} ({\bf PIXEL} $\ast$wnd, short jsize, short ksize)
\item 
{\bf PIXEL} {\bf WTFMIN} ({\bf PIXEL} $\ast$wnd, short jsize, short ksize)
\item 
{\bf PIXEL} {\bf WTFVAR} ({\bf PIXEL} $\ast$wnd, short jsize, short ksize)
\end{CompactItemize}
\subsection*{Variables}
\begin{CompactItemize}
\item 
short {\bf csize}
\item 
{\bf PIXEL} {\bf thresh}
\item 
double {\bf weight}
\item 
short {\bf nlev}
\item 
{\bf PIXEL} {\bf gmin}
\item 
double $\ast$ {\bf count}
\end{CompactItemize}


\subsection{Function Documentation}
\index{window.c@{window.c}!WINDOW@{WINDOW}}
\index{WINDOW@{WINDOW}!window.c@{window.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void WINDOW ({\bf IMAGE} $\ast$ {\em in}, {\bf PIXEL}($\ast$ {\em wtf})({\bf PIXEL} $\ast$, short, short), short {\em jsize}, short {\em ksize}, {\bf IMAGE} $\ast$$\ast$ {\em out})}\label{window_8c_a6}




Definition at line 17 of file window.c.

References CHECKIMG, csize, IMAGE::data, GETMEM, malloc, MESSAGE, IMAGE::nbnd, IMAGE::nlin, IMAGE::npix, out, PROGRESS, SLEN, T\_\-EXIT, T\_\-WINDOW, IMAGE::text, thresh, TIMING, weight, WTFCAVG, WTFDIVER, WTFMAJ, WTFMAX, WTFMIN, and WTFVAR.

Referenced by Sadie\_\-Filter\_\-CAvg\-Filt\-Cmd, Sadie\_\-Filter\_\-Div\-Map\-Cmd, Sadie\_\-Filter\_\-Maj\-Filt\-Cmd, Sadie\_\-Filter\_\-Max\-Filt\-Cmd, Sadie\_\-Filter\_\-Min\-Filt\-Cmd, and Sadie\_\-Filter\_\-Var\-Map\-Cmd.\index{window.c@{window.c}!WTFCAVG@{WTFCAVG}}
\index{WTFCAVG@{WTFCAVG}!window.c@{window.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} WTFCAVG ({\bf PIXEL} $\ast$ {\em wnd}, short {\em jsize}, short {\em ksize})}\label{window_8c_a7}




Definition at line 152 of file window.c.

References count, csize, max, min, T\_\-EXIT, T\_\-WTFCAVG, thresh, and TIMING.\index{window.c@{window.c}!WTFDIVER@{WTFDIVER}}
\index{WTFDIVER@{WTFDIVER}!window.c@{window.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} WTFDIVER ({\bf PIXEL} $\ast$ {\em wnd}, short {\em jsize}, short {\em ksize})}\label{window_8c_a8}




Definition at line 193 of file window.c.

References T\_\-EXIT, T\_\-WTFDIVER, and TIMING.\index{window.c@{window.c}!WTFMAJ@{WTFMAJ}}
\index{WTFMAJ@{WTFMAJ}!window.c@{window.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} WTFMAJ ({\bf PIXEL} $\ast$ {\em wnd}, short {\em jsize}, short {\em ksize})}\label{window_8c_a9}




Definition at line 237 of file window.c.

References count, gmin, nlev, T\_\-EXIT, T\_\-WTFMAJ, TIMING, and weight.\index{window.c@{window.c}!WTFMAX@{WTFMAX}}
\index{WTFMAX@{WTFMAX}!window.c@{window.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} WTFMAX ({\bf PIXEL} $\ast$ {\em wnd}, short {\em jsize}, short {\em ksize})}\label{window_8c_a10}




Definition at line 278 of file window.c.

References max, T\_\-EXIT, T\_\-WTFMAX, and TIMING.\index{window.c@{window.c}!WTFMIN@{WTFMIN}}
\index{WTFMIN@{WTFMIN}!window.c@{window.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} WTFMIN ({\bf PIXEL} $\ast$ {\em wnd}, short {\em jsize}, short {\em ksize})}\label{window_8c_a11}




Definition at line 307 of file window.c.

References min, T\_\-EXIT, T\_\-WTFMIN, and TIMING.\index{window.c@{window.c}!WTFVAR@{WTFVAR}}
\index{WTFVAR@{WTFVAR}!window.c@{window.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} WTFVAR ({\bf PIXEL} $\ast$ {\em wnd}, short {\em jsize}, short {\em ksize})}\label{window_8c_a12}




Definition at line 336 of file window.c.

References T\_\-EXIT, T\_\-WTFVAR, and TIMING.

\subsection{Variable Documentation}
\index{window.c@{window.c}!count@{count}}
\index{count@{count}!window.c@{window.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double$\ast$ count}\label{window_8c_a5}




Definition at line 235 of file window.c.

Referenced by WTFCAVG, and WTFMAJ.\index{window.c@{window.c}!csize@{csize}}
\index{csize@{csize}!window.c@{window.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}short csize}\label{window_8c_a0}




Definition at line 3 of file window.c.

Referenced by WINDOW, and WTFCAVG.\index{window.c@{window.c}!gmin@{gmin}}
\index{gmin@{gmin}!window.c@{window.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} gmin}\label{window_8c_a4}




Definition at line 233 of file window.c.

Referenced by WTFMAJ.\index{window.c@{window.c}!nlev@{nlev}}
\index{nlev@{nlev}!window.c@{window.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}short nlev}\label{window_8c_a3}




Definition at line 232 of file window.c.

Referenced by WTFMAJ.\index{window.c@{window.c}!thresh@{thresh}}
\index{thresh@{thresh}!window.c@{window.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf PIXEL} thresh}\label{window_8c_a1}




Definition at line 4 of file window.c.

Referenced by WINDOW, and WTFCAVG.\index{window.c@{window.c}!weight@{weight}}
\index{weight@{weight}!window.c@{window.c}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}double weight}\label{window_8c_a2}




Definition at line 5 of file window.c.

Referenced by WINDOW, and WTFMAJ.