IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24791


Ignore:
Timestamp:
Jul 14, 2009, 6:35:52 PM (17 years ago)
Author:
eugene
Message:

skip readouts marked false for processing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmReadoutCombine.c

    r23989 r24791  
    173173    for (int i = 0; i < inputs->n; i++) {
    174174        pmReadout *readout = inputs->data[i]; // Readout of interest
     175        psAssert(readout, "readout was not defined");
     176        if (!readout->process) continue;
    175177        if (!readout->image) {
    176178            psError(PS_ERR_UNEXPECTED_NULL, true, "Image data is missing for image %d.\n", i);
     
    271273        for (int r = 0; r < inputs->n; r++) {
    272274            pmReadout *readout = inputs->data[r]; // Input readout
     275            if (!readout->process) continue;
    273276            psTrace("psModules.imcombine", 3, "Iterating input %d: %d --> %d, %d --> %d\n", r,
    274277                    minInputCols - readout->col0, maxInputCols - readout->col0,
     
    308311            for (int r = 0; r < inputs->n; r++) {
    309312                pmReadout *readout = inputs->data[r]; // Input readout
     313                if (!readout->process) {
     314                    maskData[r] = 1;
     315                    continue;
     316                }
    310317                int yIn = i - readout->row0; // y position on input readout
    311318                int xIn = j - readout->col0; // x position on input readout
Note: See TracChangeset for help on using the changeset viewer.