Changeset 1909 for trunk/psLib/test/image/tst_psImageStats03.c
- Timestamp:
- Sep 27, 2004, 2:30:32 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/test/image/tst_psImageStats03.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/image/tst_psImageStats03.c
r1811 r1909 46 46 x = 0.2 + (float) i; 47 47 y = 0.2 + (float) j; 48 pixel = psImagePixelInterpolate(tmpImage, x, y,0,PS_INTERPOLATE_BILINEAR); 48 pixel = psImagePixelInterpolate(tmpImage, 49 x, y, 50 NULL, 0, 51 0, 52 PS_INTERPOLATE_BILINEAR); 49 53 printf("%.1f ", pixel); 50 54 } … … 56 60 x = 0.2 + (float) i; 57 61 y = 0.2 + (float) j; 58 pixel = psImagePixelInterpolate(tmpImage, x, y,0,PS_INTERPOLATE_BILINEAR); 62 pixel = psImagePixelInterpolate(tmpImage, 63 x, y, 64 NULL,0, 65 0, 66 PS_INTERPOLATE_BILINEAR); 59 67 printf("image[%.1f][%.1f] is interpolated at %.1f\n", x, y, pixel); 60 68 }
Note:
See TracChangeset
for help on using the changeset viewer.
