Changeset 14106 for trunk/psModules/src/imcombine/pmSubtractionKernels.h
- Timestamp:
- Jul 10, 2007, 1:54:26 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtractionKernels.h
r13340 r14106 6 6 /// Type of subtraction kernel 7 7 typedef enum { 8 PM_SUBTRACTION_KERNEL_POIS, ///< POIS kernel --- delta functions 9 PM_SUBTRACTION_KERNEL_ISIS ///< ISIS kernel --- gaussians modified by polynomials 8 PM_SUBTRACTION_KERNEL_POIS, ///< Pan-STARRS Optimal Image Subtraction --- delta functions 9 PM_SUBTRACTION_KERNEL_ISIS, ///< Traditional kernel --- gaussians modified by polynomials 10 PM_SUBTRACTION_KERNEL_SPAM, ///< Summed Pixels for Advanced Matching --- summed delta functions 11 PM_SUBTRACTION_KERNEL_FRIES, ///< Fibonacci Radius Increases Excellence of Subtraction 10 12 } pmSubtractionKernelsType; 11 13 12 14 /// Kernels specification 13 15 typedef struct { 14 pmSubtractionKernelsType type; ///< Type of kernels --- allowing the use of multiple kernels16 pmSubtractionKernelsType type; ///< Type of kernels --- allowing the use of multiple kernels 15 17 psVector *u, *v; ///< Offset (for POIS) or polynomial order (for ISIS) 16 psVector *sigma; ///< Width of Gaussian (for ISIS) 18 psVector *sigma; ///< Gaussian widths (ISIS only) 19 psVector *uStop, *vStop; ///< Width of kernel element (SPAM,FRIES only) 17 20 psVector *xOrder, *yOrder; ///< Spatial Polynomial order (for all) 18 21 int subIndex; ///< Index of kernel to be subtracted (to maintain flux conservation) … … 44 47 ); 45 48 49 /// Generate SPAM kernels 50 pmSubtractionKernels *pmSubtractionKernelsSPAM(int size, ///< Half-size of the kernel 51 int spatialOrder, ///< Order of spatial variations 52 int inner, ///< Inner radius to preserve unbinned 53 int binning ///< Kernel binning factor 54 ); 55 56 /// Generate FRIES kernels 57 pmSubtractionKernels *pmSubtractionKernelsFRIES(int size, ///< Half-size of the kernel 58 int spatialOrder, ///< Order of spatial variations 59 int inner ///< Inner radius to preserve unbinned 60 ); 61 46 62 /// Generate a kernel of a specified type 47 63 pmSubtractionKernels *pmSubtractionKernelsGenerate(pmSubtractionKernelsType type, ///< Kernel type … … 49 65 int spatialOrder, ///< Order of spatial variations 50 66 const psVector *sigmas, ///< Gaussian widths 51 const psVector *orders ///< Polynomial order of gaussians 52 ); 67 const psVector *orders, ///< Polynomial order of gaussians 68 int inner, ///< Inner radius to preserve unbinned 69 int binning ///< Kernel binning factor 70 ); 53 71 54 72 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
