IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2006, 4:16:05 PM (20 years ago)
Author:
Paul Price
Message:

Restoring pmMaskBadPixels to the build (it has different functionality than pmReadoutSetMask, which only sets the mask on the basis of the image pixels, not on the basis of an independent bad pixel mask). Moved pmMaskValue to pmFPAMaskWeight.h, since it's related to the camera more than the detrend step. Changed a whole heap of #include statements to point to the new location.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAMaskWeight.h

    r7017 r7283  
    44#include "pmFPA.h"
    55
     6// these defines are necessary to yield 8-bit results (use instead of ~)
     7#define NOT_U8(A)(UCHAR_MAX-(A))
     8#define NOT_U16(A)(USHORT_MAX-(A))
     9
    610/** Mask values */
    711typedef enum {
    8     PM_MASK_TRAP    = 0x0001,   ///< The pixel is a charge trap.
    9     PM_MASK_BADCOL  = 0x0002,   ///< The pixel is a bad column.
    10     PM_MASK_SAT     = 0x0004,   ///< The pixel is saturated.
    11     PM_MASK_BAD     = 0x0008,   ///< The pixel is low
    12     PM_MASK_FLAT    = 0x0010    ///< The pixel is non-positive in the flat-field.
     12    PM_MASK_CLEAR   = 0x00,   ///< The pixel is not masked
     13    PM_MASK_TRAP    = 0x01,   ///< The pixel is a charge trap.
     14    PM_MASK_BADCOL  = 0x02,   ///< The pixel is a bad column.
     15    PM_MASK_SAT     = 0x04,   ///< The pixel is saturated.
     16    PM_MASK_BAD     = 0x08,   ///< The pixel is low
     17    PM_MASK_FLAT    = 0x10,   ///< The pixel is non-positive in the flat-field.
     18    PM_MASK_MARK    = 0x20,   ///< The pixel is marked as temporarily ignored
     19    PM_MASK_EXT1    = 0x40,   ///< This mask value is not used
     20    PM_MASK_EXT2    = 0x80,   ///< This mask value is not used
    1321} pmMaskValue;
    1422
Note: See TracChangeset for help on using the changeset viewer.