IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 22, 2008, 12:45:36 PM (18 years ago)
Author:
Paul Price
Message:

Reworking the masking so as to avoid exploding the number of bad pixels in the convolved image. Introduced the bad/poor distinction. Bad pixels that are convolved now have a large 'poor' halo in the mask, with a smaller 'bad' halo. Got rid of the 'FOOTPRINT' mask value (internal subtraction mask): there's no need to convolve the mask in order to find out if a sprinkling of footprints are bad (not sure this is so efficient when a list of sources isn't supplied), and I needed the mask bits to signify the difference between 'bad' and 'poor'. Tested on a single subtraction, which seems to work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/imcombine/pmSubtractionMatch.h

    r18962 r19164  
    4646                        int iter,       ///< Rejection iterations
    4747                        float rej,      ///< Rejection threshold
    48                         psMaskType maskBad, ///< Value to mask
    49                         psMaskType maskBlank, ///< Mask for blank region
     48                        psMaskType maskVal, ///< Value to mask for input
     49                        psMaskType maskBad, ///< Mask for output bad pixels
     50                        psMaskType maskPoor, ///< Mask for output poor pixels
     51                        float poorFrac, ///< Fraction for "poor"
    5052                        float badFrac,   ///< Maximum fraction of bad input pixels to accept
    5153                        pmSubtractionMode mode ///< Mode of subtraction; may be modified
Note: See TracChangeset for help on using the changeset viewer.