- Timestamp:
- Sep 9, 2009, 8:42:16 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20090715/psModules/src/objects/pmSourceFitModel.c
r23989 r25303 96 96 97 97 // Convert i/j to image space: 98 coord->data.F32[0] = (psF32) (j + source->pixels->col0); 99 coord->data.F32[1] = (psF32) (i + source->pixels->row0); 98 // 0.5 PIX: the coordinate values must be in pixel coords, not index 99 coord->data.F32[0] = (psF32) (j + 0.5 + source->pixels->col0); 100 coord->data.F32[1] = (psF32) (i + 0.5 + source->pixels->row0); 100 101 x->data[nPix] = (psPtr *) coord; 101 102 y->data.F32[nPix] = source->pixels->data.F32[i][j];
Note:
See TracChangeset
for help on using the changeset viewer.
