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 >
165 Set(
const TPixel& value )
const
168 *const_cast< typename ImageType::RLLine * >( this->m_RunLengthLine ),
169 this->m_SegmentRemainder, this->m_RealIndex, value );
184 #endif // itkRLEImageIterator_h
Superclass::SizeType SizeType
Self & operator=(const ImageConstIterator< ImageType > &it)
ImageType::IndexType IndexType
ImageType::InternalPixelType InternalPixelType
Superclass::RegionType RegionType
void Set(const TPixel &value) const
Self & operator=(const Self &it)
A multi-dimensional iterator templated over image type.
An image region represents a structured region of data.
Superclass::IndexType IndexType
ImageType * GetImage() const
ImageType::SizeType SizeType
A multi-dimensional image iterator templated over image type.
TImage::ConstWeakPointer m_Image
ImageIterator(ImageType *ptr, const RegionType ®ion)
Self & operator=(const Self &it)
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)
itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::RegionType RegionType
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
ImageIterator(const ImageConstIterator< ImageType > &it)
RLEImage< TPixel, VImageDimension, CounterType > ImageType
ImageType::PixelType PixelType
ImageIteratorWithIndex(const ImageType *ptr, const RegionType ®ion)
Superclass::ImageType ImageType
ImageIteratorWithIndex(const ImageIteratorWithIndex &it)
static const unsigned int ImageIteratorDimension
Superclass::ImageType ImageType
TImage::ConstWeakPointer m_Image
ImageType * GetImage() const
ImageType::OffsetType OffsetType
Superclass::OffsetType OffsetType
Self & operator=(const Self &it)
ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > > Superclass
Superclass::ImageType ImageType
Run-Length Encoded image. It saves memory for label images at the expense of processing times...
Superclass::InternalPixelType InternalPixelType
Superclass::PixelType PixelType