14 #ifndef __ImageSamplerBase_h
15 #define __ImageSamplerBase_h
20 #include "itkSpatialObject.h"
37 template<
class TInputImage >
40 VectorDataContainer< unsigned long, ImageSample< TInputImage > > >
70 InputImageType::ImageDimension );
81 typedef SpatialObject< Self::InputImageDimension >
MaskType;
115 itkGetConstMacro( NumberOfMasks,
unsigned int );
143 itkGetConstMacro( NumberOfInputImageRegions,
unsigned int );
164 itkGetConstMacro( NumberOfSamples,
unsigned long );
167 itkSetMacro( UseMultiThread,
bool );
178 void PrintSelf( std::ostream & os, Indent indent )
const;
231 #ifndef ITK_MANUAL_INSTANTIATION
232 #include "itkImageSamplerBase.hxx"
235 #endif // end #ifndef __ImageSamplerBase_h
std::vector< MaskConstPointer > MaskVectorType
virtual void SetInputImageRegion(const InputImageRegionType _arg)
ImageSampleType::RealType ImageSampleValueType
InputImageRegionType m_DummyInputImageRegion
MaskType::ConstPointer MaskConstPointer
InputImageType::PointType InputImagePointType
virtual bool SelectNewSamplesOnUpdate(void)
virtual void AfterThreadedGenerateData(void)
unsigned long m_NumberOfSamples
InputImageRegionType m_InputImageRegion
ImageSampleContainerType::Pointer ImageSampleContainerPointer
SmartPointer< Self > Pointer
A class that defines an image sample, which is the coordinates of a point and its value...
SpatialObject< Self::InputImageDimension > MaskType
virtual void BeforeThreadedGenerateData(void)
std::vector< InputImageRegionType > InputImageRegionVectorType
Superclass::DataObjectPointer DataObjectPointer
virtual bool CheckInputImageRegions(void)
virtual ~ImageSamplerBase()
Superclass::InputImagePixelType InputImagePixelType
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
virtual void SetNumberOfInputImageRegions(const unsigned int _arg)
This class is a base class for any image sampler.
InputImageRegionType m_CroppedInputImageRegion
ImageSample< InputImageType > ImageSampleType
Define a front-end to the STL "vector" container that conforms to the IndexedContainerInterface.
Superclass::OutputVectorContainerType OutputVectorContainerType
virtual void GenerateInputRequestedRegion(void)
InputImagePointType::ValueType InputImagePointValueType
InputImageType::ConstPointer InputImageConstPointer
void CropInputImageRegion(void)
SmartPointer< const Self > ConstPointer
Superclass::InputImageRegionType InputImageRegionType
virtual bool IsInsideAllMasks(const InputImagePointType &point) const
NumericTraits< PixelType >::RealType RealType
VectorDataContainer< unsigned long, ImageSampleType > ImageSampleContainerType
Superclass::OutputVectorContainerPointer OutputVectorContainerPointer
SmartPointer< Self > Pointer
virtual void SetMask(const MaskType *_arg)
void PrintSelf(std::ostream &os, Indent indent) const
std::vector< ImageSampleContainerPointer > m_ThreaderSampleContainer
InputImageType::Pointer InputImagePointer
virtual bool SelectingNewSamplesOnUpdateSupported(void) const
unsigned int m_NumberOfMasks
InputImageType::SizeType InputImageSizeType
unsigned int m_NumberOfInputImageRegions
Superclass::InputImagePointer InputImagePointer
virtual const InputImageRegionType & GetInputImageRegion(void) const
InputImageRegionVectorType m_InputImageRegionVector
virtual void SetMask(const MaskType *_arg, unsigned int pos)
virtual void SetInputImageRegion(const InputImageRegionType _arg, unsigned int pos)
virtual const MaskType * GetMask(void) const
virtual void SetNumberOfMasks(const unsigned int _arg)
Superclass::DataObjectPointer DataObjectPointer
virtual void UpdateAllMasks(void)
Base class that takes in an image and pops out a vector container.
Superclass::InputImageConstPointer InputImageConstPointer
MaskType::Pointer MaskPointer
MaskVectorType m_MaskVector
Superclass::InputImageType InputImageType
itkStaticConstMacro(InputImageDimension, unsigned int, InputImageType::ImageDimension)
InputImageType::IndexType InputImageIndexType
ImageToVectorContainerFilter< TInputImage, VectorDataContainer< unsigned long, ImageSample< TInputImage > > > Superclass
InputImageType::PixelType InputImagePixelType
InputImageType::RegionType InputImageRegionType
void operator=(const Self &)
elx::ImageSamplerBase< TElastix >::InputImageType InputImageType