IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 12, 2008, 4:53:39 PM (18 years ago)
Author:
Paul Price
Message:

Region wasn't in PS coordinates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmStackReject.c

    r16403 r16419  
    113113
    114114    // Now, grow the mask to include everything that touches a bad pixel in the convolution
    115     mask = psPixelsToMask(NULL, bad, psRegionSet(0, numCols, 0, numRows), 0xff);
     115    mask = psPixelsToMask(NULL, bad, psRegionSet(0, numCols - 1, 0, numRows - 1), 0xff);
    116116    for (int i = 0; i < bad->n; i++) {
    117117        int xPix = bad->data[i].x, yPix = bad->data[i].y; // Coordinates of interest
Note: See TracChangeset for help on using the changeset viewer.