IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20307 for trunk/pswarp


Ignore:
Timestamp:
Oct 21, 2008, 4:11:36 PM (18 years ago)
Author:
Paul Price
Message:

Propagating changes to psImageInterpolate.h

Location:
trunk/pswarp/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarp.h

    r19395 r20307  
    4343    pmReadout *output;
    4444    pswarpMapGrid *grid;
    45     psImageInterpolateOptions *interp;
     45    psImageInterpolation *interp;
    4646    psImage *region;
    4747
  • trunk/pswarp/src/pswarpTransformReadout.c

    r19395 r20307  
    6464
    6565    // Interpolation options : move these from the arguments to explicit assignments
    66     psImageInterpolateOptions *interp = psImageInterpolateOptionsAlloc(interpolationMode, input->image,
    67                                                                        input->weight, input->mask, maskIn,
    68                                                                        NAN, NAN, maskBad, maskPoor, poorFrac);
     66    psImageInterpolation *interp = psImageInterpolationAlloc(interpolationMode, input->image,
     67                                                             input->weight, input->mask, maskIn,
     68                                                             NAN, NAN, maskBad, maskPoor, poorFrac, 0);
    6969
    7070    if (input->weight && !output->weight) {
     
    143143        float varFactor = psImageInterpolateVarianceFactor(input->image->numCols / 2.0 + input->image->col0,
    144144                                                           input->image->numRows / 2.0 + input->image->row0,
    145                                                            interp);
     145                                                           interp->mode);
    146146        psMetadataItem *vfItem = psMetadataLookup(output->analysis, PSWARP_ANALYSIS_VARFACTOR);
    147147        if (vfItem) {
Note: See TracChangeset for help on using the changeset viewer.