|
ITK
6.0.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;
216 m_NumberOfSamplesRequested = number;
222 return m_NumberOfSamplesRequested;
230 ReinitializeSeed(
int);
245 #ifndef ITK_MANUAL_INSTANTIATION
246 # include "itkImageRandomConstIteratorWithIndex.hxx"
typename PixelContainer::Pointer PixelContainerPointer
ImageBaseType::SizeType SizeType
ImageRandomConstIteratorWithIndex(const ImageConstIteratorWithIndex< TImage > &it)
typename TImage::PixelType PixelType
typename TImage::InternalPixelType InternalPixelType
ImageBaseType::IndexType IndexType
ImageBaseType::RegionType RegionType
typename TImage::AccessorType AccessorType
static Pointer New()
Method for creation through the object factory.
void SetNumberOfSamples(SizeValueType number)
A base class for multi-dimensional iterators templated over image type that are designed to efficient...
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
SizeValueType GetNumberOfSamples() const
typename TImage::RegionType RegionType
typename Statistics::MersenneTwisterRandomVariateGenerator::Pointer GeneratorPointer
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