Changeset 13736 for trunk/psModules/src/imcombine/pmSubtraction.c
- Timestamp:
- Jun 8, 2007, 3:06:48 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmSubtraction.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmSubtraction.c
r13735 r13736 4 4 * @author GLG, MHPCC 5 5 * 6 * @version $Revision: 1.1 3$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-06-09 01:0 4:02$6 * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-06-09 01:06:48 $ 8 8 * 9 9 * Copyright 2004-2007 Institute for Astronomy, University of Hawaii … … 401 401 402 402 // Bottom stripe 403 for (int v = PS_MAX(y - footprint - size, 0); v < PS_MAX(y - size, 0); v++) {403 for (int v = PS_MAX(y - footprint - size, 0); v < y - size; v++) { 404 404 for (int u = PS_MAX(x - footprint - size, 0); 405 405 u <= PS_MIN(x + footprint + size, numCols - 1); u++) { … … 418 418 } 419 419 // Right side 420 for (int u = PS_MIN(x + size + 1, numCols - 1); 421 u <= PS_MIN(x + footprint + size, numCols - 1); u++) { 420 for (int u = x + size + 1; u <= PS_MIN(x + footprint + size, numCols - 1); u++) { 422 421 maskData[v][u] |= PM_SUBTRACTION_MASK_FOOTPRINT; 423 422 } 424 423 } 425 424 // Top stripe 426 for (int v = PS_MIN(y + size + 1, numRows - 1); 427 v <= PS_MIN(y + footprint + size, numRows - 1); v++) { 425 for (int v = y + size + 1; v <= PS_MIN(y + footprint + size, numRows - 1); v++) { 428 426 for (int u = PS_MAX(x - footprint - size, 0); 429 427 u <= PS_MIN(x + footprint + size, numCols - 1); u++) {
Note:
See TracChangeset
for help on using the changeset viewer.
