IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9837


Ignore:
Timestamp:
Nov 3, 2006, 5:09:15 AM (20 years ago)
Author:
eugene
Message:

use center of center pixel for ref object

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotGrowthCurve.c

    r9807 r9837  
    1717    pmModel *modelRef = pmModelAlloc(psf->type);
    1818
    19     // use center of the image
    20     xc = 0.5*readout->image->numCols + readout->image->col0;
    21     yc = 0.5*readout->image->numRows + readout->image->row0;
     19    // use the center of the center pixel of the image
     20    xc = 0.5*readout->image->numCols + readout->image->col0 + 0.5;
     21    yc = 0.5*readout->image->numRows + readout->image->row0 + 0.5;
    2222    dx = psf->growth->maxRadius + 1;
    2323    dy = psf->growth->maxRadius + 1;
Note: See TracChangeset for help on using the changeset viewer.