LSSTApplications  18.1.0
LSSTDataManagementBasePackage
Classes | Namespaces | Macros | Enumerations | Functions
Background.h File Reference
#include <boost/preprocessor/seq.hpp>
#include <memory>
#include "lsst/daf/base/Citizen.h"
#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 404 of file Background.h.

◆ LSST_makeBackground_getApproximate_types

#define LSST_makeBackground_getApproximate_types   (Background::InternalPixelT)

Definition at line 394 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;
table::Box2IKey bbox
Definition: Detector.cc:169
An integer coordinate rectangle.
Definition: Box.h:54

Definition at line 395 of file Background.h.

◆ LSST_makeBackground_getImage_types

#define LSST_makeBackground_getImage_types   (Background::InternalPixelT)

Definition at line 393 of file Background.h.