IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 973


Ignore:
Timestamp:
Jun 9, 2004, 3:57:54 PM (22 years ago)
Author:
Paul Price
Message:

Updated all prototypes from the phase2.h file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/modules/ModulesSDRS.tex

    r970 r973  
    1 %%% $Id: ModulesSDRS.tex,v 1.1 2004-06-10 01:48:28 price Exp $
     1%%% $Id: ModulesSDRS.tex,v 1.2 2004-06-10 01:57:54 price Exp $
    22\documentclass[panstarrs]{panstarrs}
    33
     
    129129/** Returns an image that is the result of convolving the input image with the specified kernel. */
    130130psImage *psPhase2ConvolveWithKernel(psImage *out, ///< Output image, or NULL
    131                                     const psImage *in, ///< Input image to be convolved
    132                                     const psImage *kernel ///< Kernel by which to convolve
    133                                     );
     131                                    const psImage *in, ///< Input image to be convolved
     132                                    const psImage *kernel ///< Kernel by which to convolve
     133                                    );
    134134\end{verbatim}
    135135
     
    169169/** Constructor */
    170170psImageRegion *psImageRegionAlloc(int x0, ///< x offset to region
    171                                   int y0, ///< y offset to region
    172                                   int nX, ///< Size of region in x
    173                                   int nY ///< Size of region in y
    174                                   );
     171                                  int y0, ///< y offset to region
     172                                  int nX, ///< Size of region in x
     173                                  int nY ///< Size of region in y
     174                                  );
    175175/** Destructor */
    176176void psImageRegionFree(psImageRegion *reg ///< Region to destroy
     
    189189/** Subtracts an overscan and bias from the input image. */
    190190psReadout *psPhase2SubtractBias(psReadout *in, ///< Input image to be de-biased, and output
    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                                 );
     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                                );
    198198\end{verbatim}
    199199
     
    219219    PS_OVERSCAN_ROWS_FIT = -1,          ///< Subtract a fit to rows
    220220    PS_OVERSCAN_COLUMNS_FIT = -2,       ///< Subtract a fit to columns
    221     PS_OVERSCAN_ALL = 3                 ///< Subtract the statistic of all pixels in overscan region
     221    PS_OVERSCAN_ALL = 3                 ///< Subtract the statistic of all pixels in overscan region
    222222} psOverscanAxis;
    223223\end{verbatim}
     224
    224225No prescan/overscan subtraction shall be performed if the
    225226\code{overscanAxis} is \code{PS_OVERSCAN_NONE} or if \code{regions} is
     
    261262/** Trims the input image to remove the edges corrupted by OT shifting, and the overscan. */
    262263psReadout *psPhase2Trim(psReadout *in,  ///< Input image to be trimmed, and output
    263                       const psImageRegion *region ///< Region to keep
    264                       );
     264                        const psImageRegion *region ///< Region to keep
     265                        );
    265266\end{verbatim}
    266267
     
    289290/** Applies the correction for detector non-linearity. */
    290291psReadout *psPhase2CorrectNonLinearity(psReadout *in, ///< Input image to be corrected, and output
    291                                      psPolynomial1D *coeff ///< Polynomial with which to correct
    292                                      );
     292                                       const psPolynomial1D *coeff ///< Polynomial with which to correct
     293                                       );
    293294\end{verbatim}
    294295
     
    332333following:
    333334\begin{verbatim}
    334 /** Subtracts the sky background. Needs work. */
     335/** Subtracts the sky background. */
    335336psReadout *psPhase2SubtractSky(psReadout *in, ///< Input image to be sky-subtracted, and output
    336                                psPolynomial2D *poly, ///< Polynomial specification, returns coeffcients
    337                                psVector *outNorms, ///< Normalisations of the template sky images: output
    338                                const psList *skyImages, ///< Template sky images: a list of type psImage, or
    339                                                         ///< NULL
    340                                const psList *catalog, ///< Sources nearby to mask when measuring the
    341                                                       ///< background: a list of type psObject, or NULL
    342                                float radiusMultiply, ///< Multiplying factor of object radius for mask
    343                                float radiusAdd, ///< Additive factor to grow the object masks
    344                                int binFactor ///< Binning factor to use on image before solving for polynomial
    345                                );
     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                               );
    346347\end{verbatim}
    347348
     
    403404                                 const psImage *mask, ///< Bad pixel mask to apply
    404405                                 int maskVal, ///< Mask the pixels for which mask & maskVal > 0.
    405                                 float sat, ///< Saturation level: pixels brighter than this level are masked
     406                                float sat, ///< Saturation level: pixels brighter than this level are masked
    406407                                 int grow ///< Radius to grow the bad pixels
    407408                                 );
     
    483484API shall be the following:
    484485\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. */
    486487/** THIS NEEDS WORK. */
    487 psReadout *psPhase2GetObjects(psReadout *in, ///< Input image on which to find objects, and output
    488                               const psImage *psf, ///< PSF to use to find objects
    489                               const psVector *levels ///< Threshold levels (std dev.s)
    490                               );
     488psReadout *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                               );
    491492\end{verbatim}
    492493
Note: See TracChangeset for help on using the changeset viewer.