Changeset 2436 for trunk/psLib/src/imageops/psImageStats.c
- Timestamp:
- Nov 24, 2004, 12:14:39 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageStats.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageStats.c
r2294 r2436 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.5 4$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-11- 06 00:57:44$11 * @version $Revision: 1.55 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-11-24 22:14:39 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 183 183 sums[i][j]: This will contain the sum of 184 184 input->data.F32[x][y] * 185 psPolynomial1DEval((float) x, chebPolys[i]) * 186 psPolynomial1DEval((float) y, chebPolys[j]); 185 psPolynomial1DEval( 186 chebPolys[i], 187 (float) x) * 188 psPolynomial1DEval( 189 chebPolys[j], 190 (float) y, 191 ); 187 192 over all pixels (x,y) in the image. 188 193 *****************************************************************************/ … … 249 254 } 250 255 sums[i][j] += pixel * 251 psPolynomial1DEval(rScalingFactors[x], chebPolys[i]) * 252 psPolynomial1DEval(cScalingFactors[y], chebPolys[j]); 256 psPolynomial1DEval( 257 chebPolys[i], 258 rScalingFactors[x] 259 ) * 260 psPolynomial1DEval( 261 chebPolys[j], 262 cScalingFactors[y] 263 ); 253 264 } 254 265 } … … 336 347 for (j = 0; j < coeffs->nY; j++) { 337 348 polySum += 338 psPolynomial1DEval(rScalingFactors[x], chebPolys[i]) * 339 psPolynomial1DEval(cScalingFactors[y], chebPolys[j]) * 349 psPolynomial1DEval( 350 chebPolys[i], 351 rScalingFactors[x] 352 ) * 353 psPolynomial1DEval( 354 chebPolys[j], 355 cScalingFactors[y] 356 357 ) * 340 358 coeffs->coeff[i][j]; 341 359
Note:
See TracChangeset
for help on using the changeset viewer.
