File Frame.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
jointcal
-
class
Frame
- #include <Frame.h>
rectangle with sides parallel to axes.
when Frame’s are used to define subparts of images, xMin and xMax refer to the first and last pixels in the subimage
Public Functions
-
Frame
() Default constructor.
-
Frame
(double xMin, double yMin, double xMax, double yMax) this one is dangerous: you may swap the 2 middle arguments. Prefer next one
-
Frame
(const Point &lowerLeft, const Point &upperRight) typical use: Frame(Point(xmin,ymin),Point(xmax,ymax))
-
double
getWidth
() const size along x axis
-
double
getHeight
() const size along y axis
-
Point
getCenter
() const Center of the frame.
-
void
cutMargin
(const double marginSize) shrinks the frame (if marginSize>0), enlarges it (if marginSize<0).
-
void
cutMargin
(const double marginX, const double marginY) shrinks the frame (if marginSize>0), enlarges it (if marginSize<0).
-
bool
operator==
(const Frame &right) const necessary for comparisons (!= is defined from this one implicitely)
-
bool
operator!=
(const Frame &right) const comparison
-
Frame
rescale
(const double factor) const rescale it. The center does not move.
-
double
getArea
() const
-
bool
inFrame
(double x, double y) const inside?
-
bool
inFrame
(const Point &point) const same as above
-
double
minDistToEdges
(const Point &point) const distance to closest boundary.
Public Members
-
double
xMin
coordinate of boundary.
-
double
xMax
-
double
yMin
-
double
yMax
Private Functions
-
void
order
()¶
-
-
class