LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Classes | Namespaces | Macros | Enumerations | Functions
Background.h File Reference
#include <boost/preprocessor/seq.hpp>
#include "boost/shared_ptr.hpp"
#include "lsst/daf/base/Citizen.h"
#include "lsst/pex/exceptions.h"
#include "lsst/afw/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
 Estimate image backgrounds.
 
 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 >
boost::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

#define LSST_makeBackground_getApproximate (   m,
  v,
 
)
Value:
virtual 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;
#define PTR(...)
Definition: base.h:41

Definition at line 362 of file Background.h.

#define LSST_makeBackground_getApproximate_types   (Background::InternalPixelT)

Definition at line 353 of file Background.h.

#define LSST_makeBackground_getImage (   m,
  v,
 
)
Value:
virtual PTR(lsst::afw::image::Image<T>) _getImage( \
lsst::afw::geom::Box2I const& bbox, \
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;
#define PTR(...)
Definition: base.h:41
A class to represent a 2-dimensional array of pixels.
Definition: Image.h:415

Definition at line 354 of file Background.h.

#define LSST_makeBackground_getImage_types   (Background::InternalPixelT)

Definition at line 352 of file Background.h.