IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 906


Ignore:
Timestamp:
Jun 7, 2004, 3:50:40 PM (22 years ago)
Author:
Paul Price
Message:

Added an enum to specify the overscan axis.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/modules/include/phase2.h

    r757 r906  
    6868                            );
    6969
     70/** Overscan axis */
     71typedef enum {
     72    PS_OVERSCAN_NONE = 0,               ///< No overscan subtraction
     73    PS_OVERSCAN_ROWS = 1,               ///< Subtract rows
     74    PS_OVERSCAN_COLUMNS = 2,            ///< Subtract columns
     75    PS_OVERSCAN_ROWS_FIT = -1,          ///< Subtract a fit to rows
     76    PS_OVERSCAN_COLUMNS_FIT = -2        ///< Subtract a fit to columns
     77} psOverscanAxis
     78
    7079/** Subtracts an overscan and bias from the input image. */
    7180psReadout *phase2SubtractBias(psReadout *in, ///< Input image to be de-biased, and output
    7281                              const psImage *bias, ///< Bias (or dark) image to subtract
    7382                              const psImageRegionArray *regions, ///< Bias regions
    74                               int overscanAxis, ///< 1 = subtract rows; 2 = subtract columns; -1 = fit rows;
     83                              psOverscanAxis overscanAxis, ///< 1 = subtract rows; 2 = subtract columns; -1 = fit rows;
    7584                                           ///< -2 = fit columns; 0 = no overscan
    7685                              const psStatsOptions *stat, ///< Statistic to use
    77                               const psPolynomial1D *polySpec ///< Polynomial specification to use for fit
     86                              psPolynomial1D *polySpec ///< Polynomial specification to use for fit
    7887                              );
    7988
Note: See TracChangeset for help on using the changeset viewer.