Changeset 7629 for trunk/ppImage/src/ppImageParseCamera.c
- Timestamp:
- Jun 21, 2006, 6:25:28 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppImage/src/ppImageParseCamera.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppImage/src/ppImageParseCamera.c
r7621 r7629 72 72 pmFPAfile *bin2 = pmFPAfileDefineFromFPA (config, byChip->fpa, options->xBin2, options->yBin2, "PPIMAGE.BIN2"); 73 73 74 // set the CELL.XBIN and CELL.YBIN for the output mosaiced FPAs75 for (int i = 0; i < byFPA1->fpa->chips->n; i++) {76 pmChip *chip = byFPA1->fpa->chips->data[i];77 for (int j = 0; j < chip->cells->n; j++) {78 pmCell *cell = chip->cells->data[j];79 psMetadataAddF32 (cell->concepts, PS_LIST_TAIL, "CELL.XBIN", PS_META_REPLACE, "", options->xBin1);80 psMetadataAddF32 (cell->concepts, PS_LIST_TAIL, "CELL.YBIN", PS_META_REPLACE, "", options->yBin1);81 }82 }83 for (int i = 0; i < byFPA2->fpa->chips->n; i++) {84 pmChip *chip = byFPA2->fpa->chips->data[i];85 for (int j = 0; j < chip->cells->n; j++) {86 pmCell *cell = chip->cells->data[j];87 psMetadataAddF32 (cell->concepts, PS_LIST_TAIL, "CELL.XBIN", PS_META_REPLACE, "", options->xBin2);88 psMetadataAddF32 (cell->concepts, PS_LIST_TAIL, "CELL.YBIN", PS_META_REPLACE, "", options->yBin2);89 }90 }91 92 74 // bin1 and bin2 are used as carriers: input for byFPA1, byFPA2 93 75 bin1->freeLevel = PM_FPA_LEVEL_FPA;
Note:
See TracChangeset
for help on using the changeset viewer.
