28#ifndef itkRandomImageSource_h
29#define itkRandomImageSource_h
54template <
typename TOutputImage>
92 static constexpr unsigned int OutputImageDimension = TOutputImage::ImageDimension;
126 itkSetClampMacro(Min,
136 itkSetClampMacro(Max,
162 typename TOutputImage::PixelType m_Min{};
163 typename TOutputImage::PixelType m_Max{};
172#ifndef ITK_MANUAL_INSTANTIATION
173# include "itkRandomImageSource.hxx"
Base class for all process objects that output image data.
typename OutputImageType::PixelType OutputImagePixelType
typename OutputImageType::RegionType OutputImageRegionType
Control indentation during Print() invocation.
Define additional traits for native types such as int or float.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Generate an n-dimensional image of random pixel values.
SizeValueType[TOutputImage::ImageDimension] SizeValueArrayType
virtual const SpacingValueType * GetSpacing() const
typename TOutputImage::PointType PointType
virtual void SetSpacing(SpacingValueArrayType spacingArray)
typename TOutputImage::SpacingValueType SpacingValueType
virtual void SetOrigin(PointValueArrayType originArray)
PointValueType[TOutputImage::ImageDimension] PointValueArrayType
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
typename TOutputImage::SpacingType SpacingType
~RandomImageSource() override=default
void GenerateOutputInformation() override
typename TOutputImage::DirectionType DirectionType
void PrintSelf(std::ostream &os, Indent indent) const override
virtual const PointValueType * GetOrigin() const
typename TOutputImage::SizeType SizeType
virtual const SizeValueType * GetSize() const
typename TOutputImage::IndexType IndexType
SpacingValueType[TOutputImage::ImageDimension] SpacingValueArrayType
virtual void SetSize(SizeValueArrayType sizeArray)
typename TOutputImage::PointValueType PointValueType
typename SizeType::SizeValueType SizeValueType
ImageBaseType::DirectionType DirectionType
ImageBaseType::RegionType RegionType
ImageBaseType::IndexType IndexType
ImageBaseType::PointType PointType
ImageBaseType::SizeType SizeType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned long SizeValueType
Represent a n-dimensional size (bounds) of a n-dimensional image.