18#ifndef itkMultiInputImageRandomCoordinateSampler_h
19#define itkMultiInputImageRandomCoordinateSampler_h
22#include "itkInterpolateImageFunction.h"
23#include "itkBSplineInterpolateImageFunction.h"
24#include "itkMersenneTwisterRandomVariateGenerator.h"
39template <
class TInputImage>
58 using typename Superclass::DataObjectPointer;
103 itkGetConstMacro(UseRandomSampleRegion,
bool);
104 itkSetMacro(UseRandomSampleRegion,
bool);
117 PrintSelf(std::ostream & os, Indent indent)
const override;
131 const auto interpolator = DefaultInterpolatorType::New();
132 interpolator->SetSplineOrder(3);
145 bool m_UseRandomSampleRegion{
false };
150#ifndef ITK_MANUAL_INSTANTIATION
151# include "itkMultiInputImageRandomCoordinateSampler.hxx"
This class is a base class for any image sampler that randomly picks samples.
typename InputImageType::ConstPointer InputImageConstPointer
TInputImage InputImageType
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::Pointer InputImagePointer
ImageMaskSpatialObject< Self::InputImageDimension > MaskType
typename InputImageType::PixelType InputImagePixelType
A class that defines an image sample, which is the coordinates of a point and its value.
typename InputImageType::PointType InputImagePointType
typename InputImageType::SizeType InputImageSizeType
typename InputImagePointType::ValueType InputImagePointValueType
typename ImageSampleType::RealType ImageSampleValueType
typename InputImageType::IndexType InputImageIndexType
typename OutputVectorContainerType::Pointer OutputVectorContainerPointer
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.