Changeset 19705 for trunk/psModules/src/camera/pmFPABin.c
- Timestamp:
- Sep 23, 2008, 1:21:33 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmFPABin.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmFPABin.c
r19695 r19705 60 60 out->data_exists = true; 61 61 if (out->parent) { 62 out->parent->data_exists = out->parent->parent->data_exists = true; 62 pmCell *outCell = out->parent; // Output cell 63 outCell->data_exists = outCell->parent->data_exists = true; 64 65 if (in->parent) { 66 pmCell *inCell = in->parent;// Input cell 67 psFree(outCell->concepts); 68 outCell->concepts = psMetadataCopy(NULL, inCell->concepts); 69 } 70 71 // Update the concepts with the new values for the binning 72 psMetadataItem *binItem = psMetadataLookup(outCell->concepts, "CELL.XBIN"); 73 binItem->data.S32 *= xBin; 74 binItem = psMetadataLookup(outCell->concepts, "CELL.YBIN"); 75 binItem->data.S32 *= yBin; 63 76 } 64 77
Note:
See TracChangeset
for help on using the changeset viewer.
