IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 7, 2005, 6:03:09 PM (21 years ago)
Author:
Paul Price
Message:

Fixed half-pixel problem. Reassessed default parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/stac/src/stacRejection.c

    r3375 r3387  
    110110                if (region->data.U8[y][x]) {
    111111
    112                     inCoords->x = (double)x;
    113                     inCoords->y = (double)y;
     112                    inCoords->x = (double)x + 0.5;
     113                    inCoords->y = (double)y + 0.5;
    114114                    (void)psPlaneTransformApply(outCoords, map, inCoords);
    115115                    float maskVal = (float)psImagePixelInterpolate(reject, outCoords->x, outCoords->y,
Note: See TracChangeset for help on using the changeset viewer.