Go to the documentation of this file.
18 #ifndef __ImageRandomCoordinateSampler_h
19 #define __ImageRandomCoordinateSampler_h
22 #include "itkInterpolateImageFunction.h"
23 #include "itkBSplineInterpolateImageFunction.h"
24 #include "itkMersenneTwisterRandomVariateGenerator.h"
39 template<
class TInputImage >
79 Superclass::InputImageDimension );
84 typedef InterpolateImageFunction<
87 typedef BSplineInterpolateImageFunction<
105 itkGetConstMacro( UseRandomSampleRegion,
bool );
106 itkSetMacro( UseRandomSampleRegion,
bool );
118 void PrintSelf( std::ostream & os, Indent indent )
const;
164 #ifndef ITK_MANUAL_INSTANTIATION
165 #include "itkImageRandomCoordinateSampler.hxx"
168 #endif // end #ifndef __ImageRandomCoordinateSampler_h
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
InputImageType::PointType InputImagePointType
Superclass::InputImagePixelType InputImagePixelType
RandomGeneratorPointer m_RandomGenerator
ImageSampleType::RealType ImageSampleValueType
Superclass::InputImageType InputImageType
SmartPointer< Self > Pointer
Superclass::MaskType MaskType
ImageRandomSamplerBase< TInputImage > Superclass
InterpolatorPointer m_Interpolator
void operator=(const Self &)
InputImageType::SizeType InputImageSizeType
InterpolatorType::Pointer InterpolatorPointer
Superclass::InputImagePointType InputImagePointType
itkStaticConstMacro(InputImageDimension, unsigned int, Superclass::InputImageDimension)
Superclass::InputImageRegionType InputImageRegionType
virtual void GenerateData(void)
Superclass::MaskType MaskType
virtual ~ImageRandomCoordinateSampler()
Superclass::InputImagePointValueType InputImagePointValueType
InterpolateImageFunction< InputImageType, CoordRepType > InterpolatorType
Superclass::ImageSampleValueType ImageSampleValueType
Superclass::ImageSampleContainerType ImageSampleContainerType
Superclass::DataObjectPointer DataObjectPointer
A class that defines an image sample, which is the coordinates of a point and its value.
void PrintSelf(std::ostream &os, Indent indent) const
Superclass::InputImagePixelType InputImagePixelType
Samples an image by randomly composing a set of physical coordinates.
virtual void GenerateSampleRegion(const InputImageContinuousIndexType &smallestImageContIndex, const InputImageContinuousIndexType &largestImageContIndex, InputImageContinuousIndexType &smallestContIndex, InputImageContinuousIndexType &largestContIndex)
ImageRandomCoordinateSampler Self
InputImageType::SpacingType InputImageSpacingType
ImageRandomCoordinateSampler()
Superclass::ImageSampleType ImageSampleType
InputImagePointType::ValueType InputImagePointValueType
Superclass::ImageSampleContainerPointer ImageSampleContainerPointer
Superclass::InputImagePointer InputImagePointer
RandomGeneratorType::Pointer RandomGeneratorPointer
itk::Statistics::MersenneTwisterRandomVariateGenerator RandomGeneratorType
Superclass::InputImageIndexType InputImageIndexType
Superclass::OutputVectorContainerType OutputVectorContainerType
virtual void BeforeThreadedGenerateData(void)
ImageRandomCoordinateSampler(const Self &)
Superclass::InputImagePointer InputImagePointer
Superclass::InputImageSizeType InputImageSizeType
InputImageSpacingType m_SampleRegionSize
InterpolatorType::ContinuousIndexType InputImageContinuousIndexType
bool m_UseRandomSampleRegion
Superclass::InputImageRegionType InputImageRegionType
Superclass::InputImageConstPointer InputImageConstPointer
Superclass::InputImageType InputImageType
InputImageType::IndexType InputImageIndexType
BSplineInterpolateImageFunction< InputImageType, CoordRepType, double > DefaultInterpolatorType
virtual void ThreadedGenerateData(const InputImageRegionType &inputRegionForThread, ThreadIdType threadId)
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Superclass::DataObjectPointer DataObjectPointer
Superclass::InputImageConstPointer InputImageConstPointer
This class is a base class for any image sampler that randomly picks samples.
virtual void GenerateRandomCoordinate(const InputImageContinuousIndexType &smallestContIndex, const InputImageContinuousIndexType &largestContIndex, InputImageContinuousIndexType &randomContIndex)
SmartPointer< const Self > ConstPointer
Generated on OURCE_DATE_EPOCH for elastix by 1.8.18 |
|