Changeset 20447 for trunk/psModules/src/objects/pmGrowthCurveGenerate.c
- Timestamp:
- Oct 28, 2008, 2:00:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/objects/pmGrowthCurveGenerate.c
r20233 r20447 5 5 * @author EAM, IfA 6 6 * 7 * @version $Revision: 1. 2$ $Name: not supported by cvs2svn $8 * @date $Date: 2008-10- 17 22:58:41$7 * @version $Revision: 1.3 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2008-10-29 00:00:37 $ 9 9 * 10 10 * Copyright 2004 Institute for Astronomy, University of Hawaii … … 63 63 64 64 // use the center of the center pixel of the image 65 float xc = ix*readout->image->numCols + 0.5*readout->image->numCols+ readout->image->col0 + 0.5;66 float yc = iy*readout->image->numRows + 0.5*readout->image->numRows+ readout->image->row0 + 0.5;65 float xc = (int)(ix*readout->image->numCols + 0.5*readout->image->numCols) + readout->image->col0 + 0.5; 66 float yc = (int)(iy*readout->image->numRows + 0.5*readout->image->numRows) + readout->image->row0 + 0.5; 67 67 68 68 pmGrowthCurve *growth = pmGrowthCurveForPosition (readout->image, psf, ignore, maskVal, markVal, xc, yc);
Note:
See TracChangeset
for help on using the changeset viewer.
