18 #ifndef itkRLEImageIterator_h
19 #define itkRLEImageIterator_h
35 template<
typename TPixel,
unsigned int VImageDimension,
typename CounterType >
96 *const_cast< typename ImageType::RLLine * >( this->m_RunLengthLine ),
97 this->m_SegmentRemainder, this->m_RealIndex, value );
133 template<
typename TPixel,
unsigned int VImageDimension,
typename CounterType >
164 Set(
const TPixel& value )
const
167 *const_cast< typename ImageType::RLLine * >( this->m_RunLengthLine ),
168 this->m_SegmentRemainder, this->m_RealIndex, value );
183 #endif // itkRLEImageIterator_h
static constexpr unsigned int ImageIteratorDimension
~ImageIterator() override
typename Superclass::RegionType RegionType
Self & operator=(const ImageConstIterator< ImageType > &it)
typename TImage::OffsetType OffsetType
typename TImage::InternalPixelType InternalPixelType
typename ImageType::SizeType SizeType
void Set(const TPixel &value) const
Self & operator=(const Self &it)
A multi-dimensional iterator templated over image type.
typename TImage::PixelType PixelType
typename ImageType::RegionType RegionType
ImageType * GetImage() const
A multi-dimensional image iterator templated over image type.
TImage::ConstWeakPointer m_Image
ImageIterator(ImageType *ptr, const RegionType ®ion)
Self & operator=(const Self &it)
typename Superclass::ImageType ImageType
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
void Set(const PixelType &value) const
ImageIterator(const Self &it)
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
ImageIterator(const ImageConstIterator< ImageType > &it)
ImageIteratorWithIndex(const ImageType *ptr, const RegionType ®ion)
typename ImageType::PixelType PixelType
ImageIteratorWithIndex(const ImageIteratorWithIndex &it)
typename TImage::IndexType IndexType
TImage::ConstWeakPointer m_Image
typename ImageType::OffsetType OffsetType
ImageType * GetImage() const
Self & operator=(const Self &it)
typename TImage::SizeType SizeType
typename Superclass::ImageType ImageType
typename ImageType::IndexType IndexType
Run-Length Encoded image. It saves memory for label images at the expense of processing times...
typename TImage::RegionType RegionType
typename ImageType::InternalPixelType InternalPixelType