Changeset 35118 for trunk/ppBackground/src/ppBackgroundCamera.c
- Timestamp:
- Feb 7, 2013, 1:40:20 PM (13 years ago)
- File:
-
- 1 edited
-
trunk/ppBackground/src/ppBackgroundCamera.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppBackground/src/ppBackgroundCamera.c
r28289 r35118 65 65 } 66 66 67 fileArguments("VARIANCE", data->varianceName, "Input uncorrected variance", data->config); 68 pmFPAfileBindFromArgs(&status, image, data->config, "PPBACKGROUND.VARIANCE", "VARIANCE"); // File 69 if (!status) { 70 psError(psErrorCodeLast(), false, "Failed to build file from PPBACKGROUND.VARIANCE"); 71 return false; 72 } 73 74 if (data->auxMaskName) { 75 fileArguments("AUXMASK", data->auxMaskName, "Auxiliary mask", data->config); 76 pmFPAfileBindFromArgs(&status, image, data->config, "PPBACKGROUND.AUXMASK", "AUXMASK"); // File 77 if (!status) { 78 psError(psErrorCodeLast(), false, "Failed to build file from PPBACKGROUND.MASK"); 79 return false; 80 } 81 } 82 67 83 pmFPAfile *output = pmFPAfileDefineOutput(data->config, image->fpa, "PPBACKGROUND.OUTPUT"); 68 84 if (!output) { … … 79 95 outMask->save = true; 80 96 97 pmFPAfile *outVariance = pmFPAfileDefineOutput(data->config, output->fpa, "PPBACKGROUND.OUTPUT.VARIANCE"); 98 if (!outVariance) { 99 psError(psErrorCodeLast(), false, "Unable to define output."); 100 return false; 101 } 102 outVariance->save = true; 103 81 104 #if 0 82 105 // Now the camera has been determined, we can read the recipe
Note:
See TracChangeset
for help on using the changeset viewer.
