Changeset 28043 for trunk/ppImage/src
- Timestamp:
- May 19, 2010, 5:13:52 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
- 1 copied
-
. (modified) (1 prop)
-
ppImage/src/Makefile.am (modified) (1 diff)
-
ppImage/src/ppImage.h (modified) (3 diffs)
-
ppImage/src/ppImageLoop.c (modified) (2 diffs)
-
ppImage/src/ppImageMaskStats.c (copied) (copied from branches/czw_branch/20100427/ppImage/src/ppImageMaskStats.c )
-
ppImage/src/ppImageOptions.c (modified) (3 diffs)
-
ppImage/src/ppImageVersion.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/czw_branch/20100427 (added) merged: 27784,28017-28018,28028-28033,28042
- Property svn:mergeinfo changed
-
trunk/ppImage/src/Makefile.am
r25930 r28043 44 44 ppImageRebinReadout.c \ 45 45 ppImageMosaic.c \ 46 ppImageMaskStats.c \ 46 47 ppImagePhotom.c \ 47 48 ppImageAstrom.c \ -
trunk/ppImage/src/ppImage.h
r26895 r28043 49 49 bool applyParity; // Apply Cell parities 50 50 51 bool doMaskStats; // Calculate mask statistics 52 51 53 bool doCrosstalkMeasure; // measure crosstalk signal 52 54 bool doCrosstalkCorrect; // apply crosstalk correction … … 110 112 111 113 char *normClass; // class to use for per-class normalization 114 115 psU16 maskstat_static; 116 psU16 maskstat_dynamic; 117 psU16 maskstat_magic; 118 psU16 maskstat_advisory; 119 112 120 } ppImageOptions; 113 121 … … 268 276 ); 269 277 278 // Calculate Mask statistics 279 bool ppImageMaskStats(pmConfig *config, pmFPAview *view, psMetadata *stats); 280 270 281 // calculate stats from headers and concepts 271 282 bool ppImageMetadataStats(pmConfig *config, // Configuration -
trunk/ppImage/src/ppImageLoop.c
r27556 r28043 196 196 } 197 197 198 if (options->doMaskStats) { 199 //if (!ppImageMaskStats(config, view, options)) { 200 if (!ppImageMaskStats(config, view, stats)) { 201 ESCAPE("Unable to do Mask stats"); 202 } 203 } 204 198 205 // these may be used by ppImageSubtractBackground. 199 206 // if these are defined as internal files, drop them here … … 252 259 ppImageFileCheck(config); 253 260 } 254 261 255 262 // Calculate summary statistics from FPA Metadata 256 263 if (!ppImageMetadataStats(config, stats, options)) { -
trunk/ppImage/src/ppImageOptions.c
r26895 r28043 41 41 options->checkCTE = false; // Measure pixel-based variance 42 42 options->applyParity = false; // Apply Cell parities 43 43 options->doMaskStats = false; // Calculate mask fractions 44 44 45 // output files requested 45 46 options->BaseFITS = false; // create output image … … 243 244 options->doPatternRow = psMetadataLookupBool(NULL, recipe, "PATTERN.ROW"); 244 245 options->doPatternCell = psMetadataLookupBool(NULL, recipe, "PATTERN.CELL"); 246 options->doMaskStats = psMetadataLookupBool(NULL, recipe, "MASK.STATS"); 245 247 246 248 options->doStats = false; … … 341 343 options->normClass = psMetadataLookupStr(NULL, recipe, "NORM.CLASS"); 342 344 345 options->maskstat_static = psMetadataLookupU16(NULL, recipe, "MASKSTAT.STATIC"); 346 options->maskstat_dynamic = psMetadataLookupU16(NULL, recipe, "MASKSTAT.DYNAMIC"); 347 options->maskstat_magic = psMetadataLookupU16(NULL, recipe, "MASKSTAT.MAGIC"); 348 options->maskstat_advisory = psMetadataLookupU16(NULL, recipe, "MASKSTAT.ADVISORY"); 349 350 343 351 return options; 344 352 } -
trunk/ppImage/src/ppImageVersion.c
r23796 r28043 68 68 psString source = ppImageSource(); // ppImage software source 69 69 70 psMetadataAddStr(header, PS_LIST_TAIL, "IMAGE_V", PS_META_REPLACE, NULL, PPIMAGE_VERSION); 71 70 72 psStringPrepend(&version, "ppImage version: "); 71 73 psStringPrepend(&source, "ppImage source: ");
Note:
See TracChangeset
for help on using the changeset viewer.
