Changeset 7382 for trunk/psModules/src/camera/pmChipMosaic.c
- Timestamp:
- Jun 6, 2006, 5:27:52 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmChipMosaic.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmChipMosaic.c
r7278 r7382 1 1 #include <stdio.h> 2 2 #include <assert.h> 3 #include "pslib.h"3 #include <pslib.h> 4 4 #include "pmFPA.h" 5 5 #include "pmHDU.h" 6 #include "psRegionIsBad.h"7 6 8 7 … … 52 51 pmCell *cell = cells->data[i]; // Cell of interest 53 52 psRegion *trimsec = psMetadataLookupPtr(&mdok, cell->concepts, "CELL.TRIMSEC"); // Trim section 54 if (!mdok || !trimsec || psRegionIs Bad(*trimsec)) {53 if (!mdok || !trimsec || psRegionIsNaN(*trimsec)) { 55 54 psError(PS_ERR_IO, true, "CELL.TRIMSEC hasn't been set for cell %d.\n", i); 56 55 return false; … … 86 85 psRegion *biassec = NULL; // Bias section from iteration 87 86 while ((biassec = psListGetAndIncrement(biassecsIter))) { 88 if (psRegionIs Bad(*biassec)) {87 if (psRegionIsNaN(*biassec)) { 89 88 continue; 90 89 }
Note:
See TracChangeset
for help on using the changeset viewer.
