IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 2, 2006, 1:30:35 PM (20 years ago)
Author:
eugene
Message:

updated to use new image/subimage/region coordinate consistency

File:
1 edited

Legend:

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

    r6056 r6311  
    1515    pmModel *modelRef = pmModelAlloc(psf->type);
    1616
    17     // use this image region
    18     xc = 0.5*readout->image->numCols;
    19     yc = 0.5*readout->image->numRows;
     17    // use center of the image
     18    xc = 0.5*(readout->image->numCols + readout->image->col0);
     19    yc = 0.5*(readout->image->numRows + readout->image->row0);
    2020    dx = psf->growth->maxRadius + 1;
    2121    dy = psf->growth->maxRadius + 1;
Note: See TracChangeset for help on using the changeset viewer.