LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
25 #if !defined(LSST_AFW_MATH_MASKEDVECTOR_H)
26 #define LSST_AFW_MATH_MASKEDVECTOR_H
36 template <
typename EntryT>
64 imgcp->push_back(*
ptr);
~MaskedVector() override=default
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects.
lsst::afw::image::MaskedImage< EntryT >::Image::Pixel & value()
x_iterator row_begin(int y) const
Return an x_iterator to the start of the image.
lsst::afw::image::MaskedImage< EntryT >::MaskPtr getMask() const
An iterator to the MaskedImage.
A pixel of a MaskedImage.
MaskedVector(MaskedVector const &)=default
x_iterator row_end(int y) const
Return an x_iterator to the end of the image.
iterator(typename lsst::afw::image::MaskedImage< EntryT >::x_iterator ptr)
MaskedVector & operator=(MaskedVector const &)=default
lsst::afw::image::MaskedImage< EntryT >::Variance::Pixel & variance(int const i)
MaskedImage(unsigned int width, unsigned int height, MaskPlaneDict const &planeDict=MaskPlaneDict())
Construct from a supplied dimensions.
int getWidth() const
Return the number of columns in the image.
int getHeight() const
Return the number of rows in the image.
lsst::afw::image::MaskedImage< EntryT >::Mask::Pixel & mask(int const i)
iterator(typename lsst::afw::image::MaskedImage< EntryT >::Image::x_iterator im, typename lsst::afw::image::MaskedImage< EntryT >::Mask::x_iterator msk, typename lsst::afw::image::MaskedImage< EntryT >::Variance::x_iterator var)
A class to manipulate images, masks, and variance as a single object.
MaskedVector(int width=0)
MaskedVector(MaskedVector &&)=default
MaskedVector & operator=(MaskedVector &&)=default
_view_t::x_iterator x_iterator
An iterator for traversing the pixels in a row.
A base class for image defects.
VariancePtr getVariance() const
Return a (shared_ptr to) the MaskedImage's variance.
#define LSST_EXCEPT(type,...)
Create an exception with a given type.
Pixel & operator[](int const i)
lsst::afw::image::MaskedImage< EntryT >::ImagePtr getImage() const
Extent< int, 2 > Extent2I
lsst::afw::image::MaskedImage< EntryT >::Pixel Pixel
lsst::afw::image::MaskedImage< EntryT >::VariancePtr getVariance() const
ImagePtr getImage() const
Return a (shared_ptr to) the MaskedImage's image.
ImagePixelT Pixel
A pixel in this ImageBase.
MaskPtr getMask() const
Return a (shared_ptr to) the MaskedImage's mask.
lsst::afw::image::MaskedImage< EntryT >::Image::Pixel & value(int const i)
MaskedImageIterator< typename Image::x_iterator, typename Mask::x_iterator, typename Variance::x_iterator > x_iterator
An iterator to a row of a MaskedImage.
Reports errors that are due to events beyond the control of the program.
std::shared_ptr< std::vector< EntryT > > getVector(bool const noThrow=false) const
Return a (Ptr to) the MaskedImage's image.