IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 18, 2009, 3:19:25 PM (17 years ago)
Author:
Paul Price
Message:

Better method for deciding which image to convolve: generate solutions both ways, and choose the one with the lower residuals. We save the convolutions and least-squares matrices we generate, so that they don't have to be regenerated for the winner. Looks like this works!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtraction.c

    r24298 r25120  
    733733
    734734int pmSubtractionRejectStamps(pmSubtractionKernels *kernels, pmSubtractionStampList *stamps,
    735                               const psVector *deviations, psImage *subMask, float sigmaRej, int footprint)
     735                              const psVector *deviations, psImage *subMask, float sigmaRej)
    736736{
    737737    PM_ASSERT_SUBTRACTION_KERNELS_NON_NULL(kernels, false);
     
    821821    ds9num++;
    822822
     823    int footprint = stamps->footprint;  // Half-size of stamp region of interest
    823824    int numRejected = 0;                // Number of stamps rejected
    824825    int numGood = 0;                    // Number of good stamps
Note: See TracChangeset for help on using the changeset viewer.