Changeset 41894 for trunk/ppImage/src/ppImageParseCamera.c
- Timestamp:
- Nov 4, 2021, 6:07:14 PM (5 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageParseCamera.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageParseCamera.c
r36169 r41894 117 117 pmDetrendSetThreadTasks(nScanRows); 118 118 } 119 ppImageSetThreads (); // even if threading is off, we need to identify the ppImageDetrendPattern thread function 119 120 120 121 if (options->doPatternRow || options->doPatternCell) { … … 180 181 psError (PS_ERR_IO, false, "Can't find a fringe image source"); 181 182 return NULL; 183 } 184 } 185 186 if (options->doPatternRow) { 187 if (!ppImageDefineFile(config, input->fpa, "PPIMAGE.PATTERN.ROW.AMP", "PATTERN.ROW.AMP", 188 PM_FPA_FILE_PATTERN_ROW_AMP, PM_DETREND_TYPE_PATTERN_ROW_AMP)) { 189 psWarning ("Can't find a pattern row amplitude source, will apply to all cells or defined subset"); 190 // an empty or invalid file may have been generated -- we want to skip, not raise an error 191 pmFPAfile *PRAfile = psMetadataLookupPtr (NULL, config->files, "PPIMAGE.PATTERN.ROW.AMP"); 192 if (PRAfile) { 193 PRAfile->state |= PM_FPA_STATE_INACTIVE; 194 } 182 195 } 183 196 }
Note:
See TracChangeset
for help on using the changeset viewer.
