IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35583


Ignore:
Timestamp:
May 14, 2013, 1:31:41 PM (13 years ago)
Author:
watersc1
Message:

Add check for null readouts (these probably should be masked upstream) in pmDarkCombine. These have no data (obviously), and so need to be skipped.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmDark.c

    r34800 r35583  
    433433                }
    434434                pmReadout *readout = inputs->data[r]; // Input readout
     435                if ((!readout)||(!readout->image)) {
     436                  mask->data.PS_TYPE_VECTOR_MASK_DATA[r] = 0xff;
     437                  continue;
     438                }                 
    435439                int yIn = i - readout->row0; // y position on input readout
    436440                int xIn = j - readout->col0; // x position on input readout
Note: See TracChangeset for help on using the changeset viewer.