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