Changeset 7749 for trunk/ppImage/src/ppFocus.c
- Timestamp:
- Jun 29, 2006, 8:09:31 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppFocus.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppFocus.c
r7738 r7749 17 17 } 18 18 19 // define recipe options20 // define the active I/O files21 ppImageOptions *options = ppFocusParseCamera(config);22 if (options == NULL) {23 psErrorStackPrint(stderr, "");24 exit(1);25 }26 27 19 // we search the argument data for the named fileset (argname) 28 20 psArray *infiles = psMetadataLookupPtr(NULL, config->arguments, "INPUT"); … … 38 30 for (int i = 0; i < infiles->n; i++) { 39 31 32 // define recipe options 33 // define the active I/O files 34 ppImageOptions *options = ppFocusParseCamera(config, i); 35 if (options == NULL) { 36 psErrorStackPrint(stderr, ""); 37 exit(1); 38 } 39 40 40 // Image Arithmetic Loop 41 // XXX ppFocus REQUIRES photom: for it to be true? 41 42 if (!ppImageLoop(config, options)) { 42 43 psErrorStackPrint(stderr, ""); … … 48 49 ppFocusGetFWHM (config, focus, fwhm); 49 50 50 // silently ignore failure for (i == infiles->n)51 p mFPAfileDefineSingleFromArgs (NULL, config, "PPIMAGE.INPUT", "INPUT", i+1);51 ppFocusDropCamera (config); 52 psFree (options); 52 53 } 53 54 … … 57 58 58 59 // Cleaning up 59 ppImageCleanup(config, options);60 ppImageCleanup(config, NULL); 60 61 return EXIT_SUCCESS; 61 62 }
Note:
See TracChangeset
for help on using the changeset viewer.
