18#ifndef itkDisplacementFieldJacobianDeterminantFilter_h
19#define itkDisplacementFieldJacobianDeterminantFilter_h
24#include "vnl/vnl_matrix.h"
25#include "vnl/vnl_det.h"
111template <
typename TInputImage,
112 typename TRealType = float,
113 typename TOutputImage = Image<TRealType, TInputImage::ImageDimension>>
144 static constexpr unsigned int ImageDimension = TOutputImage::ImageDimension;
160 using typename Superclass::OutputImageRegionType;
181 itkGetConstMacro(UseImageSpacing,
bool);
182 itkBooleanMacro(UseImageSpacing);
185#if !defined(ITK_FUTURE_LEGACY_REMOVE)
192 SetUseImageSpacingOn()
194 this->SetUseImageSpacing(
true);
202 SetUseImageSpacingOff()
204 this->SetUseImageSpacing(
false);
267 bool m_UseImageSpacing{
true };
277#ifndef ITK_MANUAL_INSTANTIATION
278# include "itkDisplacementFieldJacobianDeterminantFilter.hxx"
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
Computes a scalar image from a vector image (e.g., deformation field) input, where each output scalar...
typename TInputImage::PixelType InputPixelType
TInputImage InputImageType
~DisplacementFieldJacobianDeterminantFilter() override=default
typename InputImageType::Superclass ImageBaseType
DisplacementFieldJacobianDeterminantFilter()
typename TOutputImage::PixelType OutputPixelType
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
virtual TRealType EvaluateAtNeighborhood(const ConstNeighborhoodIteratorType &it) const
void BeforeThreadedGenerateData() override
typename ConstNeighborhoodIteratorType::RadiusType RadiusType
TOutputImage OutputImageType
void PrintSelf(std::ostream &os, Indent indent) const override
void SetDerivativeWeights(const WeightsType &)
void SetUseImageSpacing(bool)
typename InputImageType::Pointer InputImagePointer
typename OutputImageType::Pointer OutputImagePointer
void GenerateInputRequestedRegion() override
Simulate a standard C array with copy semantics.
typename OutputImageType::RegionType OutputImageRegionType
Base class for filters that take an image as input and produce an image as output.
Templated n-dimensional image class.
Control indentation during Print() invocation.
Light weight base class for most itk classes.
A templated class holding a n-Dimensional vector.
SmartPointer< const Self > ConstPointer
BinaryGeneratorImageFilter< TInputImage1, TInputImage2, TOutputImage > Superclass
SmartPointer< Self > Pointer
constexpr unsigned int Dimension
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
unsigned int ThreadIdType