Changeset 18299
- Timestamp:
- Jun 23, 2008, 4:03:02 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageInterpolate.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageInterpolate.c
r18298 r18299 7 7 * @author Paul Price, IfA 8 8 * 9 * @version $Revision: 1.1 4$ $Name: not supported by cvs2svn $10 * @date $Date: 2008-06-24 02:0 1:55$9 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2008-06-24 02:03:02 $ 11 11 * 12 12 * Copyright 2004-2007 Institute for Astronomy, University of Hawaii … … 392 392 double pos = - (num - 1)/2 - frac; // Position of interest 393 393 for (int i = 0; i < num; i++, pos += 1.0) { 394 norm4 += values[i] = norm1 * sin(pos * norm2) * sin( M_PI_2 *pos * norm3) / PS_SQR(pos);394 norm4 += values[i] = norm1 * sin(pos * norm2) * sin(pos * norm3) / PS_SQR(pos); 395 395 } 396 396 norm4 = 1.0 / norm4
Note:
See TracChangeset
for help on using the changeset viewer.
