IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 24, 2007, 11:10:28 AM (19 years ago)
Author:
eugene
Message:

removed stats calculation from pmMaskFlagSuspectPixels; now requires stats in the readout->analysis metadata

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/detrend/pmMaskBadPixels.h

    r15865 r15910  
    55 * @author Eugene Magnier, IfA
    66 *
    7  * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2007-12-16 22:22:06 $
     7 * @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2007-12-24 21:10:28 $
    99 * Copyright 2004 Institute for Astronomy, University of Hawaii
    1010 */
     
    4242///
    4343/// Pixels more than "rej" standard deviations from the background level (in flat-fielded,
    44 /// background-subtracted images) have the corresponding pixel in the "suspect pixels" image incremented.
    45 /// After accumulating over a suitable sample of images, bad pixels should have a high value in the suspect
    46 /// pixels image, allowing them to be identified.  The suspect pixels image is of type S32.
     44/// background-subtracted images) have the corresponding pixel in the "suspect pixels" image
     45/// incremented.  After accumulating over a suitable sample of images, bad pixels should have a
     46/// high value in the suspect pixels image, allowing them to be identified.  The suspect pixels
     47/// image is of type S32.  The relevant median and standard deviation must be supplied in the
     48/// readout->analysis metadata as READOUT.MEDIAN, READOUT.STDEVe
    4749psImage *pmMaskFlagSuspectPixels(psImage *out, ///< Suspected bad pixels image, or NULL
    4850                                 const pmReadout *readout, ///< Readout to inspect
    4951                                 float rej, ///< Rejection threshold (standard deviations)
    50                                  psMaskType maskVal, ///< Mask value for statistics
    51                                  float frac, ///< Fraction of pixels to consider
    52                                  psRandom *rng ///< Random number generator
     52                                 psMaskType maskVal ///< Mask value for statistics
    5353                                );
    5454
Note: See TracChangeset for help on using the changeset viewer.