Changeset 2602 for trunk/psLib/src/image/psImageStats.c
- Timestamp:
- Dec 3, 2004, 9:43:43 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImageStats.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImageStats.c
r2436 r2602 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.5 5$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-1 1-24 22:14:39$11 * @version $Revision: 1.56 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-12-03 19:43:43 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 127 127 0:512 to -1:1. This routine takes as input an integer N and produces as 128 128 output a vector of evenly spaced floating point values between -1.0:1.0. 129 130 XXX: Use the p_psNormalizeVector here? 129 131 *****************************************************************************/ 130 132 double* calcScaleFactors(psS32 n) … … 253 255 pixel = input->data.F64[x][y]; 254 256 } 255 sums[i][j] += pixel * 256 psPolynomial1DEval( 257 chebPolys[i], 258 rScalingFactors[x] 259 ) * 260 psPolynomial1DEval( 261 chebPolys[j], 262 cScalingFactors[y] 263 ); 257 sums[i][j] += pixel * psPolynomial1DEval(chebPolys[i],rScalingFactors[x]) * 258 psPolynomial1DEval(chebPolys[j], cScalingFactors[y]); 264 259 } 265 260 } … … 375 370 // Free the Chebyshev polynomials that were 376 371 // created in this routine. 377 // XXX: Use dtatic data structures here.372 // XXX: Use static data structures here. 378 373 for (i = 0; i < maxChebyPoly; i++) { 379 374 psFree(chebPolys[i]);
Note:
See TracChangeset
for help on using the changeset viewer.
