Changeset 17228 for trunk/psModules/src/detrend/pmMaskBadPixels.h
- Timestamp:
- Mar 28, 2008, 5:10:17 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/detrend/pmMaskBadPixels.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/detrend/pmMaskBadPixels.h
r15910 r17228 5 5 * @author Eugene Magnier, IfA 6 6 * 7 * @version $Revision: 1.1 5$ $Name: not supported by cvs2svn $8 * @date $Date: 200 7-12-24 21:10:28$7 * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2008-03-29 03:10:17 $ 9 9 * Copyright 2004 Institute for Astronomy, University of Hawaii 10 10 */ … … 15 15 /// @addtogroup detrend Detrend Creation and Application 16 16 /// @{ 17 18 #define PM_MASK_ANALYSIS_SUSPECT "MASK.SUSPECT" // Readout analysis metadata keyword for suspect image 19 #define PM_MASK_ANALYSIS_NUM "MASK.NUM" // Readout analysis metadata keyword for number of inputs 20 17 21 18 22 typedef enum { … … 47 51 /// image is of type S32. The relevant median and standard deviation must be supplied in the 48 52 /// readout->analysis metadata as READOUT.MEDIAN, READOUT.STDEVe 49 psImage *pmMaskFlagSuspectPixels(psImage *out, ///< Suspected bad pixels image, or NULL 50 const pmReadout *readout, ///< Readout to inspect 51 float rej, ///< Rejection threshold (standard deviations) 52 psMaskType maskVal ///< Mask value for statistics 53 ); 53 bool pmMaskFlagSuspectPixels(pmReadout *output, ///< Output readout, optionally with suspect pixels image 54 const pmReadout *readout, ///< Readout to inspect 55 float median, ///< Image median 56 float stdev, ///< Image standard deviation 57 float rej, ///< Rejection threshold (standard deviations) 58 psMaskType maskVal ///< Mask value for statistics 59 ); 54 60 55 61 /// Identify bad pixels from the suspect pixels image 56 62 /// 57 /// Bad pixels are identified from the suspect pixels image (accumulated over a large number of images). 58 /// Pixels marked as suspect in more than "thresh" standard deviations from the mean are identified as bad 59 /// pixels (output image). If "thresh" is negative, a Poisson is assumed. 60 psImage *pmMaskIdentifyBadPixels(const psImage *suspects, ///< Accumulated suspect pixels image 61 psMaskType maskVal, ///< Value to set for bad pixels 62 int nTotal, 63 float thresh, ///< Threshold for bad pixel (standard deviations) 64 pmMaskIdentifyMode mode 65 ); 63 /// Bad pixels are identified from the suspect pixels image (accumulated over a large number of images), 64 /// according to the chosen mode. 65 bool pmMaskIdentifyBadPixels(pmReadout *output, ///< Output readout, with suspect pixels imageOut 66 psMaskType maskVal, ///< Value to set for bad pixels 67 float thresh, ///< Threshold for bad pixel 68 pmMaskIdentifyMode mode ///< Mode for identifying bad pixels 69 ); 66 70 /// @} 67 71 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
