- Timestamp:
- Jan 28, 2010, 5:32:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap/psModules/src/imcombine/pmSubtractionKernels.h
r26593 r26717 12 12 PM_SUBTRACTION_KERNEL_ISIS_RADIAL, ///< ISIS + higher-order radial Hermitians 13 13 PM_SUBTRACTION_KERNEL_HERM, ///< Hermitian polynomial kernels 14 PM_SUBTRACTION_KERNEL_DECONV_HERM, ///< Deconvolved Hermitian polynomial kernels14 PM_SUBTRACTION_KERNEL_DECONV_HERM, ///< Deconvolved Hermitian polynomial kernels 15 15 PM_SUBTRACTION_KERNEL_SPAM, ///< Summed Pixels for Advanced Matching --- summed delta functions 16 16 PM_SUBTRACTION_KERNEL_FRIES, ///< Fibonacci Radius Increases Excellence of Subtraction … … 37 37 psVector *uStop, *vStop; ///< Width of kernel element (SPAM,FRIES only) 38 38 psArray *preCalc; ///< Array of images containing pre-calculated kernel (for ISIS, HERM or DECONV_HERM) 39 psKernel *norm; ///< Normalisation component 39 40 float penalty; ///< Penalty for wideness 40 41 psVector *penalties; ///< Penalty for each kernel component … … 49 50 float mean, rms; ///< Mean and RMS of chi^2 from stamps 50 51 int numStamps; ///< Number of good stamps 51 float fSigResMean; ///< mean fractional stdev of residuals52 float fSigResStdev; ///< stdev of fractional stdev of residuals53 float fMaxResMean; ///< mean fractional positive swing in residuals54 float fMaxResStdev; ///< stdev of fractional positive swing in residuals55 float fMinResMean; ///< mean fractional negative swing in residuals56 float fMinResStdev; ///< stdev of fractional negative swing in residuals57 psArray *sampleStamps; ///< array of brightest set of stamps for output visualizations52 float fSigResMean; ///< mean fractional stdev of residuals 53 float fSigResStdev; ///< stdev of fractional stdev of residuals 54 float fMaxResMean; ///< mean fractional positive swing in residuals 55 float fMaxResStdev; ///< stdev of fractional positive swing in residuals 56 float fMinResMean; ///< mean fractional negative swing in residuals 57 float fMinResStdev; ///< stdev of fractional negative swing in residuals 58 psArray *sampleStamps; ///< array of brightest set of stamps for output visualizations 58 59 } pmSubtractionKernels; 59 60 60 61 // pmSubtractionKernels->preCalc is an array of pmSubtractionKernelPreCalc structures 61 62 typedef struct { 62 psVector *uCoords; // used by RINGS63 psVector *vCoords; // used by RINGS64 psVector *poly; // used by RINGS65 66 psVector *xKernel; // used by ISIS, HERM, DECONV_HERM67 psVector *yKernel; // used by ISIS, HERM, DECONV_HERM68 psKernel *kernel; // used by ISIS, HERM, DECONV_HERM63 psVector *uCoords; // used by RINGS 64 psVector *vCoords; // used by RINGS 65 psVector *poly; // used by RINGS 66 67 psVector *xKernel; // used by ISIS, HERM, DECONV_HERM 68 psVector *yKernel; // used by ISIS, HERM, DECONV_HERM 69 psKernel *kernel; // used by ISIS, HERM, DECONV_HERM 69 70 } pmSubtractionKernelPreCalc; 70 71 … … 168 169 pmSubtractionKernelPreCalc *pmSubtractionKernelPreCalcAlloc( 169 170 pmSubtractionKernelsType type, ///< type of kernel to allocate (not all can be pre-calculated) 170 int uOrder, ///< order in x-direction171 int vOrder, ///< order in x-direction172 int size, ///< Half-size of the kernel173 float sigma ///< sigma of gaussian kernel171 int uOrder, ///< order in x-direction 172 int vOrder, ///< order in x-direction 173 int size, ///< Half-size of the kernel 174 float sigma ///< sigma of gaussian kernel 174 175 ); 175 176 … … 202 203 /// Generate ISIS + RADIAL_HERM kernels 203 204 pmSubtractionKernels *pmSubtractionKernelsISIS_RADIAL(int size, ///< Half-size of the kernel 204 int spatialOrder, ///< Order of spatial variations205 const psVector *fwhms, ///< Gaussian FWHMs206 const psVector *orders, ///< Polynomial order of gaussians207 float penalty, ///< Penalty for wideness208 pmSubtractionMode mode ///< Mode for subtraction205 int spatialOrder, ///< Order of spatial variations 206 const psVector *fwhms, ///< Gaussian FWHMs 207 const psVector *orders, ///< Polynomial order of gaussians 208 float penalty, ///< Penalty for wideness 209 pmSubtractionMode mode ///< Mode for subtraction 209 210 ); 210 211 … … 220 221 /// Generate DECONV_HERM kernels 221 222 pmSubtractionKernels *pmSubtractionKernelsDECONV_HERM(int size, ///< Half-size of the kernel 222 int spatialOrder, ///< Order of spatial variations223 const psVector *fwhms, ///< Gaussian FWHMs224 const psVector *orders, ///< order of hermitian polynomials225 float penalty, ///< Penalty for wideness226 pmSubtractionMode mode ///< Mode for subtraction223 int spatialOrder, ///< Order of spatial variations 224 const psVector *fwhms, ///< Gaussian FWHMs 225 const psVector *orders, ///< order of hermitian polynomials 226 float penalty, ///< Penalty for wideness 227 pmSubtractionMode mode ///< Mode for subtraction 227 228 ); 228 229
Note:
See TracChangeset
for help on using the changeset viewer.
