18 #ifndef itkImageRandomConstIteratorWithIndex_h
19 #define itkImageRandomConstIteratorWithIndex_h
115 template<
typename TImage >
162 m_NumberOfSamplesDone = 0L;
170 m_NumberOfSamplesDone = m_NumberOfSamplesRequested;
177 return ( m_NumberOfSamplesDone == 0L );
183 return ( m_NumberOfSamplesDone >= m_NumberOfSamplesRequested );
191 m_NumberOfSamplesDone++;
201 m_NumberOfSamplesDone--;
212 void ReinitializeSeed();
214 void ReinitializeSeed(
int);
227 #ifndef ITK_MANUAL_INSTANTIATION
228 #include "itkImageRandomConstIteratorWithIndex.hxx"
typename TImage::SizeType SizeType
typename SizeType::SizeValueType SizeValueType
SizeValueType m_NumberOfPixelsInRegion
typename IndexType::IndexValueType IndexValueType
typename Statistics::MersenneTwisterRandomVariateGenerator::Pointer GeneratorPointer
unsigned long SizeValueType
typename PixelContainer::Pointer PixelContainerPointer
SmartPointer< Self > Pointer
typename TImage::InternalPixelType InternalPixelType
typename OffsetType::OffsetValueType OffsetValueType
typename TImage::PixelType PixelType
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
SizeValueType m_NumberOfSamplesDone
ImageBaseType::SizeType SizeType
ImageBaseType::IndexType IndexType
signed long IndexValueType
typename TImage::IndexType IndexType
A multi-dimensional image iterator that visits a random set of pixels within an image region...
typename TImage::RegionType RegionType
ImageRandomConstIteratorWithIndex(const ImageConstIteratorWithIndex< TImage > &it)
typename TImage::AccessorType AccessorType
GeneratorPointer m_Generator
typename TImage::PixelContainer PixelContainer
ImageBaseType::RegionType RegionType
Self & operator=(const Self &it)
typename TImage::OffsetType OffsetType
signed long OffsetValueType
SizeValueType m_NumberOfSamplesRequested