Changeset 13756
- Timestamp:
- Jun 11, 2007, 1:13:31 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmReadoutCombine.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmReadoutCombine.c
r13591 r13756 107 107 for (long i = 0; i < inputs->n; i++) { 108 108 pmReadout *readout = inputs->data[i]; // Readout of interest 109 pmCell *cell = readout->parent; // The parent cell110 109 111 110 if (!readout || !readout->image) { … … 114 113 } 115 114 115 // XXX the use of trimsec here to judge the output size is inconsistent with the values of 116 // minInputRows,etc below 117 # if (0) 118 pmCell *cell = readout->parent; // The parent cell 116 119 bool mdok = true; // Status of MD lookup 117 120 psRegion *trimsec = psMetadataLookupPtr(&mdok, cell->concepts, "CELL.TRIMSEC"); // Trim section … … 122 125 ySize = PS_MAX(ySize, trimsec->y1 - trimsec->y0); 123 126 } 127 # endif 124 128 125 129 if (params->weights && !readout->weight) { … … 139 143 readout->col0, readout->row0, readout->image->numCols, readout->image->numRows); 140 144 } 145 146 // full size of the output image 147 xSize = maxInputCols - minInputCols; 148 ySize = maxInputRows - minInputRows; 149 141 150 if (!valid) { 142 151 psError(PS_ERR_IO, true, "No valid inputs.\n"); … … 145 154 146 155 // Update the origin 156 // XXX EAM : use a macro (see psImage.h for PS_IMAGE_SET_ROW0, etc) 147 157 if (output->image) { 148 158 *(psS32 *) &(output->col0) = PS_MIN(minInputCols, output->col0);
Note:
See TracChangeset
for help on using the changeset viewer.
