Changeset 973
- Timestamp:
- Jun 9, 2004, 3:57:54 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/doc/modules/ModulesSDRS.tex (modified) (10 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/modules/ModulesSDRS.tex
r970 r973 1 %%% $Id: ModulesSDRS.tex,v 1. 1 2004-06-10 01:48:28price Exp $1 %%% $Id: ModulesSDRS.tex,v 1.2 2004-06-10 01:57:54 price Exp $ 2 2 \documentclass[panstarrs]{panstarrs} 3 3 … … 129 129 /** Returns an image that is the result of convolving the input image with the specified kernel. */ 130 130 psImage *psPhase2ConvolveWithKernel(psImage *out, ///< Output image, or NULL 131 const psImage *in, ///< Input image to be convolved132 const psImage *kernel ///< Kernel by which to convolve133 );131 const psImage *in, ///< Input image to be convolved 132 const psImage *kernel ///< Kernel by which to convolve 133 ); 134 134 \end{verbatim} 135 135 … … 169 169 /** Constructor */ 170 170 psImageRegion *psImageRegionAlloc(int x0, ///< x offset to region 171 int y0, ///< y offset to region172 int nX, ///< Size of region in x173 int nY ///< Size of region in y174 );171 int y0, ///< y offset to region 172 int nX, ///< Size of region in x 173 int nY ///< Size of region in y 174 ); 175 175 /** Destructor */ 176 176 void psImageRegionFree(psImageRegion *reg ///< Region to destroy … … 189 189 /** Subtracts an overscan and bias from the input image. */ 190 190 psReadout *psPhase2SubtractBias(psReadout *in, ///< Input image to be de-biased, and output 191 psPolynomial1D *polySpec, ///< Polynomial specification to use for fit,192 ///< outputed193 const psList *regions, ///< Linked list of psImageRegion types.194 psOverscanAxis overscanAxis, ///< Overscan axis195 const psStatsOptions *stat, ///< Statistic to use196 const psImage *bias ///< Bias (or dark) image to subtract197 );191 psPolynomial1D *polySpec, ///< Polynomial specification to use for fit, 192 ///< outputed 193 const psList *regions, ///< Linked list of psImageRegion types. 194 psOverscanAxis overscanAxis, ///< Overscan axis 195 const psStatsOptions *stat, ///< Statistic to use 196 const psImage *bias ///< Bias (or dark) image to subtract 197 ); 198 198 \end{verbatim} 199 199 … … 219 219 PS_OVERSCAN_ROWS_FIT = -1, ///< Subtract a fit to rows 220 220 PS_OVERSCAN_COLUMNS_FIT = -2, ///< Subtract a fit to columns 221 PS_OVERSCAN_ALL = 3 ///< Subtract the statistic of all pixels in overscan region221 PS_OVERSCAN_ALL = 3 ///< Subtract the statistic of all pixels in overscan region 222 222 } psOverscanAxis; 223 223 \end{verbatim} 224 224 225 No prescan/overscan subtraction shall be performed if the 225 226 \code{overscanAxis} is \code{PS_OVERSCAN_NONE} or if \code{regions} is … … 261 262 /** Trims the input image to remove the edges corrupted by OT shifting, and the overscan. */ 262 263 psReadout *psPhase2Trim(psReadout *in, ///< Input image to be trimmed, and output 263 const psImageRegion *region ///< Region to keep264 );264 const psImageRegion *region ///< Region to keep 265 ); 265 266 \end{verbatim} 266 267 … … 289 290 /** Applies the correction for detector non-linearity. */ 290 291 psReadout *psPhase2CorrectNonLinearity(psReadout *in, ///< Input image to be corrected, and output 291 psPolynomial1D *coeff ///< Polynomial with which to correct292 );292 const psPolynomial1D *coeff ///< Polynomial with which to correct 293 ); 293 294 \end{verbatim} 294 295 … … 332 333 following: 333 334 \begin{verbatim} 334 /** Subtracts the sky background. Needs work.*/335 /** Subtracts the sky background. */ 335 336 psReadout *psPhase2SubtractSky(psReadout *in, ///< Input image to be sky-subtracted, and output 336 psPolynomial2D *poly, ///< Polynomial specification, returns coeffcients337 psVector *outNorms, ///< Normalisations of the template sky images: output338 const psList *skyImages, ///< Template sky images: a list of type psImage, or339 ///< NULL340 const psList *catalog, ///< Sources nearby to mask when measuring the341 ///< background: a list of type psObject, or NULL342 float radiusMultiply, ///< Multiplying factor of object radius for mask343 float radiusAdd, ///< Additive factor to grow the object masks344 int binFactor ///< Binning factor to use on image before solving for polynomial345 );337 psPolynomial2D *poly, ///< Polynomial specification, returns coeffcients 338 psVector *outNorms, ///< Normalisations of the template sky images: output 339 const psList *skyImages, ///< Template sky images: a list of type psImage, or 340 ///< NULL 341 const psList *catalog, ///< Sources nearby to mask when measuring the 342 ///< background: a list of type psObject, or NULL 343 float radiusMultiply, ///< Multiplying factor of object radius for mask 344 float radiusAdd, ///< Additive factor to grow the object masks 345 int binFactor ///< Binning factor to use on image before solving for polynomial 346 ); 346 347 \end{verbatim} 347 348 … … 403 404 const psImage *mask, ///< Bad pixel mask to apply 404 405 int maskVal, ///< Mask the pixels for which mask & maskVal > 0. 405 float sat, ///< Saturation level: pixels brighter than this level are masked406 float sat, ///< Saturation level: pixels brighter than this level are masked 406 407 int grow ///< Radius to grow the bad pixels 407 408 ); … … 483 484 API shall be the following: 484 485 \begin{verbatim} 485 /** Find and measure objects on the input image. Fills in the "objects" member of the psReadout */486 /** Find and measure objects on the input image. Fills in the "objects" member of the psReadout. */ 486 487 /** THIS NEEDS WORK. */ 487 psReadout *psPhase2 GetObjects(psReadout *in, ///< Input image on which to find objects, and output488 const psImage *psf, ///< PSF to use to find objects489 const psVector *levels ///< Threshold levels (std dev.s)490 );488 psReadout *psPhase2FindObjects(psReadout *in, ///< Input image on which to find objects, and output 489 const psImage *psf, ///< PSF to use to find objects 490 const psVector *levels ///< Threshold levels (std dev.s) 491 ); 491 492 \end{verbatim} 492 493
Note:
See TracChangeset
for help on using the changeset viewer.
