|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkImageRandomConstIteratorWithOnlyIndex_h
19 #define itkImageRandomConstIteratorWithOnlyIndex_h
122 template <
typename TImage>
165 m_NumberOfSamplesDone = 0L;
174 m_NumberOfSamplesDone = m_NumberOfSamplesRequested;
182 return (m_NumberOfSamplesDone == 0L);
189 return (m_NumberOfSamplesDone >= m_NumberOfSamplesRequested);
198 m_NumberOfSamplesDone++;
209 m_NumberOfSamplesDone--;
219 GetNumberOfSamples()
const;
226 ReinitializeSeed(
int);
240 #ifndef ITK_MANUAL_INSTANTIATION
241 # include "itkImageRandomConstIteratorWithOnlyIndex.hxx"
ImageRandomConstIteratorWithOnlyIndex(const ImageConstIteratorWithOnlyIndex< TImage > &it)
typename TImage::SizeType SizeType
typename TImage::OffsetType OffsetType
SizeValueType m_NumberOfSamplesRequested
ImageBaseType::SizeType SizeType
typename TImage::RegionType RegionType
typename IndexType::IndexValueType IndexValueType
GeneratorPointer m_Generator
SizeValueType m_NumberOfPixelsInRegion
ImageBaseType::IndexType IndexType
typename Statistics::MersenneTwisterRandomVariateGenerator::Pointer GeneratorPointer
ImageBaseType::RegionType RegionType
Self & operator=(const Self &it)
A base class for multi-dimensional iterators templated over image type that are designed to provide o...
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType m_NumberOfSamplesDone
signed long OffsetValueType
signed long IndexValueType
typename SizeType::SizeValueType SizeValueType
typename TImage::IndexType IndexType
typename OffsetType::OffsetValueType OffsetValueType
A multi-dimensional image iterator that visits a random set of locations within an image region,...
unsigned long SizeValueType