18 #ifndef itkDisplacementFieldJacobianDeterminantFilter_h
19 #define itkDisplacementFieldJacobianDeterminantFilter_h
24 #include "vnl/vnl_matrix.h"
25 #include "vnl/vnl_det.h"
111 template<
typename TInputImage,
112 typename TRealType = float,
113 typename TOutputImage = Image< TRealType,
114 TInputImage::ImageDimension >
146 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
174 void GenerateInputRequestedRegion()
override;
181 { this->SetUseImageSpacing(
true); }
187 { this->SetUseImageSpacing(
false); }
191 void SetUseImageSpacing(
bool);
193 itkGetConstMacro(UseImageSpacing,
bool);
200 itkGetConstReferenceMacro(DerivativeWeights,
WeightsType);
210 void BeforeThreadedGenerateData()
override;
227 void PrintSelf(std::ostream & os,
Indent indent)
const override;
235 itkGetConstReferenceMacro(NeighborhoodRadius,
RadiusType);
259 #ifndef ITK_MANUAL_INSTANTIATION
260 #include "itkDisplacementFieldJacobianDeterminantFilter.hxx"
ThreadIdType m_RequestedNumberOfThreads
typename OutputImageType::Pointer OutputImagePointer
void SetUseImageSpacingOff()
WeightsType m_DerivativeWeights
typename InputImageType::Superclass ImageBaseType
RadiusType m_NeighborhoodRadius
void SetUseImageSpacingOn()
typename TOutputImage::PixelType OutputPixelType
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
constexpr unsigned int Dimension
TInputImage InputImageType
ImageBaseType::ConstPointer m_RealValuedInputImage
typename InputImageType::Pointer InputImagePointer
A templated class holding a n-Dimensional vector.
typename OutputImageType::RegionType OutputImageRegionType
TOutputImage OutputImageType
unsigned int ThreadIdType
typename ConstNeighborhoodIteratorType::RadiusType RadiusType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
typename Superclass::RadiusType RadiusType
typename TInputImage::PixelType InputPixelType
Templated n-dimensional image class.
WeightsType m_HalfDerivativeWeights
Computes a scalar image from a vector image (e.g., deformation field) input, where each output scalar...