18 #ifndef itkImageRandomConstIteratorWithIndex_h
19 #define itkImageRandomConstIteratorWithIndex_h
115 template<
typename TImage >
161 m_NumberOfSamplesDone = 0L;
169 m_NumberOfSamplesDone = m_NumberOfSamplesRequested;
176 return ( m_NumberOfSamplesDone == 0L );
182 return ( m_NumberOfSamplesDone >= m_NumberOfSamplesRequested );
190 m_NumberOfSamplesDone++;
200 m_NumberOfSamplesDone--;
211 void ReinitializeSeed();
213 void ReinitializeSeed(
int);
226 #ifndef ITK_MANUAL_INSTANTIATION
227 #include "itkImageRandomConstIteratorWithIndex.hxx"
SizeValueType m_NumberOfPixelsInRegion
TImage::InternalPixelType InternalPixelType
Superclass::AccessorType AccessorType
TImage::SizeType SizeType
Superclass::PixelContainerPointer PixelContainerPointer
TImage::AccessorType AccessorType
Superclass::SizeType SizeType
ImageConstIteratorWithIndex< TImage > Superclass
OffsetType::OffsetValueType OffsetValueType
Superclass::OffsetType OffsetType
TImage::PixelContainer PixelContainer
unsigned long SizeValueType
ImageRandomConstIteratorWithIndex Self
Statistics::MersenneTwisterRandomVariateGenerator::Pointer GeneratorPointer
TImage::OffsetType OffsetType
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
Superclass::ImageType ImageType
TImage::IndexType IndexType
SizeValueType m_NumberOfSamplesDone
TImage::RegionType RegionType
TImage::PixelType PixelType
IndexType::IndexValueType IndexValueType
~ImageRandomConstIteratorWithIndex()
A multi-dimensional image iterator that visits a random set of pixels within an image region...
Superclass::SizeValueType SizeValueType
ImageRandomConstIteratorWithIndex(const ImageConstIteratorWithIndex< TImage > &it)
GeneratorPointer m_Generator
PixelContainer::Pointer PixelContainerPointer
Superclass::InternalPixelType InternalPixelType
Superclass::RegionType RegionType
bool IsAtBegin(void) const
Superclass::OffsetValueType OffsetValueType
Self & operator=(const Self &it)
Superclass::PixelType PixelType
SizeValueType m_NumberOfSamplesRequested
SizeType::SizeValueType SizeValueType
Superclass::PixelContainer PixelContainer
Superclass::IndexValueType IndexValueType
Superclass::IndexType IndexType