Changeset 12001 for trunk/psLib/src/imageops/psImageConvolve.c
- Timestamp:
- Feb 22, 2007, 12:37:59 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageConvolve.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageConvolve.c
r12000 r12001 7 7 /// @author Eugene Magnier, IfA 8 8 /// 9 /// @version $Revision: 1.4 6$ $Name: not supported by cvs2svn $10 /// @date $Date: 2007-02-22 22:3 6:21$9 /// @version $Revision: 1.47 $ $Name: not supported by cvs2svn $ 10 /// @date $Date: 2007-02-22 22:37:59 $ 11 11 /// 12 12 /// Copyright 2004-2007 Institute for Astronomy, University of Hawaii … … 125 125 int xMin, xMax, yMin, yMax; // Range of values for kernel 126 126 int xLast, yLast; // Last location, for relative shifts 127 int x0, y0; // Final location; everything is relative to this127 float tSum = tShifts->data.F32[0]; // Sum of the times 128 128 xLast = xMin = xMax = xShifts->data.S32[0]; 129 129 yLast = yMin = yMax = yShifts->data.S32[0]; 130 int x0, y0; // Final location; everything is relative to this 130 131 x0 = xShifts->data.S32[num - 1]; 131 132 y0 = yShifts->data.S32[num - 1]; 132 float tSum = tShifts->data.F32[num]; // Sum of the times133 133 for (long i = 1; i < num; i++) { 134 134 int x = xShifts->data.S32[i] - x0; // x position in kernel
Note:
See TracChangeset
for help on using the changeset viewer.
