18#ifndef itkRLEImageRegionIterator_h
19#define itkRLEImageRegionIterator_h
49template <
typename TPixel,
unsigned int VImageDimension,
typename CounterType>
60 using SizeType =
typename Superclass::SizeType;
92 ->SetPixel(*
const_cast<typename ImageType::RLLine *
>(this->m_RunLengthLine),
93 this->m_SegmentRemainder,
110template <
typename TPixel,
unsigned int VImageDimension,
typename CounterType>
133 Set(
const TPixel & value)
const
137 this->m_SegmentRemainder,
167template <
typename TPixel,
unsigned int VImageDimension,
typename CounterType>
Read-only ImageIterator: ImageConstIterator<TImage> behaves as ImageIterator<const TImage>.
Self & operator=(const Self &)=default
WeakPointer< RLEImage< TPixel, VImageDimension, CounterType > > m_Image
A multi-dimensional image iterator templated over image type.
Self & operator=(const Self &)=default
WeakPointer< RLEImage< TPixel, VImageDimension, CounterType > > m_Image
ImageRegionConstIteratorWithIndex()
ImageRegionConstIterator()=default
void Set(const TPixel &value) const
RLEImage< TPixel, VImageDimension, CounterType > ImageType
ImageRegionIteratorWithIndex()
ImageRegionIteratorWithIndex(ImageType *ptr, const RegionType ®ion)
ImageRegionIteratorWithIndex(const ImageConstIterator< ImageType > &it)
typename itk::ImageConstIterator< RLEImage< TPixel, VImageDimension, CounterType > >::RegionType RegionType
ImageRegionIteratorWithIndex(const ImageIterator< ImageType > &it)
typename Superclass::PixelType PixelType
typename Superclass::RegionType RegionType
typename Superclass::OffsetType OffsetType
ImageRegionIterator(const ImageIterator< ImageType > &it)
Self & operator=(const ImageRegionConstIterator< ImageType > &it)
typename Superclass::SizeType SizeType
typename Superclass::IndexType IndexType
ImageRegionIterator(ImageType *ptr, const RegionType ®ion)
void Set(const PixelType &value) const
typename Superclass::ImageType ImageType
ImageRegionConstIterator< RLEImage< TPixel, VImageDimension, CounterType > > Superclass
ImageRegionIterator(const ImageRegionConstIterator< ImageType > &it)
typename Superclass::InternalPixelType InternalPixelType
A multi-dimensional iterator templated over image type that walks a region of pixels.
Run-Length Encoded image. It saves memory for label images at the expense of processing times....
std::vector< RLSegment > RLLine
typename Superclass::RegionType RegionType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
ImageRegionIterator(SmartPointer< TImage >, const typename TImage::RegionType &) -> ImageRegionIterator< TImage >