IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 21, 2008, 12:10:53 PM (18 years ago)
Author:
Paul Price
Message:

Should be using the requested interpolation mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/imageops/psImageGeomManip.c

    r19146 r20299  
    1010 *  @author Ross Harman, MHPCC
    1111 *
    12  *  @version $Revision: 1.43 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2008-08-21 02:56:11 $
     12 *  @version $Revision: 1.44 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2008-10-21 22:10:53 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    206206    invScale = 1.0f / (float)scale;
    207207
    208     psImageInterpolateOptions *interp = psImageInterpolateOptionsAlloc(mode, in, NULL, NULL, 0,
    209                                                                        NAN, NAN, 0, 0, 0);
     208    psImageInterpolation *interp = psImageInterpolationAlloc(mode, in, NULL, NULL, 0, NAN, NAN, 0, 0, 0, 0);
    210209
    211210    #define PSIMAGE_RESAMPLE_CASE(TYPE) \
     
    496495        float CenterYMinusminXTimesSinT = centerY - minX * sinT;
    497496
    498         psImageInterpolateOptions *interp = psImageInterpolateOptionsAlloc(mode, input, NULL, NULL, 0,
    499                                                                            exposed, NAN, 0, 0, 0.0);
     497        psImageInterpolation *interp = psImageInterpolationAlloc(mode, input, NULL, NULL, 0,
     498                                                                 exposed, NAN, 0, 0, 0.0, 0);
    500499
    501500        #define PSIMAGE_ROTATE_ARBITRARY_LOOP(TYPE)  \
     
    594593    out = psImageRecycle(out, outCols, outRows, type);
    595594
    596     psImageInterpolateOptions *interp = psImageInterpolateOptionsAlloc(mode, input, NULL, NULL, 0,
    597                                                                        exposed, NAN, 0, 0, 0.0);
     595    psImageInterpolation *interp = psImageInterpolationAlloc(mode, input, NULL, NULL, 0,
     596                                                             exposed, NAN, 0, 0, 0.0, 0);
    598597
    599598    #define PSIMAGE_SHIFT_CASE(TYPE) \
     
    679678    }
    680679
    681     psImageInterpolateOptions *interp = psImageInterpolateOptionsAlloc(PS_INTERPOLATE_BICUBE, in, NULL,
    682                                                                        inMask, maskVal, exposed, NAN, blank,
    683                                                                        blank, 0.0);
     680    psImageInterpolation *interp = psImageInterpolationAlloc(mode, in, NULL, inMask, maskVal, exposed, NAN,
     681                                                             blank, blank, 0.0, 0);
    684682
    685683    #define PSIMAGE_SHIFT_MASK_CASE(TYPE) \
     
    851849    psPlane* inPosition = NULL;
    852850
    853     psImageInterpolateOptions *interp = psImageInterpolateOptionsAlloc(mode, input, NULL, inputMask,
    854                                                                        inputMaskVal, NAN, NAN, 0, 0, 0.0);
     851    psImageInterpolation *interp = psImageInterpolationAlloc(mode, input, NULL, inputMask,
     852                                                             inputMaskVal, NAN, NAN, 0, 0, 0.0, 0);
    855853
    856854
Note: See TracChangeset for help on using the changeset viewer.