File offsetImage.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
Return an image offset by (dx, dy) using the specified algorithm
- Note
The image pixels are always offset by a fraction of a pixel and the image origin (XY0) picks is modified to handle the integer portion of the offset. In the special case that the offset in both x and y lies in the range (-1, 1) the origin is not changed. Otherwise the pixels are shifted by (-0.5, 0.5] pixels and the origin shifted accordingly.
- Parameters
image: The image to offsetdx: move the image this far in the column directiondy: move the image this far in the row directionalgorithmName: Type of resampling Kernel to usebuffer: Width of buffer (border) around kernel image to allow for warping edge effects (pixels). Values < 0 are treated as 0. This is only used during computation; the final image has the same dimensions as the kernel.
- Exceptions
lsst::pex::exceptions::InvalidParameterError: if the algorithm is invalid
Rotate an image by an integral number of quarter turns
- Parameters
image: The image to rotatenQuarter: the desired number of quarter turns
Flip an image leftright and/or topbottom
- Parameters
inImage: The image to flipflipLR: Flip left <> right?flipTB: Flip top <> bottom?
- Parameters
inImage: The image to binbinX: Output pixels are binX*binY input pixelsbinY: Output pixels are binX*binY input pixelsflags: how to generate super-pixels
- Parameters
inImage: The image to binbinsize: Output pixels are binsize*binsize input pixelsflags: how to generate super-pixels
-
namespace