Changeset 3027 for trunk/psLib/src/image/psImageStats.c
- Timestamp:
- Jan 17, 2005, 1:25:10 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/image/psImageStats.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/image/psImageStats.c
r2807 r3027 9 9 * @author GLG, MHPCC 10 10 * 11 * @version $Revision: 1.6 2$ $Name: not supported by cvs2svn $12 * @date $Date: 200 4-12-23 19:14:15$11 * @version $Revision: 1.63 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2005-01-17 23:25:10 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 300 300 /***************************************************************************** 301 301 psImageFitPolynomial(): This routine takes as input a 2-D image and produces 302 as output the coefficients of the Chebyshev polynomials which match that 303 i nput image.302 as output the coefficients of the Chebyshev polynomials which match that input 303 image. This is a TEST version of the code. It is not used by anything. 304 304 Input: 305 305 Output: … … 359 359 // nodes->data.F64[x][y] = psImagePixelInterpolate(input, yNode, xNode, NULL, 0, 0.0, PS_INTERPOLATE_BILINEAR); 360 360 // nodes->data.F64[x][y] = psImagePixelInterpolate(input, yTmp, xTmp, NULL, 0, 0.0, PS_INTERPOLATE_BILINEAR); 361 printf("HMMMM: (xOrig, yOrig) is (%f, %f)\n", xOrig, yOrig);362 361 nodes->data.F64[x][y] = psImagePixelInterpolate(input, yOrig, xOrig, NULL, 0, 0.0, PS_INTERPOLATE_BILINEAR); 363 printf("HMMMM: interpolated pixel [%d][%d] is %f, should be %f\n", x, y, nodes->data.F64[x][y], input->data.F32[x][y]);364 362 } 365 363 }
Note:
See TracChangeset
for help on using the changeset viewer.
