IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 6, 2012, 1:44:52 PM (14 years ago)
Author:
mhuber
Message:

split the TESTING condition for outputs and reusing previously generated convolved images

File:
1 edited

Legend:

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

    r32170 r33426  
    77
    88// #define TESTING                         // Enable debugging output
    9 
    10 #ifdef TESTING
     9// #define TESTING_REUSE_CONV           // Enable debugging for re-using convolved outputs from previous run
     10
     11#ifdef TESTING_REUSE_CONV
    1112// Read a FITS image
    1213static bool readImage(psImage **target, // Target for image
     
    153154    if (options->convolve) {
    154155        pmReadout *conv = pmReadoutAlloc(NULL); // Conv readout, for holding results temporarily
    155 #ifdef TESTING
     156#ifdef TESTING_REUSE_CONV
    156157        // This is a hack to use the temporary convolved images and kernel generated previously.
    157158        // This makes the 'matching' operation much faster, allowing debugging of the stack process easier.
     
    394395            readout->variance = psMemIncrRefCounter(conv->variance);
    395396            readout->covariance = psImageCovarianceTruncate(conv->covariance, COVAR_FRAC);
    396 #ifdef TESTING
     397#ifdef TESTING_REUSE_CONV
    397398        }
    398399#endif
Note: See TracChangeset for help on using the changeset viewer.