Changeset 20180 for trunk/dvoTools/src/dvoMakeCorrParseCamera.c
- Timestamp:
- Oct 15, 2008, 5:51:49 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/dvoTools/src/dvoMakeCorrParseCamera.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dvoTools/src/dvoMakeCorrParseCamera.c
r11804 r20180 7 7 dvoMakeCorrOptions *dvoMakeCorrParseCamera (pmConfig *config) { 8 8 9 // the REFERENCE image defines the camera, and all recipes and options the follow 10 pmFPAfile *refhead = pmFPAfileDefineFromArgs (NULL, config, "DVOCORR.REFHEAD", "REFHEAD"); 11 if (!refhead) { 12 psError(PS_ERR_IO, false, "Failed to build FPA from DVOCORR.REFHEAD"); 13 return NULL; 14 } 15 9 16 // the input image defines the camera, and all recipes and options the follow 10 17 pmFPAfile *input = pmFPAfileDefineFromArgs (NULL, config, "DVOCORR.INPUT", "INPUT"); 11 18 if (!input) { 12 19 psError(PS_ERR_IO, false, "Failed to build FPA from DVOCORR.INPUT"); 13 return NULL;14 }15 16 // the input image defines the camera, and all recipes and options the follow17 pmFPAfile *refhead = pmFPAfileDefineFromArgs (NULL, config, "DVOCORR.REFHEAD", "REFHEAD");18 if (!refhead) {19 psError(PS_ERR_IO, false, "Failed to build FPA from DVOCORR.REFHEAD");20 20 return NULL; 21 21 } … … 29 29 // the following files are output targets 30 30 // XXX get the binning from where? 31 pmFPAfile *output = pmFPAfileDefineFromFPA(config, input->fpa, 1, 1, "DVOCORR.OUTPUT");31 pmFPAfile *output = pmFPAfileDefineFromFPA(config, refhead->fpa, 1, 1, "DVOCORR.OUTPUT"); 32 32 if (!output) { 33 33 psError(PS_ERR_IO, false, _("Unable to generate output file from DVOCORR.OUTPUT")); … … 35 35 return NULL; 36 36 } 37 output->save = TRUE; 37 38 38 39 // Chip selection: turn on only the chips specified (pass status to suppress missing-key log msg)
Note:
See TracChangeset
for help on using the changeset viewer.
