- Timestamp:
- Mar 27, 2008, 1:28:38 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/pap_branch_080320/psModules/src/detrend/pmMaskBadPixels.h
r17085 r17155 5 5 * @author Eugene Magnier, IfA 6 6 * 7 * @version $Revision: 1.15.6. 1$ $Name: not supported by cvs2svn $8 * @date $Date: 2008-03-2 1 03:24:32$7 * @version $Revision: 1.15.6.2 $ $Name: not supported by cvs2svn $ 8 * @date $Date: 2008-03-27 23:28:38 $ 9 9 * Copyright 2004 Institute for Astronomy, University of Hawaii 10 10 */ … … 16 16 /// @{ 17 17 18 #define PM_MASK_ANALYSIS_ MEAN "MASK.MEAN" // Readout analysis metadata keyword with mean value19 #define PM_MASK_ANALYSIS_ STDEV "MASK.STDEV" // Readout analysis metadata keyword with stdev value18 #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 20 21 21 … … 51 51 /// image is of type S32. The relevant median and standard deviation must be supplied in the 52 52 /// readout->analysis metadata as READOUT.MEDIAN, READOUT.STDEVe 53 psImage *pmMaskFlagSuspectPixels(psImage *out, ///< Suspected bad pixels image, or NULL 54 const pmReadout *readout, ///< Readout to inspect 55 float rej, ///< Rejection threshold (standard deviations) 56 psMaskType maskVal ///< Mask value for statistics 57 ); 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 ); 58 60 59 61 /// Identify bad pixels from the suspect pixels image 60 62 /// 61 /// Bad pixels are identified from the suspect pixels image (accumulated over a large number of images). 62 /// Pixels marked as suspect in more than "thresh" standard deviations from the mean are identified as bad 63 /// pixels (output image). If "thresh" is negative, a Poisson is assumed. 64 psImage *pmMaskIdentifyBadPixels(const psImage *suspects, ///< Accumulated suspect pixels image 65 psMaskType maskVal, ///< Value to set for bad pixels 66 int nTotal, 67 float thresh, ///< Threshold for bad pixel (standard deviations) 68 pmMaskIdentifyMode mode 69 ); 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 ); 70 70 /// @} 71 71 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
