Changeset 9945 for trunk/psModules/src/camera/pmFPAMosaic.c
- Timestamp:
- Nov 9, 2006, 4:17:37 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPAMosaic.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPAMosaic.c
r9596 r9945 211 211 int xBinCell = psMetadataLookupS32(&mdok, cell->concepts, "CELL.XBIN"); // Binning in x 212 212 if (!mdok || xBin <= 0) { 213 psError(PS_ERR_UNKNOWN, true, "CELL.X PARITYhasn't been set for cell.\n");213 psError(PS_ERR_UNKNOWN, true, "CELL.XBIN hasn't been set for cell.\n"); 214 214 return false; 215 215 } 216 216 int yBinCell = psMetadataLookupS32(&mdok, cell->concepts, "CELL.YBIN"); // Binning in y 217 217 if (!mdok || yBin <= 0) { 218 psError(PS_ERR_UNKNOWN, true, "CELL.Y PARITYhasn't been set for cell.\n");218 psError(PS_ERR_UNKNOWN, true, "CELL.YBIN hasn't been set for cell.\n"); 219 219 return false; 220 220 } … … 623 623 psError(PS_ERR_UNKNOWN, true, "CELL.XBIN for cell is not set.\n"); 624 624 good = false; 625 } 626 if (xBin->data.S32[index] < *xBinMin) { 625 } else if (xBin->data.S32[index] < *xBinMin) { 627 626 *xBinMin = xBin->data.S32[index]; 628 627 } … … 631 630 psError(PS_ERR_UNKNOWN, true, "CELL.YBIN for cell is not set.\n"); 632 631 good = false; 633 } 634 if (yBin->data.S32[index] < *yBinMin) { 632 } else if (yBin->data.S32[index] < *yBinMin) { 635 633 *yBinMin = yBin->data.S32[index]; 636 634 }
Note:
See TracChangeset
for help on using the changeset viewer.
