Template Class Approximate¶
Defined in File Approximate.h
Class Documentation¶
-
template<typename
PixelT
>
classApproximate
Approximate values for a MaskedImage
Public Types
-
typedef float
OutPixelT
¶ The pixel type of returned images.
Public Functions
-
Approximate
(Approximate const&)¶
-
Approximate
(Approximate&&)¶
-
Approximate &
operator=
(Approximate const&)¶
-
Approximate &
operator=
(Approximate&&)¶
-
virtual
~Approximate
()¶ dtor
-
std::shared_ptr<image::Image<OutPixelT>>
getImage
(int orderX = -1, int orderY = -1) const¶ Return the approximate image as a Image.
-
std::shared_ptr<image::MaskedImage<OutPixelT>>
getMaskedImage
(int orderX = -1, int orderY = -1) const¶ Return the approximate image as a MaskedImage.
Protected Functions
-
Approximate
(std::vector<double> const &x, std::vector<double> const &y, lsst::geom::Box2I const &bbox, ApproximateControl const &ctrl)¶ - Parameters
x
: the x-values of pointsy
: the y-values of pointsbbox
: Range where approximation should be validctrl
: desired approximation algorithm
Base class ctor
Protected Attributes
-
ApproximateControl const
_ctrl
¶ desired approximation algorithm
Friends
-
std::shared_ptr<Approximate<PixelT>>
makeApproximate
(std::vector<double> const &x, std::vector<double> const &y, image::MaskedImage<PixelT> const &im, lsst::geom::Box2I const &bbox, ApproximateControl const &ctrl)¶ Construct a new Approximate object, inferring the type from the type of the given MaskedImage.
- Parameters
x
: the x-values of pointsy
: the y-values of pointsim
: The values at (x, y)bbox
: Range where approximation should be validctrl
: desired approximation algorithm
-
typedef float