Changeset 14342
- Timestamp:
- Jul 20, 2007, 11:39:04 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtractionStamps.c
r14195 r14342 61 61 int yNumStamps = numRows / spacing + 1; 62 62 63 int numFound = 0; // Number of stamps found 64 63 65 if (stamps) { 64 66 PS_ASSERT_INT_EQUAL(stamps->n, xNumStamps * yNumStamps, NULL); … … 111 113 stamp->x = xBest; 112 114 stamp->y = yBest; 113 stamp->status = fluxBest > threshold ? PM_SUBTRACTION_STAMP_CALCULATE :114 PM_SUBTRACTION_STAMP_NONE;115 if (stamp->status == PM_SUBTRACTION_STAMP_CALCULATE) {115 if (fluxBest > threshold) { 116 stamp->status = PM_SUBTRACTION_STAMP_CALCULATE; 117 numFound++; 116 118 psTrace("psModules.imcombine", 5, "Found stamp in region (%d,%d): %d,%d\n", 117 119 i, j, stamp->x, stamp->y); 120 } else { 121 stamp->status = PM_SUBTRACTION_STAMP_NONE; 118 122 } 119 123 } … … 121 125 } 122 126 127 psLogMsg("psModules.imcombine", PS_LOG_INFO, "Found %d stamps in %dx%d regions", 128 numFound, xNumStamps, yNumStamps); 129 123 130 return stamps; 124 131 }
Note:
See TracChangeset
for help on using the changeset viewer.
