Changeset 28281 for trunk/ppBackground/src/ppBackgroundLoop.c
- Timestamp:
- Jun 9, 2010, 6:36:37 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ppBackground/src/ppBackgroundLoop.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppBackground/src/ppBackgroundLoop.c
r28280 r28281 6 6 #include <pslib.h> 7 7 #include <psmodules.h> 8 #include <ppStats.h> 8 9 9 10 #include "ppBackground.h" … … 18 19 pmFPA *patternMosaic = pmFPAConstruct(file->camera, file->cameraName); // Mosaicked FPA for pattern 19 20 20 psImageMaskType maskBad = pmConfigMaskGet(" BLANK", config); // Mask value to set21 psImageMaskType maskBad = pmConfigMaskGet("DETECTOR", config); // Mask value to set 21 22 22 23 pmFPAview *view = pmFPAviewAlloc(0); // Pointer into FPA hierarchy … … 154 155 } 155 156 157 psFree(patternMosaic); 158 159 if (data->stats) { 160 psImageMaskType maskVal = 0; // Bits to mask 161 if (!pmConfigMaskSetBits(&maskVal, NULL, config)) { 162 psError(psErrorCodeLast(), false, "Unable to find bits to mask"); 163 return false; 164 } 165 ppStatsFPA(data->stats, file->fpa, view, maskVal, config); 166 } 167 156 168 psFree(view); 157 psFree(patternMosaic);158 169 159 170 return true;
Note:
See TracChangeset
for help on using the changeset viewer.
