Changeset 7522 for trunk/ppImage/src/ppImage.c
- Timestamp:
- Jun 11, 2006, 11:08:59 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImage.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImage.c
r6849 r7522 9 9 // Determine camera, format from header if not already defined 10 10 // Construct camera in preparation for reading 11 pmConfig *config = ppImageConfig(&argc, argv); 11 pmConfig *config = ppImageArguments(&argc, argv); 12 if (config == NULL) { 13 psErrorStackPrint(stderr, ""); 14 exit(1); 15 } 12 16 13 // Set various tasks (define optional operations) 14 ppImageOptions *options = ppImageOptionsParse(config); 15 17 // define recipe options 16 18 // define the active I/O files 17 ppImageParseDetrend(options, config); 19 ppImageOptions *options = ppImageParseCamera(config); 20 if (options == NULL) { 21 psErrorStackPrint(stderr, ""); 22 exit(1); 23 } 18 24 19 25 // Image Arithmetic Loop 20 ppImageLoop(options, config); 26 ppImageLoop(config, options); 27 28 psLogMsg ("psphot", 3, "complete psphot run: %f sec\n", psTimerMark ("complete")); 21 29 22 30 // Cleaning up 23 psFree(options); 24 psFree(config); 25 psTimerStop(); 26 psTraceReset(); 27 pmConceptsDone(); 28 pmConfigDone(); 29 // ppMemCheck(); 30 fprintf (stderr, "found %d leaks at %s\n", psMemCheckLeaks (0, NULL, NULL, false), "ppImage"); 31 ppImageCleanup(config, options); 31 32 return EXIT_SUCCESS; 32 33 }
Note:
See TracChangeset
for help on using the changeset viewer.
