Changeset 20314 for trunk/psLib/src/imageops/psImageInterpolate.c
- Timestamp:
- Oct 21, 2008, 5:02:28 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageInterpolate.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageInterpolate.c
r20311 r20314 7 7 * @author Paul Price, IfA 8 8 * 9 * @version $Revision: 1.2 4$ $Name: not supported by cvs2svn $10 * @date $Date: 2008-10-22 0 2:48:50$9 * @version $Revision: 1.25 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2008-10-22 03:02:28 $ 11 11 * 12 12 * Copyright 2004-2007 Institute for Astronomy, University of Hawaii … … 374 374 bool offImage = false; /* At least one pixel of the kernel is off the image */ \ 375 375 /* XXX Haven't got single dimension exact shifts implemented properly yet. */ \ 376 /* XXX When it is ready, note that the limit checks ([ij]{Min,Max}) below are wrong: */ \377 /* should probably refer to [xy]{Start,Stop}. */ \378 376 xExact = yExact = false; \ 379 377 if (xExact) { \ 380 if ( iMin > 0 || iMax < 1) { /* This is wrong */\378 if (xStart < 0 || xStart > xLast) { \ 381 379 INTERPOLATE_OFF(); /* Returns */ \ 382 380 } \ … … 402 400 } \ 403 401 if (yExact) { \ 404 if ( jMin > 0 || jMax < 1) { /* This is wrong */\402 if (yStart < 0 || yStart > yLast) { \ 405 403 INTERPOLATE_OFF(); /* Returns */ \ 406 404 } \
Note:
See TracChangeset
for help on using the changeset viewer.
