Changeset 6056 for trunk/psphot/src/psphotGrowthCurve.c
- Timestamp:
- Jan 19, 2006, 2:55:33 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psphot/src/psphotGrowthCurve.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psphot/src/psphotGrowthCurve.c
r5986 r6056 5 5 // the 'center' option 6 6 7 bool psphotGrowthCurve ( eamReadout *imdata, pmPSF *psf) {7 bool psphotGrowthCurve (pmReadout *readout, pmPSF *psf) { 8 8 9 9 // bool status; … … 16 16 17 17 // use this image region 18 xc = 0.5* imdata->image->numCols;19 yc = 0.5* imdata->image->numRows;18 xc = 0.5*readout->image->numCols; 19 yc = 0.5*readout->image->numRows; 20 20 dx = psf->growth->maxRadius + 1; 21 21 dy = psf->growth->maxRadius + 1; … … 33 33 // generate working image for this source 34 34 psRegion region = {xc - dx, xc + dx, yc - dy, yc + dy}; 35 psImage *view = psImageSubset ( imdata->image, region);35 psImage *view = psImageSubset (readout->image, region); 36 36 psImage *image = psImageCopy (NULL, view, PS_TYPE_F32); 37 37 psImage *mask = psImageCopy (NULL, view, PS_TYPE_U8);
Note:
See TracChangeset
for help on using the changeset viewer.
