Changeset 7612 for trunk/psLib/src/imageops/psImageStats.c
- Timestamp:
- Jun 21, 2006, 11:03:49 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/imageops/psImageStats.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/imageops/psImageStats.c
r7535 r7612 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.9 6$ $Name: not supported by cvs2svn $12 * @date $Date: 2006-06- 13 20:02:05$11 * @version $Revision: 1.97 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2006-06-21 21:03:49 $ 13 13 * 14 14 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 301 301 pixel = input->data.F64[y][x]; 302 302 } 303 sums[i][j] += pixel * psPolynomial1DEval(chebPolys[i],rScalingFactors[ x]) *304 psPolynomial1DEval(chebPolys[j], cScalingFactors[ y]);303 sums[i][j] += pixel * psPolynomial1DEval(chebPolys[i],rScalingFactors[y]) * 304 psPolynomial1DEval(chebPolys[j], cScalingFactors[x]); 305 305 } 306 306 } … … 376 376 for (long j = 0; j < (1 + coeffs->nY); j++) { 377 377 polySum += 378 psPolynomial1DEval(chebPolys[i], rScalingFactors[ x]) *379 psPolynomial1DEval(chebPolys[j], cScalingFactors[ y]) *378 psPolynomial1DEval(chebPolys[i], rScalingFactors[y]) * 379 psPolynomial1DEval(chebPolys[j], cScalingFactors[x]) * 380 380 coeffs->coeff[i][j]; 381 381 } … … 592 592 return -1; 593 593 }/* else if (col0 == col1 && row0 == row1) { 594 psError(PS_ERR_BAD_PARAMETER_VALUE, true,595 "Invalid psRegion specified. Region contains only 1 pixel.\n");596 return -1;597 }598 */594 psError(PS_ERR_BAD_PARAMETER_VALUE, true, 595 "Invalid psRegion specified. Region contains only 1 pixel.\n"); 596 return -1; 597 } 598 */ 599 599 x0 = col0; 600 600 x1 = col1;
Note:
See TracChangeset
for help on using the changeset viewer.
