Changeset 1805 for trunk/doc/modules/ModulesSDRS.tex
- Timestamp:
- Sep 14, 2004, 9:42:32 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/doc/modules/ModulesSDRS.tex (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/modules/ModulesSDRS.tex
r1562 r1805 1 %%% $Id: ModulesSDRS.tex,v 1.1 4 2004-08-17 03:31:05eugene Exp $1 %%% $Id: ModulesSDRS.tex,v 1.15 2004-09-14 19:42:32 eugene Exp $ 2 2 \documentclass[panstarrs]{panstarrs} 3 3 … … 10 10 \project{Pan-STARRS Image Processing Pipeline} 11 11 \organization{Institute for Astronomy} 12 \version{0 0}12 \version{01} 13 13 \docnumber{PSDC-430-008} 14 14 % note the use of the docnumber & version number: … … 265 265 \subsection{Flat-fielding} 266 266 267 Given an input image and a flat-field image, \code{pmFlatField} 268 shall divide the input image by the flat-field image. The API shall 269 be the following:270 \begin{verbatim} 271 psReadout *pmFlatField(psReadout *in, const psReadout *flat);267 Given an input image and a flat-field image, \code{pmFlatField} shall 268 divide the input image by the flat-field image and return it in place, 269 updating the mask as appropriate. The API shall be the following: 270 \begin{verbatim} 271 bool pmFlatField(psReadout *in, psReadout *mask, const psReadout *flat); 272 272 \end{verbatim} 273 273 … … 275 275 \code{flat}, need not be the same size, since the input image may 276 276 already have been trimmed (following overscan subtraction), but the 277 function shall use the offsets in the image (\code{in->x0} and 278 \code{in->y0}) to determine the appropriate offsets to obtain the 279 correct pixel on the flat-field. In the event that the \code{flat} 280 image is too small (i.e., pixels on the input image refer to pixels 281 outside the range of the \code{flat} image), the function shall 282 generate an error. 277 function shall use the offsets of the readout (\code{in->col0, 278 in->row0}) and the image subarray (\code{in->image->x0, 279 in->image->y0}) to determine the appropriate offsets to obtain the 280 correct detector pixels in the flat-field image. Note that the image 281 offset is relative to its parent, so this offset must be followed to 282 the top level image which is not a child of another image and the 283 offsets summed. The detector pixel coordinates of pixel \code{x,y} in 284 a top-level image are thus \code{x + in->image->x0 + in->col0, y + 285 in->image->y0 + in->row0}. In the event that the \code{flat} image is 286 too small (i.e., pixels on the input image refer to pixels outside the 287 range of the \code{flat} image), the function shall generate an error. 283 288 284 289 Pixels which are negative or zero in the \code{flat} shall be masked … … 347 352 input image refer to pixels outside the range of the \code{mask} 348 353 image), the function shall generate an error. 354 355 \section{Revision Change Log} 356 \input{ChangeLogSDRS.tex} 349 357 350 358 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Note:
See TracChangeset
for help on using the changeset viewer.
