Changeset 15077
- Timestamp:
- Sep 28, 2007, 11:03:51 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotSourceSize.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotSourceSize.c
r15040 r15077 21 21 int xPeak = source->peak->xf - source->pixels->col0 + 0.5; 22 22 int yPeak = source->peak->yf - source->pixels->row0 + 0.5; 23 24 // skip sources which are too close to a boundary 25 if (xPeak < 1) continue; 26 if (xPeak > source->pixels->numCols - 2) continue; 27 if (yPeak < 1) continue; 28 if (yPeak > source->pixels->numRows - 2) continue; 23 29 24 30 // XXX for now, just skip any sources with masked pixels
Note:
See TracChangeset
for help on using the changeset viewer.
