LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Classes | Namespaces | Macros | Enumerations | Functions
Background.h File Reference
#include <boost/preprocessor/seq.hpp>
#include <memory>
#include "lsst/pex/exceptions.h"
#include "lsst/geom/Box.h"
#include "lsst/afw/math/Statistics.h"
#include "lsst/afw/math/Interpolate.h"
#include "lsst/afw/math/Approximate.h"

Go to the source code of this file.

Classes

class  lsst::afw::math::BackgroundControl
 Pass parameters to a Background object. More...
 
class  lsst::afw::math::Background
 A virtual base class to evaluate image background levels. More...
 
class  lsst::afw::math::BackgroundMI
 A class to evaluate image background levels. More...
 

Namespaces

 lsst
 A base class for image defects.
 
 lsst::afw
 
 lsst::afw::math
 

Macros

#define LSST_makeBackground_getImage_types   (Background::InternalPixelT)
 
#define LSST_makeBackground_getApproximate_types   (Background::InternalPixelT)
 
#define LSST_makeBackground_getImage(m, v, T)
 
#define LSST_makeBackground_getApproximate(m, v, T)
 

Enumerations

enum  lsst::afw::math::UndersampleStyle { lsst::afw::math::THROW_EXCEPTION, lsst::afw::math::REDUCE_INTERP_ORDER, lsst::afw::math::INCREASE_NXNYSAMPLE }
 

Functions

UndersampleStyle lsst::afw::math::stringToUndersampleStyle (std::string const &style)
 Conversion function to switch a string to an UndersampleStyle. More...
 
template<typename ImageT >
std::shared_ptr< Background > lsst::afw::math::makeBackground (ImageT const &img, BackgroundControl const &bgCtrl)
 A convenience function that uses function overloading to make the correct type of Background. More...
 

Macro Definition Documentation

◆ LSST_makeBackground_getApproximate

#define LSST_makeBackground_getApproximate (   m,
  v,
 
)
Value:
virtual std::shared_ptr<Approximate<T>> _getApproximate( \
ApproximateControl const& actrl, /* Approximation style */ \
UndersampleStyle const undersampleStyle = \
THROW_EXCEPTION, /* Behaviour if there are too few points */ \
T = 0 /* disambiguate */ \
) const v;

Definition at line 396 of file Background.h.

◆ LSST_makeBackground_getApproximate_types

#define LSST_makeBackground_getApproximate_types   (Background::InternalPixelT)

Definition at line 386 of file Background.h.

◆ LSST_makeBackground_getImage

#define LSST_makeBackground_getImage (   m,
  v,
 
)
Value:
Interpolate::Style const interpStyle, /* Style of the interpolation */ \
UndersampleStyle const undersampleStyle = \
THROW_EXCEPTION, /* Behaviour if there are too few points */ \
T = 0 /* disambiguate */ \
) const v;

Definition at line 387 of file Background.h.

◆ LSST_makeBackground_getImage_types

#define LSST_makeBackground_getImage_types   (Background::InternalPixelT)

Definition at line 385 of file Background.h.

lsst::afw::math::UndersampleStyle
UndersampleStyle
Definition: Background.h:47
std::shared_ptr
STL class.
lsst::afw::math::THROW_EXCEPTION
@ THROW_EXCEPTION
Definition: Background.h:47
lsst::geom::Box2I
An integer coordinate rectangle.
Definition: Box.h:55
bbox
AmpInfoBoxKey bbox
Definition: Amplifier.cc:117