Changeset 7204 for trunk/psModules/src/imcombine/pmReadoutCombine.c
- Timestamp:
- May 24, 2006, 6:06:28 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/imcombine/pmReadoutCombine.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/imcombine/pmReadoutCombine.c
r7194 r7204 5 5 * @author GLG, MHPCC 6 6 * 7 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $8 * @date $Date: 2006-05-2 4 05:08:52$7 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2006-05-25 04:06:28 $ 9 9 * 10 10 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 179 179 minInputCols = PS_MIN(minInputCols, readout->col0); 180 180 maxInputCols = PS_MAX(maxInputCols, readout->col0 + readout->image->numCols); 181 psTrace(__func__, 7, "Readout %d: offset %d,%d; size %dx%d\n", i, 182 readout->col0, readout->row0, readout->image->numCols, readout->image->numRows); 181 183 // Bounds of input image 182 184 rowLower->data.U32[i] = readout->row0; … … 192 194 // If there's existing images, we need to extend them 193 195 long minOutputRows = (output->image || output->mask || output->weight) ? 194 PS_MIN(minInputRows, output->row0) : minInputRows; // Smallest row value, considering the output196 PS_MIN(minInputRows, output->row0) : minInputRows; // Smallest output row value 195 197 long minOutputCols = (output->image || output->mask || output->weight) ? 196 PS_MIN(minInputCols, output->col0) : minInputCols; // Smallest column value, considering the output 198 PS_MIN(minInputCols, output->col0) : minInputCols; // Smallest output column value 199 psTrace(__func__, 7, "Output minimum: %d,%d\n", minOutputCols, minOutputRows); 197 200 198 201 // Update the origin … … 267 270 psMaskType maskVal = params->maskVal; // The mask value 268 271 272 psTrace(__func__, 3, "Iterating %d --> %d, %d --> %d\n", 273 minInputCols - output->col0, maxInputCols - output->col0, 274 minInputRows - output->row0, maxInputRows - output->row0); 275 269 276 for (int i = minInputRows; i < maxInputRows; i++) { 270 277 for (int j = minInputCols; j < maxInputCols; j++) {
Note:
See TracChangeset
for help on using the changeset viewer.
