18 #ifndef itkRLEImageRegionIterator_h
19 #define itkRLEImageRegionIterator_h
49 template<
typename TPixel,
unsigned int VImageDimension,
typename CounterType >
95 *const_cast< typename ImageType::RLLine * >( this->m_RunLengthLine ),
96 this->m_SegmentRemainder, this->m_RealIndex, value );
114 template<
typename TPixel,
unsigned int VImageDimension,
typename CounterType >
137 Set(
const TPixel& value )
const
140 *const_cast< typename ImageType::RLLine * >( this->m_RunLengthLine ),
141 this->m_SegmentRemainder, this->m_RealIndex, value );
169 #endif // itkRLEImageRegionIterator_h
ImageRegionIterator(const ImageIterator< ImageType > &it)
ImageRegionIteratorWithIndex()
typename Superclass::SizeType SizeType
typename Superclass::RegionType RegionType
typename ImageType::SizeType SizeType
A multi-dimensional iterator templated over image type.
typename ImageType::RegionType RegionType
typename Superclass::ImageType ImageType
Self & operator=(const ImageRegionConstIterator< ImageType > &it)
A multi-dimensional iterator templated over image type that walks an image region and is specialized ...
A multi-dimensional image iterator templated over image type.
TImage::ConstWeakPointer m_Image
Self & operator=(const Self &it)
typename Superclass::OffsetType OffsetType
ImageRegionIteratorWithIndex(ImageType *ptr, const RegionType ®ion)
typename ImageType::PixelType PixelType
A multi-dimensional iterator templated over image type that walks a region of pixels.
A multi-dimensional iterator templated over image type that walks pixels within a region and is speci...
TImage::ConstWeakPointer m_Image
void Set(const TPixel &value) const
typename ImageType::OffsetType OffsetType
typename Superclass::PixelType PixelType
typename Superclass::InternalPixelType InternalPixelType
ImageRegionIterator(const ImageRegionConstIterator< ImageType > &it)
ImageRegionIteratorWithIndex(const ImageIterator< ImageType > &it)
typename Superclass::RegionType RegionType
typename Superclass::IndexType IndexType
ImageRegionIterator()=default
typename ImageType::IndexType IndexType
Run-Length Encoded image. It saves memory for label images at the expense of processing times...
ImageRegionIteratorWithIndex(const ImageConstIterator< ImageType > &it)
void Set(const PixelType &value) const
typename ImageType::InternalPixelType InternalPixelType
Self & operator=(const Self &it)
ImageRegionIterator(ImageType *ptr, const RegionType ®ion)
A multi-dimensional iterator templated over image type that walks a region of pixels.