- Timestamp:
- Jan 26, 2023, 10:42:21 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ppImage.20230123/src/ppImageParseCamera.c
r42321 r42328 104 104 105 105 if (options->doNonLin) { 106 if (!ppImageDefineFile(config, input->fpa, "PPIMAGE.LINEARITY", "LINEARITY", 107 PM_FPA_FILE_LINEARITY, PM_DETREND_TYPE_LINEARITY)) { 108 psError(PS_ERR_IO, false, "Can't find a non-linearity correction source"); 109 psFree(options); 110 return NULL; 111 } 112 } 113 114 if (options->doNonLinNew) { 115 if (!ppImageDefineFile(config, input->fpa, "PPIMAGE.NONLIN_NEW", "NONLIN_NEW", 116 PM_FPA_FILE_NONLIN_NEW, PM_DETREND_TYPE_NONLIN_NEW)) { 117 psError(PS_ERR_IO, false, "Can't find a new non-linearity correction source"); 118 psFree(options); 119 return NULL; 120 } 106 if (!ppImageDefineFile(config, input->fpa, "PPIMAGE.LINEARITY", "LINEARITY", 107 PM_FPA_FILE_LINEARITY, PM_DETREND_TYPE_LINEARITY)) { 108 psError(PS_ERR_IO, false, "Can't find a non-linearity correction source"); 109 psFree(options); 110 return NULL; 111 } 112 } 113 if (options->doNewNonLin) { 114 // if the file has been specified on the command-line (-newnonlin file), then the file 115 // is identified by the NEWNONLIN entry in config->arguments. otherwise, load from the 116 // detrend system as type NEWNONLIN 117 if (!ppImageDefineFile(config, input->fpa, "PPIMAGE.NEWNONLIN", "NEWNONLIN", 118 PM_FPA_FILE_NEWNONLIN, PM_DETREND_TYPE_NEWNONLIN)) { 119 psError(PS_ERR_IO, false, "Can't find a new non-linearity correction source"); 120 psFree(options); 121 return NULL; 122 } 121 123 } 122 124
Note:
See TracChangeset
for help on using the changeset viewer.
