Changeset 9981 for trunk/psModules/src/detrend/pmMaskBadPixels.h
- Timestamp:
- Nov 14, 2006, 2:27:52 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/detrend/pmMaskBadPixels.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/detrend/pmMaskBadPixels.h
r9616 r9981 8 8 /// @author Eugene Magnier, IfA 9 9 /// 10 /// @version $Revision: 1. 8$ $Name: not supported by cvs2svn $11 /// @date $Date: 2006-1 0-17 22:17:38$10 /// @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 11 /// @date $Date: 2006-11-15 00:27:52 $ 12 12 /// 13 13 /// Copyright 2004 Institute for Astronomy, University of Hawaii … … 33 33 ); 34 34 35 /// Find pixels outlying from the background, flagging suspect pixels 36 /// 37 /// Pixels more than "rej" standard deviations from the background level (in flat-fielded images) have the 38 /// corresponding pixel in the "suspect pixels" image incremented. After accumulating over a suitable sample 39 /// of images, bad pixels should have a high value in the suspect pixels image, allowing them to be 40 /// identified. The suspect pixels image is of type S32. 41 psImage *pmMaskFlagSuspectPixels(psImage *out, ///< Suspected bad pixels image, or NULL 42 const pmReadout *readout, ///< Readout to inspect 43 float rej, ///< Rejection threshold (standard deviations) 44 psMaskType maskVal, ///< Mask value for statistics 45 float frac, ///< Fraction of pixels to consider 46 psRandom *rng ///< Random number generator 47 ); 48 49 /// Identify bad pixels from the suspect pixels image 50 /// 51 /// Bad pixels are identified from the suspect pixels image (accumulated over a large number of images). 52 /// Pixels marked as suspect in more than "thresh" standard deviations from the mean are identified as bad 53 /// pixels (output image). 54 psImage *pmMaskIdentifyBadPixels(const psImage *suspects, ///< Accumulated suspect pixels image 55 float thresh, ///< Threshold for bad pixel (standard deviations) 56 psMaskType maskVal ///< Value to set for bad pixels 57 ); 58 59 60 61 35 62 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
