IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20334


Ignore:
Timestamp:
Oct 22, 2008, 12:46:37 PM (18 years ago)
Author:
Paul Price
Message:

Need to mask bad pixels in input, which aren't always caught by the
mask (because of compression).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpTransformReadout.c

    r20312 r20334  
    6363    pswarpMapGridSetGrid(grid, xOutMax, yOutMax, &xGrid, &yGrid);
    6464    CHECK_GRID_RANGE();
     65
     66    if (!pmReadoutMaskNonfinite(input, pmConfigMaskGet("SAT", config))) {
     67        psError(PS_ERR_UNKNOWN, false, "Unable to mask non-finite pixels in input.");
     68        return false;
     69    }
    6570
    6671    // Interpolation options : move these from the arguments to explicit assignments
Note: See TracChangeset for help on using the changeset viewer.