template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
class lsst.afw.image::MaskedImage< ImagePixelT, MaskPixelT, VariancePixelT >::MaskedImageIteratorBase< ImageIterator, MaskIterator, VarianceIterator, Ref >
The base class for MaskedImageIterators (const and non-const)
Definition at line 129 of file MaskedImage.h.
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
The underlying iterator tuple
- Note
- not really for public consumption; could be made protected
Definition at line 135 of file MaskedImage.h.
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Construct a MaskedImageIteratorBase from the image/mask/variance iterators.
Definition at line 143 of file MaskedImage.h.
144 _iter(boost::make_zip_iterator(boost::make_tuple(img, msk, var))) {
boost::zip_iterator< IMV_iterator_tuple > _iter
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Return the underlying iterator tuple
- Note
- not really for public consumption; could be made protected
Definition at line 163 of file MaskedImage.h.
164 return _iter.get_iterator_tuple();
boost::zip_iterator< IMV_iterator_tuple > _iter
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Return (a reference to) the image part of the Pixel pointed at by the iterator.
Definition at line 147 of file MaskedImage.h.
148 return _iter->template get<0>()[0];
boost::zip_iterator< IMV_iterator_tuple > _iter
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Return (a reference to) the mask part of the Pixel pointed at by the iterator.
Definition at line 152 of file MaskedImage.h.
153 return _iter->template get<1>()[0];
boost::zip_iterator< IMV_iterator_tuple > _iter
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Convert an iterator to a Pixel.
Definition at line 202 of file MaskedImage.h.
204 _iter->template get<1>()[0],
205 _iter->template get<2>()[0]);
lsst::afw::image::pixel::Pixel< ImagePixelT, MaskPixelT, VariancePixelT > Pixel
A Pixel in the MaskedImage.
boost::zip_iterator< IMV_iterator_tuple > _iter
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Return true if the lhs doesn't equal the rhs.
Definition at line 194 of file MaskedImage.h.
195 return &this->
_iter->template get<0>() != &rhs._iter->template get<0>();
boost::zip_iterator< IMV_iterator_tuple > _iter
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Dereference the iterator, returning a Pixel.
Definition at line 209 of file MaskedImage.h.
Ref< VariancePixelT >::type variance()
Return (a reference to) the variance part of the Pixel pointed at by the iterator.
lsst::afw::image::pixel::Pixel< ImagePixelT, MaskPixelT, VariancePixelT > Pixel
A Pixel in the MaskedImage.
Ref< ImagePixelT >::type image()
Return (a reference to) the image part of the Pixel pointed at by the iterator.
Ref< MaskPixelT >::type mask()
Return (a reference to) the mask part of the Pixel pointed at by the iterator.
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Dereference the iterator, returning a const Pixel.
Definition at line 213 of file MaskedImage.h.
Ref< VariancePixelT >::type variance()
Return (a reference to) the variance part of the Pixel pointed at by the iterator.
lsst::afw::image::pixel::Pixel< ImagePixelT, MaskPixelT, VariancePixelT > Pixel
A Pixel in the MaskedImage.
Ref< ImagePixelT >::type image()
Return (a reference to) the image part of the Pixel pointed at by the iterator.
Ref< MaskPixelT >::type mask()
Return (a reference to) the mask part of the Pixel pointed at by the iterator.
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Increment the iterator (prefix)
Definition at line 178 of file MaskedImage.h.
boost::zip_iterator< IMV_iterator_tuple > _iter
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Increment the iterator (postfix)
Definition at line 182 of file MaskedImage.h.
boost::zip_iterator< IMV_iterator_tuple > _iter
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Increment the iterator by delta
.
- Parameters
-
delta | how far to move the iterator |
Definition at line 168 of file MaskedImage.h.
boost::zip_iterator< IMV_iterator_tuple > _iter
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Return the distance between two iterators.
Definition at line 186 of file MaskedImage.h.
187 return &this->
_iter->template get<0>() - &rhs._iter->template get<0>();
boost::zip_iterator< IMV_iterator_tuple > _iter
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Decrement the iterator by delta
.
- Parameters
-
delta | how far to move the iterator |
Definition at line 173 of file MaskedImage.h.
boost::zip_iterator< IMV_iterator_tuple > _iter
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Return true if the lhs is less than the rhs.
Definition at line 198 of file MaskedImage.h.
199 return &this->
_iter->template get<0>() < &rhs._iter->template get<0>();
boost::zip_iterator< IMV_iterator_tuple > _iter
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Return true if the lhs equals the rhs.
Definition at line 190 of file MaskedImage.h.
191 return &this->
_iter->template get<0>() == &rhs._iter->template get<0>();
boost::zip_iterator< IMV_iterator_tuple > _iter
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
Return (a reference to) the variance part of the Pixel pointed at by the iterator.
Definition at line 157 of file MaskedImage.h.
158 return _iter->template get<2>()[0];
boost::zip_iterator< IMV_iterator_tuple > _iter
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>
template<typename , typename , typename >
The underlying const iterator tuple
- Note
- not really for public consumption; could be made protected
Definition at line 138 of file MaskedImage.h.
template<typename ImagePixelT, typename MaskPixelT = lsst::afw::image::MaskPixel, typename VariancePixelT = lsst::afw::image::VariancePixel>
template<typename ImageIterator, typename MaskIterator, typename VarianceIterator, template< typename > class Ref = Reference>