IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1909


Ignore:
Timestamp:
Sep 27, 2004, 2:30:32 PM (22 years ago)
Author:
desonia
Message:

fixed problems from psImagePixelInterpolate number of parameters changing.

Location:
trunk/psLib/test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/dataManip/Makefile

    r1907 r1909  
    33##  Makefile:   test/sysUtils
    44##
    5 ##  $Revision: 1.46 $  $Name: not supported by cvs2svn $
    6 ##  $Date: 2004-09-27 23:41:42 $
     5##  $Revision: 1.47 $  $Name: not supported by cvs2svn $
     6##  $Date: 2004-09-28 00:30:32 $
    77##
    88##  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2525tst_psFunc04 \
    2626tst_psFunc05 \
    27 tst_psFunc06 \
    2827tst_psFunc07 \
    2928tst_psHist00 \
     
    4241tst_psMatrixVectorArithmetic03 \
    4342tst_psMinimize04 \
    44 tst_psMinimize04b \
    4543tst_psMinimize05 \
    4644tst_psMinimize06 \
     
    5553tst_psStats09 \
    5654tst_psVectorFFT
     55# tst_psFunc06 \
     56# tst_psMinimize04b \
    5757
    5858OBJS = $(addsuffix .o,$(TARGET))
  • trunk/psLib/test/image/tst_psImageManip.c

    r1896 r1909  
    66 *  @author Robert DeSonia, MHPCC
    77 *
    8  *  @version $Revision: 1.19 $ $Name: not supported by cvs2svn $
    9  *  @date $Date: 2004-09-25 01:38:24 $
     8 *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
     9 *  @date $Date: 2004-09-28 00:30:32 $
    1010 *
    1111 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    13911391        for (int col=0;col<cols;col++) {
    13921392            psF32 fValue = psImagePixelInterpolate(fImg,col+colShift,
    1393                                                    row+rowShift,NAN,PS_INTERPOLATE_FLAT);
     1393                                                   row+rowShift,NULL,0,NAN,PS_INTERPOLATE_FLAT);
    13941394            psS16 sValue = (psS16)psImagePixelInterpolate(sImg,col+colShift,
    1395                            row+rowShift,-1,PS_INTERPOLATE_FLAT);
     1395                           row+rowShift,NULL,0,-1,PS_INTERPOLATE_FLAT);
    13961396
    13971397            if (fabsf(fRow[col] - fValue) > FLT_EPSILON) {
  • trunk/psLib/test/image/tst_psImageStats03.c

    r1811 r1909  
    4646            x = 0.2 + (float) i;
    4747            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);
    4953            printf("%.1f ", pixel);
    5054        }
     
    5660            x = 0.2 + (float) i;
    5761            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);
    5967            printf("image[%.1f][%.1f] is interpolated at %.1f\n", x, y, pixel);
    6068        }
Note: See TracChangeset for help on using the changeset viewer.