18 #ifndef itkBlockMatchingImageFilter_h 19 #define itkBlockMatchingImageFilter_h 69 typename TMovingImage = TFixedImage,
70 typename TFeatures = PointSet< Matrix< SpacePrecisionType, TFixedImage::ImageDimension, TFixedImage::ImageDimension>, TFixedImage::ImageDimension >,
71 class TDisplacements = PointSet< Vector< typename TFeatures::PointType::ValueType, TFeatures::PointDimension >, TFeatures::PointDimension >,
72 class TSimilarities = PointSet< SpacePrecisionType, TDisplacements::PointDimension > >
124 itkSetMacro(BlockRadius, ImageSizeType);
125 itkGetConstMacro(BlockRadius, ImageSizeType);
129 itkSetMacro(SearchRadius, ImageSizeType);
130 itkGetConstMacro(SearchRadius, ImageSizeType);
134 itkSetInputMacro(FixedImage, FixedImageType);
135 itkGetInputMacro(FixedImage, FixedImageType);
139 itkSetInputMacro(MovingImage, MovingImageType);
140 itkGetInputMacro(MovingImage, MovingImageType);
144 itkSetInputMacro(FeaturePoints, FeaturePointsType);
145 itkGetInputMacro(FeaturePoints, FeaturePointsType);
215 #ifndef ITK_MANUAL_INSTANTIATION 216 #include "itkBlockMatchingImageFilter.hxx" TFeatures FeaturePointsType
virtual void BeforeThreadedGenerateData()
ImageSizeType m_BlockRadius
SmartPointer< const Self > ConstPointer
DisplacementsType::ConstPointer DisplacementsConstPointer
ImageRegion< ImageDimension > ImageRegionType
virtual void EnlargeOutputRequestedRegion(DataObject *output) override
static ITK_THREAD_RETURN_TYPE ThreaderCallback(void *arg)
BlockMatchingImageFilter()
SmartPointer< Self > Pointer
virtual DataObject::Pointer MakeOutput(ProcessObject::DataObjectPointerArraySizeType idx) override
MeshToMeshFilter< FeaturePointsType, DisplacementsType > Superclass
virtual void AfterThreadedGenerateData()
FixedImageType::PixelType FixedImagePixelType
An image region represents a structured region of data.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
TSimilarities SimilaritiesType
MeshToMeshFilter is the base class for all process objects that output mesh data, and require mesh da...
virtual void ThreadedGenerateData(ThreadIdType threadId)
Index< ImageDimension > ImageIndexType
SimilaritiesType::PixelType SimilaritiesValue
TFixedImage FixedImageType
SimilaritiesType::Pointer SimilaritiesPointer
unsigned long SizeValueType
#define ITK_THREAD_RETURN_TYPE
SimilaritiesType * GetSimilarities()
SimilaritiesValue * m_SimilaritiesValuesArray
BlockMatchingImageFilter Self
Size< ImageDimension > ImageSizeType
ImageSizeType m_SearchRadius
DataObjectPointerArray::size_type DataObjectPointerArraySizeType
FeaturePointsType::Pointer FeaturePointsPointer
TMovingImage MovingImageType
Standard exception handling object.
static const unsigned ImageDimension
FeaturePointsType::ConstPointer FeaturePointsConstPointer
DisplacementsType::PixelType DisplacementsVector
MovingImageType::ConstPointer MovingImageConstPointer
unsigned int ThreadIdType
~BlockMatchingImageFilter()
virtual DataObjectPointer MakeOutput(DataObjectPointerArraySizeType idx) override
void PrintSelf(std::ostream &os, Indent indent) const override
TDisplacements DisplacementsType
SimilaritiesType::ConstPointer SimilaritiesConstPointer
DisplacementsVector * m_DisplacementsVectorsArray
DisplacementsType::Pointer DisplacementsPointer
Computes displacements of given points from a fixed image in a floating image.
FixedImageType::ConstPointer FixedImageConstPointer
SizeValueType m_PointsCount
FeaturePointsType::PointType FeaturePointsPhysicalCoordinates
Control indentation during Print() invocation.
virtual void GenerateData() override
virtual void GenerateOutputInformation() override
Represent a n-dimensional index in a n-dimensional image.
Base class for all data objects in ITK.
DisplacementsType * GetDisplacements()
DataObject * GetOutput(const DataObjectIdentifierType &key)