Changeset 23791
- Timestamp:
- Apr 9, 2009, 8:38:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtractionStamps.c
r23789 r23791 91 91 bool clean = true; // Is the footprint clean? 92 92 int numCols = mask->numCols, numRows = mask->numRows; // Size of image 93 94 int xMin = PS_MAX(x - footprint, 0), xMax = PS_MIN(x + footprint, numCols - 1); // Bounds in x 95 int yMin = PS_MAX(y - footprint, 0), yMax = PS_MIN(y + footprint, numRows - 1); // Bounds in y 93 96 94 97 // Check the footprint bounds … … 123 126 124 127 // Check the footprint 125 int xMin = PS_MAX(x - footprint, 0), xMax = PS_MIN(x + footprint, numCols - 1); // Bounds in x126 int yMin = PS_MAX(y - footprint, 0), yMax = PS_MIN(y + footprint, numRows - 1); // Bounds in y127 128 if (clean) { 128 129 for (int j = yMin; j <= yMax; j++) {
Note:
See TracChangeset
for help on using the changeset viewer.
