Changeset 9737 for trunk/ppMerge/src/ppMergeCombine.c
- Timestamp:
- Oct 24, 2006, 2:16:45 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ppMerge/src/ppMergeCombine.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/src/ppMergeCombine.c
r9541 r9737 113 113 pmReadout *readout = pmReadoutAlloc(cell); // Output readout of interest 114 114 psArray *stack = psArrayAlloc(filenames->n); // Stack of readouts to combine 115 stack->n = filenames->n;116 115 psVector *cellScales = NULL; // Scales for this cell 117 116 if (scales) { … … 128 127 int numRead = 0; // Number of inputs read 129 128 psVector *exptimes = psVectorAlloc(filenames->n, PS_TYPE_F32); // Reference measurements 130 exptimes->n = filenames->n;131 129 psVectorInit(exptimes, 0); 132 130 psArray *images = psArrayAlloc(filenames->n); // Array of images 133 131 psArray *weights = psArrayAlloc(filenames->n); // Array of weights 134 132 psArray *masks = psArrayAlloc(filenames->n); // Array of masks 135 images->n = masks->n = weights->n = filenames->n;136 133 for (int i = 0; i < filenames->n; i++) { 137 134 if (! filenames->data[i] || strlen(filenames->data[i]) == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.
