Changeset 19440
- Timestamp:
- Sep 9, 2008, 2:10:40 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ippconfig/recipes/masks.config (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippconfig/recipes/masks.config
r19135 r19440 1 1 ### Recipe specifying values for various mask concepts 2 2 3 # this file defines bit values for various abstract mask concepts. It 4 # is not necessary for all bit values to be unique. Note that there 5 # are two main classes: detector-intrinsic and detector-extrinsic 6 # effects. The former will default to DETECTOR and the latter to 7 # RANGE if those values are not specifed 3 # This file defines bit values for various abstract mask concepts. It 4 # is not necessary for all bit values to be unique. 8 5 9 6 # Note that it is necessary to leave at least a single unassigned bit 10 7 # for internal marking (or ppImage will complain) 11 8 12 # these mask values are used for detector intrinsic effects13 # BLANK and FLAT will be set to DETECTOR if not specified14 DETECTOR U8 0x01 # Generic detector-intrinsic defect15 BLANK U8 0x01 # The pixel is blank or has no (valid) data16 DARK U8 0x02 # The pixel is not correctable for dark current17 FLAT U8 0x02 # The pixel is non-positive in the flat-field18 9 19 # these mask values are used for detector extrinsic effects 20 # SAT and BAD will be set to RANGE if not specified 21 RANGE U8 0x04 # The pixel is out of range in the image of interest 22 SAT U8 0x04 # The pixel is saturated in the image of interest 23 BAD U8 0x08 # The pixel is low in the image of interest 10 # The following values are TEMPORARY, to be used only until we can get 11 # the masking situation sorted out (PAP, 2008-09-09) 12 # The following values are constrained by the fact that the GPC1 mask values are set: 13 DETECTOR U8 0x02 # Something is wrong with the detector =2 14 FLAT U8 0x04 # Pixel doesn't flat-field properly =4 15 DARK U8 0x40 # Pixel doesn't dark-subtract properly =64 16 # Filling in the rest with whatever makes some sense 17 BLANK U8 0x01 # Pixel doesn't contain valid data 18 RANGE U8 0x01 # Pixel is out-of-range of linearity 19 SAT U8 0x01 # Pixel is saturated 20 BAD U8 0x01 # Pixel is low 21 POOR.WARP U8 0x08 # Pixel is poor after convolution with a bad pixel 22 BAD.WARP U8 0x10 # Pixel is bad after convolution with a bad pixel 23 CR U8 0x20 # Pixel contains a cosmic ray 24 GHOST U8 0x20 # Pixel contains an optical ghost 24 25 25 GHOST U8 0x08 # The pixel is probably part of a ghost26 CR U8 0x10 # The pixel is probably a CR27 26 28 BAD.WARP U8 0x20 # The pixel is low in the image of interest 29 POOR.WARP U8 0x40 # The pixel is low in the image of interest 30 31 # 9 total distinct concepts in here 32 # we need one bit for MARK 27 ###### The following values are what I'm aiming to have in the long term (PAP, 2008-09-09) 28 ### 29 #### Detector-intrinsic; these will default to DETECTOR 30 ###DETECTOR U8 0x01 # Something is wrong with the detector 31 ###DARK U8 0x02 # Pixel doesn't dark-subtract properly 32 ###FLAT U8 0x01 # Pixel doesn't flat-field properly 33 ###BLANK U8 0x01 # Pixel doesn't contain valid data 34 ### 35 #### Detector-extrinsic; these will default to RANGE 36 ###RANGE U8 0x04 # Pixel is out-of-range of linearity 37 ###SAT U8 0x04 # Pixel is saturated 38 ###LOW U8 0x04 # Pixel is low 39 ### 40 #### Convolution: pixels that touched a bad pixel 41 ###POOR U8 0x08 # Pixel is poor after convolution with a bad pixel 42 ###CONV U8 0x10 # Pixel is bad after convolution with a bad pixel 43 ### 44 #### Objects: real signal that should be ignored 45 ###CR U8 0x20 # Pixel contains a cosmic ray 46 ###GHOST U8 0x40 # Pixel contains an optical ghost 47 ### 48 ####MARK U8 0x80 # RESERVED for MARK
Note:
See TracChangeset
for help on using the changeset viewer.
