IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 29, 2009, 3:01:24 PM (17 years ago)
Author:
Paul Price
Message:

Convering 'weight' to 'variance' where appropriate. Mostly just propagating changes from psModules. Fixed some mask types as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_branch_20090128/pswarp/src/pswarpTransformReadout.c

    r20334 r21225  
    7171    // Interpolation options : move these from the arguments to explicit assignments
    7272    psImageInterpolation *interp = psImageInterpolationAlloc(interpolationMode, input->image,
    73                                                              input->weight, input->mask, maskIn,
     73                                                             input->variance, input->mask, maskIn,
    7474                                                             NAN, NAN, maskBad, maskPoor, poorFrac,
    7575                                                             numKernels);
    7676
    77     if (input->weight && !output->weight) {
    78         output->weight = psImageAlloc(output->image->numCols, output->image->numRows, PS_TYPE_F32);
    79         psImageInit(output->weight, NAN);
     77    if (input->variance && !output->variance) {
     78        output->variance = psImageAlloc(output->image->numCols, output->image->numRows, PS_TYPE_F32);
     79        psImageInit(output->variance, NAN);
    8080    }
    8181    if ((input->mask || maskPoor || maskBad) && !output->mask) {
Note: See TracChangeset for help on using the changeset viewer.