IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 2, 2009, 5:08:31 PM (17 years ago)
Author:
Paul Price
Message:

Serious rework of pmStackCombine for clarity and some additional functionality. Split the combinePixels function into two operating modes (test and combine) to make clear what we're doing; pmStackCombine could be split into two separate functions (e.g., pmStackTest and pmStackCombine) in the future, since the testing part doesn't need to produce any output image, but this involves moving a lot of stuff around in ppStack, so not doing it yet. Verified that variance scaling is correct, and softening of variance is correct. Big improvement in minimising loss of good pixels comes from throwing out only the most variant pixel on each rejection pass (consequently changed iterations parameter to iterations per input); this involved another rework of the core combinePixels function (moving the switch on the number of valid inputs inside the iteration). Much happier with the outlier rejection now.

File:
1 edited

Legend:

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

    r25964 r26007  
    4545                    psArray *input,     ///< Input array of pmStackData
    4646                    psImageMaskType maskVal, ///< Mask value of bad pixels
     47                    psImageMaskType suspect, ///< Mask value of suspect pixels
    4748                    psImageMaskType bad,     ///< Mask value to give rejected pixels
    4849                    int kernelSize,     ///< Half-size of the convolution kernel
    49                     int numIter,        ///< Number of iterations
     50                    float iter,         ///< Number of iterations per input
    5051                    float rej,          ///< Rejection limit (standard deviations)
    5152                    float sys,          ///< Relative systematic error
Note: See TracChangeset for help on using the changeset viewer.