File Stack.h¶
-
namespace
lsst
Class for a simple mapping implementing a generic AstrometryTransform.
Remove all non-astronomical counts from the Chunk Exposure’s pixels.
Forward declarations for lsst::utils::Cache
For details on the Cache class, see the Cache.h file.
It uses a template rather than a pointer so that the derived classes can use the specifics of the transform. The class simplePolyMapping overloads a few routines.
A base class for image defects
Numeric constants used by the Integrate.h integrator routines.
Compute Image Statistics
- Note
Gauss-Kronrod-Patterson quadrature coefficients for use in quadpack routine qng. These coefficients were calculated with 101 decimal digit arithmetic by L. W. Fullerton, Bell Labs, Nov 1981.
- Note
The Statistics class itself can only handle lsst::afw::image::MaskedImage() types. The philosophy has been to handle other types by making them look like lsst::afw::image::MaskedImage() and reusing that code. Users should have no need to instantiate a Statistics object directly, but should use the overloaded makeStatistics() factory functions.
-
namespace
afw
-
namespace
math
Functions
- Parameters
images
: Images to processflags
: statistics requestedsctrl
: Control structurewvector
: vector containing weights
A function to compute some statistics of a stack of Images
- Parameters
out
: Output imageimages
: Images to processflags
: statistics requestedsctrl
: Control structurewvector
: vector containing weights
@ brief compute statistical stack of Image. Write to output image in-situ
A function to compute some statistics of a stack of Masked Images
If none of the input images are valid for some pixel, the afwMath::StatisticsControl::getNoGoodPixelsMask() bit(s) are set.
- Parameters
[in] images
: MaskedImages to process.[in] flags
: Statistics requested.[in] sctrl
: Control structure.[in] wvector
: Vector of weights.[in] clipped
: Mask to set for pixels that were clipped (NOT rejected due to masks).[in] maskMap
: Vector of pairs of mask pixel values; any pixel on an input with any of the bits in .first will result in all of the bits in .second being set on the corresponding pixel on the output.
All the work is done in the function computeMaskedImageStack.
- Parameters
images
: MaskedImages to processflags
: statistics requestedsctrl
: control structurewvector
: vector containing weightsclipped
: bitmask to set if any input was clipped or maskedexcuse
: bitmask to excuse from marking as clipped
A function to compute some statistics of a stack of Masked Images
If none of the input images are valid for some pixel, the afwMath::StatisticsControl::getNoGoodPixelsMask() bit(s) are set.
Delegates to the more general version of statisticsStack taking a maskMap.
A function to compute some statistics of a stack of Masked Images
If none of the input images are valid for some pixel, the afwMath::StatisticsControl::getNoGoodPixelsMask() bit(s) are set.
- Parameters
[out] out
: Output MaskedImage.[in] images
: MaskedImages to process.[in] flags
: Statistics requested.[in] sctrl
: Control structure.[in] wvector
: Vector of weights.[in] clipped
: Mask to set for pixels that were clipped (NOT rejected due to masks).[in] maskMap
: Vector of pairs of mask pixel values; any pixel on an input with any of the bits in .first will result in all of the bits in .second being set on the corresponding pixel on the output.
All the work is done in the function computeMaskedImageStack.
- Parameters
out
: Output imageimages
: MaskedImages to processflags
: statistics requestedsctrl
: control structurewvector
: vector containing weightsclipped
: bitmask to set if any input was clipped or maskedexcuse
: bitmask to excuse from marking as clipped
@ brief compute statistical stack of MaskedImage. Write to output image in-situ
-
template<typename
PixelT
>
std::vector<PixelT>statisticsStack
(std::vector<std::vector<PixelT>> &vectors, Property flags, StatisticsControl const &sctrl = StatisticsControl(), std::vector<lsst::afw::image::VariancePixel> const &wvector = std::vector<lsst::afw::image::VariancePixel>(0))¶ - Parameters
vectors
: Vectors to processflags
: statistics requestedsctrl
: control structurewvector
: vector containing weights
A function to compute some statistics of a stack of std::vectors
A function to compute statistics on the rows or columns of an image
A function to compute statistics on the rows or columns of an image
-
namespace