18#ifndef itkBlockMatchingStrainWindowDisplacementCalculator_h
19#define itkBlockMatchingStrainWindowDisplacementCalculator_h
57template <
typename TMetricImage,
typename TDisplacementImage,
typename TStrainValueType>
65 static constexpr unsigned int ImageDimension = TDisplacementImage::ImageDimension;
80 using RegionType =
typename DisplacementImageType::RegionType;
140 itkGetConstMacro(MaximumIterations,
unsigned int);
144 itkGetConstMacro(CurrentIteration,
unsigned int);
190#ifndef ITK_MANUAL_INSTANTIATION
191# include "itkBlockMatchingStrainWindowDisplacementCalculator.hxx"
Computes the absolute value of each pixel.
SmartPointer< Self > Pointer
TMetricImage MetricImageType
typename DisplacementImageType::PointType PointType
TDisplacementImage DisplacementImageType
SmartPointer< Self > Pointer
typename MetricImageType::IndexType IndexType
MetricImageToDisplacementCalculator()
virtual void SetDisplacementImage(DisplacementImageType *image)
static constexpr unsigned int ImageDimension
NthElementAdaptorType::Pointer m_NthElementAdaptor
typename DisplacementImageType::RegionType RegionType
AbsFilterType::Pointer m_AbsFilter
virtual void SetMaximumAbsStrain(const StrainTensorType &max)
Image< bool, ImageDimension > MaskType
SmartPointer< Self > Pointer
void ReplaceDisplacements(const RegionType ®ion)
unsigned long long GenerateMask(const RegionType ®ion)
BoxMeanImageFilter< MetricImageType, MetricImageType > BoxMeanImageFilterType
typename Superclass::DisplacementImageType DisplacementImageType
typename Superclass::PointType PointType
SmartPointer< const Self > ConstPointer
ImageToImageFilter< DisplacementImageType, Image< SymmetricSecondRankTensor< MetricPixelType, ImageDimension >, ImageDimension > > StrainImageFilterType
typename Superclass::IndexType IndexType
void SetMetricImagePixel(const PointType &point, const IndexType &index, MetricImageType *image) override
StrainImageFilterType::Pointer m_StrainImageFilter
StrainWindowDisplacementCalculator()
void SetDisplacementImage(DisplacementImageType *image) override
MetricImageToDisplacementCalculator< MetricImageType, DisplacementImageType > Superclass
typename Superclass::MetricImageType MetricImageType
StrainTensorType m_MinimumStrain
unsigned int m_CurrentIteration
StrainTensorType m_MaximumAbsStrain
typename MetricImageType::PixelType MetricPixelType
unsigned int m_MaximumIterations
AbsImageFilter< NthElementAdaptorType, MetricImageType > AbsFilterType
Superclass::Pointer m_DisplacementCalculator
typename StrainImageFilterType::OutputImageType StrainImageType
NthElementImageAdaptor< StrainImageType, MetricPixelType > NthElementAdaptorType
StrainWindowDisplacementCalculator Self
typename StrainImageFilterType::OutputImagePixelType StrainTensorType
BoxMeanImageFilterType::Pointer m_BoxMeanFilter
Implements a fast rectangular mean filter using the accumulator approach.
SmartPointer< Self > Pointer
TOutputImage OutputImageType
Base class for filters that take an image as input and produce an image as output.
SmartPointer< Self > Pointer
typename OutputImageType::PixelType OutputImagePixelType
Templated n-dimensional image class.
SmartPointer< Self > Pointer
Presents an image as being composed of the N-th element of its pixels.
SmartPointer< Self > Pointer
virtual void Modified() const
Implements transparent reference counting.
Generate a strain field image from a displacement field image.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
#define itkSetMacro(name, type)