IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 19, 2006, 4:38:28 PM (21 years ago)
Author:
Paul Price
Message:

Getting a working ppImage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_rel9_p0/psModules/src/imsubtract/pmSubtractBias.h

    r5866 r6062  
    1111 *  @author GLG, MHPCC
    1212 *
    13  *  @version $Revision: 1.4.8.1.2.1 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-12-31 04:35:36 $
     13 *  @version $Revision: 1.4.8.1.2.2 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2006-01-20 02:38:28 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2929#include "pslib.h"
    3030
    31 #include "pmAstrometry.h"
     31#include "pmFPA.h"
    3232
    3333typedef enum {
     
    4040
    4141typedef enum {
    42     PM_FIT_NONE,                              ///< No fit
    43     PM_FIT_POLYNOMIAL,                        ///< Fit polynomial
    44     PM_FIT_SPLINE                             ///< Fit cubic splines
     42    PM_FIT_NONE,                        ///< No fit
     43    PM_FIT_POLY_ORD,                    ///< Fit ordinary polynomial
     44    PM_FIT_POLY_CHEBY,                  ///< Fit Chebyshev polynomial
     45    PM_FIT_SPLINE                       ///< Fit cubic splines
    4546} pmFit;
    4647
     48typedef struct
     49{
     50    // Inputs
     51    bool single;                // Reduce all overscan regions to a single value?
     52    pmFit fitType;              // Type of fit to overscan
     53    unsigned int order;         // Order of polynomial, or number of spline pieces
     54    psStats *stat;              // Statistic to use when reducing the minor direction
     55    // Outputs
     56    psPolynomial1D *poly;       // Result of polynomial fit
     57    psSpline1D *spline;         // Result of spline fit
     58}
     59pmOverscanOptions;
     60
     61pmOverscanOptions *pmOverscanOptionsAlloc(bool single, pmFit fitType, unsigned int order, psStats *stat);
     62
     63pmReadout *pmSubtractBias(pmReadout *in, pmOverscanOptions *overscanOpts,
     64                          const pmReadout *bias, const pmReadout *dark);
     65
     66#if 0
    4767pmReadout *pmSubtractBias(pmReadout *in,                ///< The input pmReadout image
    4868                          void *fitSpec,                ///< A polynomial or spline, defining the fit type.
     
    5373                          pmFit fit,                    ///< PM_FIT_SPLINE, PM_FIT_POLYNOMIAL, or PM_FIT_NONE
    5474                          const pmReadout *bias);       ///< A possibly NULL bias pmReadout which is to be subtracted
     75#endif
    5576
    5677#endif
Note: See TracChangeset for help on using the changeset viewer.