- Timestamp:
- Jan 6, 2009, 7:13:34 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20081230/psphot/src/psphotRadialProfile.c
r17396 r21087 17 17 } 18 18 19 bool psphotRadialProfile (pmSource *source, psMetadata *recipe, ps MaskType maskVal) {19 bool psphotRadialProfile (pmSource *source, psMetadata *recipe, psImageMaskType maskVal) { 20 20 21 21 // allocate pmSourceExtendedParameters, if not already defined … … 54 54 for (int iy = 0; iy < source->pixels->numRows; iy++) { 55 55 for (int ix = 0; ix < source->pixels->numCols; ix++) { 56 if (source->maskObj->data. U8[iy][ix]) continue;56 if (source->maskObj->data.PS_TYPE_IMAGE_MASK_DATA[iy][ix]) continue; 57 57 radius->data.F32[n] = hypot (ix - Xo, iy - Yo) ; 58 58 flux->data.F32[n] = source->pixels->data.F32[iy][ix];
Note:
See TracChangeset
for help on using the changeset viewer.
