- Timestamp:
- Jan 19, 2006, 4:38:28 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_rel9_p0/psModules/src/imsubtract/pmSubtractBias.h
r5866 r6062 11 11 * @author GLG, MHPCC 12 12 * 13 * @version $Revision: 1.4.8.1.2. 1$ $Name: not supported by cvs2svn $14 * @date $Date: 200 5-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 $ 15 15 * 16 16 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 29 29 #include "pslib.h" 30 30 31 #include "pm Astrometry.h"31 #include "pmFPA.h" 32 32 33 33 typedef enum { … … 40 40 41 41 typedef 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 45 46 } pmFit; 46 47 48 typedef 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 } 59 pmOverscanOptions; 60 61 pmOverscanOptions *pmOverscanOptionsAlloc(bool single, pmFit fitType, unsigned int order, psStats *stat); 62 63 pmReadout *pmSubtractBias(pmReadout *in, pmOverscanOptions *overscanOpts, 64 const pmReadout *bias, const pmReadout *dark); 65 66 #if 0 47 67 pmReadout *pmSubtractBias(pmReadout *in, ///< The input pmReadout image 48 68 void *fitSpec, ///< A polynomial or spline, defining the fit type. … … 53 73 pmFit fit, ///< PM_FIT_SPLINE, PM_FIT_POLYNOMIAL, or PM_FIT_NONE 54 74 const pmReadout *bias); ///< A possibly NULL bias pmReadout which is to be subtracted 75 #endif 55 76 56 77 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
