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
ImageSample< InputImageType > ImageSampleType
VectorDataContainer< std::vcl_size_t, ImageSampleType > ImageSampleContainerType
TInputImage InputImageType
typename InputImageType::RegionType InputImageRegionType
typename InputImageType::Pointer InputImagePointer
ImageMaskSpatialObject< Self::InputImageDimension > MaskType
typename InputImageType::PixelType InputImagePixelType
typename InputImageType::PointType InputImagePointType
typename InputImageType::SizeType InputImageSizeType
typename InputImagePointType::ValueType InputImagePointValueType
typename ImageSampleType::RealType ImageSampleValueType
typename InputImageType::IndexType InputImageIndexType
VectorDataContainer< std::vcl_size_t, ImageSample< TInputImage > > OutputVectorContainerType
typename OutputVectorContainerType::Pointer OutputVectorContainerPointer