IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

fixed problems from psImagePixelInterpolate number of parameters changing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.