IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 23, 2004, 4:00:21 PM (22 years ago)
Author:
desonia
Message:

initial coding of psImageSlice and changed psImageRotate to be more inline
with ADD (mathematically equivalent).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/image/tst_psImageStats03.c

    r1234 r1292  
    4646            x = 0.2 + (float) i;
    4747            y = 0.2 + (float) j;
    48             pixel = psImagePixelInterpolation(tmpImage, x, y);
     48            pixel = psImagePixelInterpolate(tmpImage, x, y,0,PS_INTERPOLATE_BILINEAR);
    4949            printf("%.1f ", pixel);
    5050        }
     
    5656            x = 0.2 + (float) i;
    5757            y = 0.2 + (float) j;
    58             pixel = psImagePixelInterpolation(tmpImage, x, y);
     58            pixel = psImagePixelInterpolate(tmpImage, x, y,0,PS_INTERPOLATE_BILINEAR);
    5959            printf("image[%.1f][%.1f] is interpolated at %.1f\n", x, y, pixel);
    6060        }
Note: See TracChangeset for help on using the changeset viewer.