Changeset 7541
- Timestamp:
- Jun 13, 2006, 12:30:20 PM (20 years ago)
- Location:
- trunk/psLib/src/math
- Files:
-
- 2 edited
-
psPolynomialUtils.c (modified) (1 diff)
-
psPolynomialUtils.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/math/psPolynomialUtils.c
r7467 r7541 121 121 } 122 122 123 psPolynomial2D *psImageBicubeFit(const psImage *image, long x, longy)123 psPolynomial2D *psImageBicubeFit(const psImage *image, int x, int y) 124 124 { 125 125 PS_ASSERT_IMAGE_NON_NULL(image, NULL); 126 126 127 longix = x - image->col0;128 longiy = y - image->row0;127 int ix = x - image->col0; 128 int iy = y - image->row0; 129 129 130 130 PS_ASSERT_INT_WITHIN_RANGE(ix, 1, image->numCols - 1, NULL); -
trunk/psLib/src/math/psPolynomialUtils.h
r7380 r7541 29 29 // fit a 2D 2nd order polynomial to the 9 pixels centered on (x,y) 30 30 psPolynomial2D *psImageBicubeFit(const psImage *image, // Image to fit 31 long x, longy // Pixels of centre of fit31 int x, int y // Pixels of centre of fit 32 32 ); 33 33
Note:
See TracChangeset
for help on using the changeset viewer.
