Changeset 26575
- Timestamp:
- Jan 12, 2010, 3:55:27 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/psModules/src/imcombine/pmSubtractionKernels.h
r26491 r26575 10 10 PM_SUBTRACTION_KERNEL_POIS, ///< Pan-STARRS Optimal Image Subtraction --- delta functions 11 11 PM_SUBTRACTION_KERNEL_ISIS, ///< Traditional kernel --- gaussians modified by polynomials 12 PM_SUBTRACTION_KERNEL_ISIS_RADIAL, ///< ISIS + higher-order radial Hermitians 12 13 PM_SUBTRACTION_KERNEL_HERM, ///< Hermitian polynomial kernels 13 14 PM_SUBTRACTION_KERNEL_DECONV_HERM, ///< Deconvolved Hermitian polynomial kernels … … 48 49 float mean, rms; ///< Mean and RMS of chi^2 from stamps 49 50 int numStamps; ///< Number of good stamps 51 float fSigResMean; ///< mean fractional stdev of residuals 52 float fSigResStdev; ///< stdev of fractional stdev of residuals 53 float fMaxResMean; ///< mean fractional positive swing in residuals 54 float fMaxResStdev; ///< stdev of fractional positive swing in residuals 55 float fMinResMean; ///< mean fractional negative swing in residuals 56 float fMinResStdev; ///< stdev of fractional negative swing in residuals 50 57 } pmSubtractionKernels; 51 58 … … 73 80 PS_ASSERT_VECTOR_SIZE((KERNELS)->v, (KERNELS)->num, RETURNVALUE); \ 74 81 if ((KERNELS)->type == PM_SUBTRACTION_KERNEL_ISIS) { \ 82 PS_ASSERT_VECTOR_NON_NULL((KERNELS)->widths, RETURNVALUE); \ 83 PS_ASSERT_VECTOR_TYPE((KERNELS)->widths, PS_TYPE_F32, RETURNVALUE); \ 84 PS_ASSERT_VECTOR_SIZE((KERNELS)->widths, (KERNELS)->num, RETURNVALUE); \ 85 } \ 86 if ((KERNELS)->type == PM_SUBTRACTION_KERNEL_ISIS_RADIAL) { \ 75 87 PS_ASSERT_VECTOR_NON_NULL((KERNELS)->widths, RETURNVALUE); \ 76 88 PS_ASSERT_VECTOR_TYPE((KERNELS)->widths, PS_TYPE_F32, RETURNVALUE); \ … … 122 134 } 123 135 136 // Generate 1D convolution kernel for ISIS 124 137 psVector *pmSubtractionKernelISIS(float sigma, // Gaussian width 125 138 int order, // Polynomial order … … 127 140 ); 128 141 142 // Generate 1D convolution kernel for HERM (normalized for 2D) 129 143 psVector *pmSubtractionKernelHERM(float sigma, // Gaussian width 130 144 int order, // Polynomial order … … 183 197 float penalty, ///< Penalty for wideness 184 198 pmSubtractionMode mode ///< Mode for subtraction 199 ); 200 201 /// Generate ISIS + RADIAL_HERM kernels 202 pmSubtractionKernels *pmSubtractionKernelsISIS_RADIAL(int size, ///< Half-size of the kernel 203 int spatialOrder, ///< Order of spatial variations 204 const psVector *fwhms, ///< Gaussian FWHMs 205 const psVector *orders, ///< Polynomial order of gaussians 206 float penalty, ///< Penalty for wideness 207 pmSubtractionMode mode ///< Mode for subtraction 185 208 ); 186 209
Note:
See TracChangeset
for help on using the changeset viewer.
