- Timestamp:
- Aug 30, 2013, 4:48:58 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20130711/ppStack/src/ppStackUpdateHeader.c
r34800 r36071 98 98 99 99 float value = options->norm ? pow(10.0, -0.4*options->norm->data.F32[i]) : NAN; 100 if ((options->inputMask)&&(options->inputMask->data.PS_TYPE_VECTOR_MASK_DATA[i])) { 101 value = 0.0; // If this is NAN, then it's recorded in the header as a character string instead of a float. 102 } 100 103 snprintf (field, 64, "SCL_%04d", i); 101 104 psMetadataAddF32(hdu->header, PS_LIST_TAIL, field, PS_META_REPLACE, "input image scale factor", value); … … 132 135 expROhdu->header = psMetadataAlloc(); 133 136 } 137 134 138 expRO->parent->parent->parent->hdu->header = psMetadataCopy(expRO->parent->parent->parent->hdu->header, 135 139 outRO->parent->parent->parent->hdu->header);
Note:
See TracChangeset
for help on using the changeset viewer.
