IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 28, 2009, 5:35:05 PM (17 years ago)
Author:
Paul Price
Message:

Reworking stack combination because there are *three* modes for pixels going into the final stack (after rejection), not just two: tested and good, tested and rejected, and not tested. The code did not recognise the third, which is a distinct state because we don't want these pixels grown, as we do for rejected pixels. This cannot be fixed merely by using the 'safe' combination because that would discard the 'tested and good' pixels that have only a single unrejected input but are good because they have survived the testing process. Needed to add a new state into the combination process. Now I add these pixels straight into the 'reject' list. This requires a little bit more fiddling around in ppStack. Not sure it's working yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap/psModules/src/imcombine/pmStack.h

    r23577 r25964  
    3030    psPixels *reject;                   ///< Pixels to reject
    3131    psPixels *inspect;                  ///< Pixels to inspect
     32    psPixels *discard;                  ///< Pixels to discard
    3233    float weight;                       ///< Relative weighting for image
    3334    float addVariance;                  ///< Additional variance when rejecting
     
    4950                    float rej,          ///< Rejection limit (standard deviations)
    5051                    float sys,          ///< Relative systematic error
    51                     float discard,      ///< Fraction of values to discard for Olympic weighted mean
    52                     bool entire,        ///< Combine entire image even if rejection lists provided?
     52                    float olympic,      ///< Fraction of values to discard for Olympic weighted mean
    5353                    bool useVariance,   ///< Use variance values for rejection?
    5454                    bool safe,          ///< Play safe with small numbers of input pixels (mask if N <= 2)?
    55                     bool rejectInspect  ///< Reject pixels instead of marking them for inspection?
     55                    bool rejection      ///< Reject pixels instead of marking them for inspection?
    5656    );
    5757
Note: See TracChangeset for help on using the changeset viewer.