Changeset 14671 for trunk/psModules/src/imcombine/pmSubtractionStamps.c
- Timestamp:
- Aug 27, 2007, 10:55:23 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtractionStamps.c
r14534 r14671 239 239 240 240 bool pmSubtractionExtractStamps(psArray *stamps, psImage *reference, psImage *input, psImage *weight, 241 int footprint, const pmSubtractionKernels *kernels)241 int footprint, int kernelSize) 242 242 { 243 243 PS_ASSERT_ARRAY_NON_NULL(stamps, false); … … 254 254 PS_ASSERT_IMAGE_TYPE(weight, PS_TYPE_F32, false); 255 255 } 256 PS_ASSERT_INT_NONNEGATIVE(footprint, false); 257 PS_ASSERT_INT_NONNEGATIVE(kernelSize, false); 256 258 257 259 int numCols = reference->numCols, numRows = reference->numRows; // Size of images 258 int size = kernel s->size + footprint; // Size of postage stamps260 int size = kernelSize + footprint; // Size of postage stamps 259 261 260 262 if (!weight) { … … 303 305 304 306 305 bool pmSubtractionGenerateStamps(psArray *stamps, float fwhm, int footprint, 306 const pmSubtractionKernels *kernels) 307 bool pmSubtractionGenerateStamps(psArray *stamps, float fwhm, int footprint, int kernelSize) 307 308 { 308 309 PS_ASSERT_ARRAY_NON_NULL(stamps, false); … … 310 311 PS_ASSERT_INT_NONNEGATIVE(footprint, false); 311 312 312 int size = kernel s->size + footprint; // Size of postage stamps313 int size = kernelSize + footprint; // Size of postage stamps 313 314 int num = stamps->n; // Number of stamps 314 315 float sigma = fwhm / (2.0 * sqrtf(2.0 * log(2.0))); // Gaussian sigma
Note:
See TracChangeset
for help on using the changeset viewer.
