|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkImageRandomConstIteratorWithIndex_h
19 #define itkImageRandomConstIteratorWithIndex_h
115 template <
typename TImage>
163 m_NumberOfSamplesDone = 0L;
172 m_NumberOfSamplesDone = m_NumberOfSamplesRequested;
180 return (m_NumberOfSamplesDone == 0L);
187 return (m_NumberOfSamplesDone >= m_NumberOfSamplesRequested);
196 m_NumberOfSamplesDone++;
207 m_NumberOfSamplesDone--;
217 GetNumberOfSamples()
const;
224 ReinitializeSeed(
int);
238 #ifndef ITK_MANUAL_INSTANTIATION
239 # include "itkImageRandomConstIteratorWithIndex.hxx"
typename IndexType::IndexValueType IndexValueType
typename TImage::SizeType SizeType
typename PixelContainer::Pointer PixelContainerPointer
SizeValueType m_NumberOfPixelsInRegion
typename OffsetType::OffsetValueType OffsetValueType
ImageBaseType::SizeType SizeType
ImageRandomConstIteratorWithIndex(const ImageConstIteratorWithIndex< TImage > &it)
typename TImage::PixelType PixelType
typename TImage::IndexType IndexType
typename TImage::InternalPixelType InternalPixelType
ImageBaseType::IndexType IndexType
ImageBaseType::RegionType RegionType
typename TImage::AccessorType AccessorType
SizeValueType m_NumberOfSamplesRequested
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
SizeValueType m_NumberOfSamplesDone
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
signed long OffsetValueType
typename TImage::RegionType RegionType
typename Statistics::MersenneTwisterRandomVariateGenerator::Pointer GeneratorPointer
GeneratorPointer m_Generator
signed long IndexValueType
typename TImage::PixelContainer PixelContainer
typename SizeType::SizeValueType SizeValueType
Self & operator=(const Self &it)
unsigned long SizeValueType
A multi-dimensional image iterator that visits a random set of pixels within an image region.
typename TImage::OffsetType OffsetType