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, TInputImage::ImageDimension>>
144 static constexpr
unsigned int ImageDimension = TOutputImage::ImageDimension;
160 using typename Superclass::OutputImageRegionType;
171 GenerateInputRequestedRegion()
override;
180 SetUseImageSpacing(
bool);
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);
214 itkGetConstReferenceMacro(DerivativeWeights,
WeightsType);
225 BeforeThreadedGenerateData()
override;
244 PrintSelf(std::ostream & os,
Indent indent)
const override;
252 itkGetConstReferenceMacro(NeighborhoodRadius,
RadiusType);
267 bool m_UseImageSpacing{
true };
277 #ifndef ITK_MANUAL_INSTANTIATION
278 # include "itkDisplacementFieldJacobianDeterminantFilter.hxx"