Changeset 14834 for trunk/ppStack/src/ppStackReadout.c
- Timestamp:
- Sep 13, 2007, 5:39:58 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ppStack/src/ppStackReadout.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src/ppStackReadout.c
r14811 r14834 6 6 #include <pslib.h> 7 7 #include <psmodules.h> 8 #include <psphot.h> 8 9 9 10 #include "ppStack.h" … … 18 19 { 19 20 // Get the recipe values 21 bool mdok; // Status of MD lookup 20 22 int iter = psMetadataLookupS32(NULL, config->arguments, "ITER"); // Rejection iterations 21 23 float combineRej = psMetadataLookupF32(NULL, config->arguments, "COMBINE.REJ"); // Combination threshold … … 23 25 psMaskType maskBlank = psMetadataLookupU8(NULL, config->arguments, "MASK.BLANK"); // Mask for blank reg. 24 26 float threshold = psMetadataLookupF32(NULL, config->arguments, "THRESHOLD.MASK"); // Threshold for mask deconvolution 27 bool photometry = psMetadataLookupBool(&mdok, config->arguments, "PHOTOMETRY"); // Perform photometry? 25 28 26 29 // Get the output target … … 317 320 psFree(cellList); 318 321 322 if (photometry && !psphotReadout(config, view)) { 323 psError(psErrorCodeLast(), false, "Unable to perform photometry on stacked image.\n"); 324 return false; 325 } 326 327 328 329 319 330 psFree(stack); 320 331 psFree(outRO); // Drop reference
Note:
See TracChangeset
for help on using the changeset viewer.
