IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13378


Ignore:
Timestamp:
May 14, 2007, 3:22:46 PM (19 years ago)
Author:
Paul Price
Message:

Adding trace statement.

File:
1 edited

Legend:

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

    r13365 r13378  
    6060    PS_ASSERT_INT_LARGER_THAN(image->numRows, 2 * border, NULL);
    6161
     62    maskVal |= used;                    // Make sure we don't get stamps we've already used
    6263    int xNumStamps = (image->numCols - 2 * border) / spacing + 1; // Number of stamps in x
    6364    int yNumStamps = (image->numRows - 2 * border) / spacing + 1; // Number of stamps in y
     
    138139                stamp->status = fluxBest > threshold ? PM_SUBTRACTION_STAMP_CALCULATE :
    139140                    PM_SUBTRACTION_STAMP_NONE;
     141                if (stamp->status == PM_SUBTRACTION_STAMP_CALCULATE) {
     142                    psTrace("psModules.imcombine", 5, "Found stamp in region (%d,%d): %d,%d\n",
     143                            i, j, stamp->x, stamp->y);
     144                }
    140145            }
    141146        }
Note: See TracChangeset for help on using the changeset viewer.