LSST Applications g0603fd7c41+f1f8eaba91,g124d44cf3d+ce19972735,g180d380827+c1373eaf06,g1afd7665f7+eb25d4c773,g2079a07aa2+86d27d4dc4,g2305ad1205+aa3c8c93b6,g2bbee38e9b+44a02a0554,g337abbeb29+44a02a0554,g33d1c0ed96+44a02a0554,g3a166c0a6a+44a02a0554,g3d1719c13e+a4710a6d26,g487adcacf7+e387efc8c5,g50ff169b8f+96c6868917,g52b1c1532d+585e252eca,g591dd9f2cf+7f57e6be76,g858d7b2824+a4710a6d26,g991b906543+a4710a6d26,g99cad8db69+832a1c95fd,g9b9dfce982+e7b986f76c,g9ddcbc5298+9a081db1e4,ga1e77700b3+03d07e1c1f,gb0e22166c9+60f28cb32d,gb23b769143+a4710a6d26,gb3a676b8dc+e2510deafe,gba4ed39666+c2a2e4ac27,gbb8dafda3b+201573ceae,gbd998247f1+585e252eca,gc120e1dc64+7fb97cd961,gc28159a63d+44a02a0554,gc3e9b769f7+20d5ea8805,gcf0d15dbbd+e7b986f76c,gdaeeff99f8+f9a426f77a,ge79ae78c31+44a02a0554,ged0e8a7f67+8df1cf93fe,gee10cc3b42+585e252eca,w.2024.18
LSST Data Management Base Package
Loading...
Searching...
No Matches
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

namespace  lsst
 
namespace  lsst::afw
 
namespace  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.
 
template<typename ImageT >
std::shared_ptr< Backgroundlsst::afw::math::makeBackground (ImageT const &img, BackgroundControl const &bgCtrl)
 A convenience function that uses function overloading to make the correct type of Background.
 

Macro Definition Documentation

◆ LSST_makeBackground_getApproximate

#define LSST_makeBackground_getApproximate ( m,
v,
T )
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 395 of file Background.h.

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

◆ LSST_makeBackground_getApproximate_types

#define LSST_makeBackground_getApproximate_types   (Background::InternalPixelT)

Definition at line 385 of file Background.h.

◆ LSST_makeBackground_getImage

#define LSST_makeBackground_getImage ( m,
v,
T )
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;
AmpInfoBoxKey bbox
Definition Amplifier.cc:117
An integer coordinate rectangle.
Definition Box.h:55

Definition at line 386 of file Background.h.

386#define LSST_makeBackground_getImage(m, v, T) \
387 virtual std::shared_ptr<lsst::afw::image::Image<T>> _getImage( \
388 lsst::geom::Box2I const& bbox, \
389 Interpolate::Style const interpStyle, /* Style of the interpolation */ \
390 UndersampleStyle const undersampleStyle = \
391 THROW_EXCEPTION, /* Behaviour if there are too few points */ \
392 T = 0 /* disambiguate */ \
393 ) const v;

◆ LSST_makeBackground_getImage_types

#define LSST_makeBackground_getImage_types   (Background::InternalPixelT)

Definition at line 384 of file Background.h.