Changeset 2102
- Timestamp:
- Oct 13, 2004, 3:06:44 PM (22 years ago)
- Location:
- trunk/psLib/src
- Files:
-
- 2 edited
-
image/psImageStats.c (modified) (4 diffs)
-
imageops/psImageStats.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImageStats.c
r2101 r2102 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.4 2$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-10-14 01:0 5:27$11 * @version $Revision: 1.43 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-10-14 01:06:44 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 406 406 } 407 407 408 // We scale the pixel positions to values 409 // between -1.0 and 1.0408 // We scale the pixel positions to values between -1.0 and 1.0 409 // Use static data structures here. 410 410 rScalingFactors = p_psCalcScaleFactorsEval(input->numRows); 411 411 cScalingFactors = p_psCalcScaleFactorsEval(input->numCols); … … 438 438 // Free the Chebyshev polynomials that were 439 439 // created in this routine. 440 // XXX: Use dtatic data structures here. 440 441 for (i = 0; i < maxChebyPoly; i++) { 441 442 psFree(chebPolys[i]); … … 443 444 psFree(chebPolys); 444 445 445 // Free some data446 // for (i = 0; i < coeffs->nX; i++) {447 // psFree(sums[i]);448 // }449 // psFree(sums);450 446 psFree(cScalingFactors); 451 447 psFree(rScalingFactors); -
trunk/psLib/src/imageops/psImageStats.c
r2101 r2102 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.4 2$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-10-14 01:0 5:27$11 * @version $Revision: 1.43 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-10-14 01:06:44 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 406 406 } 407 407 408 // We scale the pixel positions to values 409 // between -1.0 and 1.0408 // We scale the pixel positions to values between -1.0 and 1.0 409 // Use static data structures here. 410 410 rScalingFactors = p_psCalcScaleFactorsEval(input->numRows); 411 411 cScalingFactors = p_psCalcScaleFactorsEval(input->numCols); … … 438 438 // Free the Chebyshev polynomials that were 439 439 // created in this routine. 440 // XXX: Use dtatic data structures here. 440 441 for (i = 0; i < maxChebyPoly; i++) { 441 442 psFree(chebPolys[i]); … … 443 444 psFree(chebPolys); 444 445 445 // Free some data446 // for (i = 0; i < coeffs->nX; i++) {447 // psFree(sums[i]);448 // }449 // psFree(sums);450 446 psFree(cScalingFactors); 451 447 psFree(rScalingFactors);
Note:
See TracChangeset
for help on using the changeset viewer.
