- Timestamp:
- Jan 6, 2009, 7:13:34 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branch_20081230/psphot/src/psphotSetMaskBits.c
r21072 r21087 10 10 bool psphotSetMaskBits (pmConfig *config) { 11 11 12 ps MaskType maskValue;13 ps MaskType markValue;12 psImageMaskType maskValue; 13 psImageMaskType markValue; 14 14 15 15 if (!pmConfigMaskSetBits (&maskValue, &markValue, config)) { … … 26 26 27 27 // set maskValue and markValue in the psphot recipe 28 psMetadataAdd U8(recipe, PS_LIST_TAIL, "MARK.PSPHOT", PS_META_REPLACE, "user-defined mask", markValue);29 psMetadataAdd U8(recipe, PS_LIST_TAIL, "MASK.PSPHOT", PS_META_REPLACE, "user-defined mask", maskValue);28 psMetadataAddImageMask (recipe, PS_LIST_TAIL, "MARK.PSPHOT", PS_META_REPLACE, "user-defined mask", markValue); 29 psMetadataAddImageMask (recipe, PS_LIST_TAIL, "MASK.PSPHOT", PS_META_REPLACE, "user-defined mask", maskValue); 30 30 31 31 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
