18 #ifndef __ImageSamplerBase_h 19 #define __ImageSamplerBase_h 24 #include "itkSpatialObject.h" 41 template<
class TInputImage >
44 VectorDataContainer< unsigned long, ImageSample< TInputImage > > >
74 InputImageType::ImageDimension );
85 typedef SpatialObject< Self::InputImageDimension >
MaskType;
94 virtual void SetMask(
const MaskType * _arg,
unsigned int pos );
99 virtual void SetMask(
const MaskType * _arg )
106 virtual const MaskType *
GetMask(
unsigned int pos )
const;
109 virtual const MaskType *
GetMask(
void )
const 119 itkGetConstMacro( NumberOfMasks,
unsigned int );
147 itkGetConstMacro( NumberOfInputImageRegions,
unsigned int );
165 itkGetConstReferenceMacro( CroppedInputImageRegion, InputImageRegionType );
168 itkGetConstMacro( NumberOfSamples,
unsigned long );
171 itkSetMacro( UseMultiThread,
bool );
182 void PrintSelf( std::ostream & os, Indent indent )
const;
235 #ifndef ITK_MANUAL_INSTANTIATION 236 #include "itkImageSamplerBase.hxx" 239 #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
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
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