Changeset 1909
- Timestamp:
- Sep 27, 2004, 2:30:32 PM (22 years ago)
- Location:
- trunk/psLib/test
- Files:
-
- 3 edited
-
dataManip/Makefile (modified) (4 diffs)
-
image/tst_psImageManip.c (modified) (2 diffs)
-
image/tst_psImageStats03.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/test/dataManip/Makefile
r1907 r1909 3 3 ## Makefile: test/sysUtils 4 4 ## 5 ## $Revision: 1.4 6$ $Name: not supported by cvs2svn $6 ## $Date: 2004-09-2 7 23:41:42 $5 ## $Revision: 1.47 $ $Name: not supported by cvs2svn $ 6 ## $Date: 2004-09-28 00:30:32 $ 7 7 ## 8 8 ## Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 25 25 tst_psFunc04 \ 26 26 tst_psFunc05 \ 27 tst_psFunc06 \28 27 tst_psFunc07 \ 29 28 tst_psHist00 \ … … 42 41 tst_psMatrixVectorArithmetic03 \ 43 42 tst_psMinimize04 \ 44 tst_psMinimize04b \45 43 tst_psMinimize05 \ 46 44 tst_psMinimize06 \ … … 55 53 tst_psStats09 \ 56 54 tst_psVectorFFT 55 # tst_psFunc06 \ 56 # tst_psMinimize04b \ 57 57 58 58 OBJS = $(addsuffix .o,$(TARGET)) -
trunk/psLib/test/image/tst_psImageManip.c
r1896 r1909 6 6 * @author Robert DeSonia, MHPCC 7 7 * 8 * @version $Revision: 1. 19$ $Name: not supported by cvs2svn $9 * @date $Date: 2004-09-2 5 01:38:24$8 * @version $Revision: 1.20 $ $Name: not supported by cvs2svn $ 9 * @date $Date: 2004-09-28 00:30:32 $ 10 10 * 11 11 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 1391 1391 for (int col=0;col<cols;col++) { 1392 1392 psF32 fValue = psImagePixelInterpolate(fImg,col+colShift, 1393 row+rowShift,N AN,PS_INTERPOLATE_FLAT);1393 row+rowShift,NULL,0,NAN,PS_INTERPOLATE_FLAT); 1394 1394 psS16 sValue = (psS16)psImagePixelInterpolate(sImg,col+colShift, 1395 row+rowShift, -1,PS_INTERPOLATE_FLAT);1395 row+rowShift,NULL,0,-1,PS_INTERPOLATE_FLAT); 1396 1396 1397 1397 if (fabsf(fRow[col] - fValue) > FLT_EPSILON) { -
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.
