IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 10, 2007, 1:54:26 PM (19 years ago)
Author:
Paul Price
Message:

Adding additional convolution kernels: SPAM (binned pixels around a central single-pixel core) and FRIES (binning changes as a (Fibonacci-like) function of radius).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionKernels.h

    r13340 r14106  
    66/// Type of subtraction kernel
    77typedef 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
    1012} pmSubtractionKernelsType;
    1113
    1214/// Kernels specification
    1315typedef struct {
    14     pmSubtractionKernelsType type;       ///< Type of kernels --- allowing the use of multiple kernels
     16    pmSubtractionKernelsType type;      ///< Type of kernels --- allowing the use of multiple kernels
    1517    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)
    1720    psVector *xOrder, *yOrder;          ///< Spatial Polynomial order (for all)
    1821    int subIndex;                       ///< Index of kernel to be subtracted (to maintain flux conservation)
     
    4447                                               );
    4548
     49/// Generate SPAM kernels
     50pmSubtractionKernels *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
     57pmSubtractionKernels *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
    4662/// Generate a kernel of a specified type
    4763pmSubtractionKernels *pmSubtractionKernelsGenerate(pmSubtractionKernelsType type, ///< Kernel type
     
    4965                                                   int spatialOrder, ///< Order of spatial variations
    5066                                                   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    );
    5371
    5472#endif
Note: See TracChangeset for help on using the changeset viewer.