IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26807


Ignore:
Timestamp:
Feb 6, 2010, 2:00:20 PM (16 years ago)
Author:
eugene
Message:

pixel to index is -0.5 not +0.5

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psModules/src/imcombine/pmSubtraction.c

    r26794 r26807  
    883883                // Mask out the stamp in the image so you it's not found again
    884884                psTrace("psModules.imcombine", 3, "Rejecting stamp %d (%d,%d)\n", i,
    885                         (int)(stamp->x + 0.5), (int)(stamp->y + 0.5));
     885                        (int)(stamp->x - 0.5), (int)(stamp->y - 0.5));
    886886                psStringAppend(&log, "Stamp %d (%d,%d): %f\n", i,
    887                                (int)(stamp->x + 0.5), (int)(stamp->y + 0.5),
     887                               (int)(stamp->x - 0.5), (int)(stamp->y - 0.5),
    888888                               fabsf(deviations->data.F32[i] - mean));
    889889                numRejected++;
Note: See TracChangeset for help on using the changeset viewer.