IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 6, 2008, 2:07:23 PM (18 years ago)
Author:
Paul Price
Message:

Adding parameter 'stride' to control the size of convolution patches (in pmSubtractionConvolve). Previously we have made this the (full) size of the kernel, but there's no reason why it can't be bigger. Making this value larger means the kernel doesn't have to be generated as often.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackLoop.c

    r20494 r20568  
    772772        }
    773773
     774        int stride = psMetadataLookupS32(NULL, ppsub, "STRIDE"); // Size of convolution patches
     775
    774776        // Reject bad pixels
    775777        for (int i = 0; i < num; i++) {
     
    791793#endif
    792794
    793             psPixels *reject = pmStackReject(inspect->data[i], numCols, numRows, threshold, poorFrac,
     795            psPixels *reject = pmStackReject(inspect->data[i], numCols, numRows, threshold, poorFrac, stride,
    794796                                             subRegions->data[i], subKernels->data[i]); // Rejected pixels
    795797
Note: See TracChangeset for help on using the changeset viewer.