IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2007, 5:51:03 PM (19 years ago)
Author:
Paul Price
Message:

Adding pmConfigMask to use symbolic names for mask values. Need to adapt APIs that use mask values to accept the values for those masks (which can be obtained from pmConfigMask).

File:
1 edited

Legend:

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

    r12696 r13591  
    1212#include "pmFlatField.h"
    1313
    14 bool pmFlatField(pmReadout *in, const pmReadout *flat)
     14bool pmFlatField(pmReadout *in, const pmReadout *flat, psMaskType badFlat)
    1515{
    1616    PS_ASSERT_PTR_NON_NULL(in, false);
     
    7979            if (flatValue <= 0.0 || (flatMask && flatMask->data.U8[j + yOffset][i + xOffset])) { \
    8080                if (inMask) { \
    81                     inMask->data.U8[j][i] |= PM_MASK_FLAT; \
     81                    inMask->data.PS_TYPE_MASK_DATA[j][i] |= badFlat; \
    8282                } \
    8383                inImage->data.TYPE[j][i] = SPECIAL; \
Note: See TracChangeset for help on using the changeset viewer.