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 >
144 itkStaticConstMacro(ImageDimension,
unsigned int,
145 TOutputImage::ImageDimension);
148 itkStaticConstMacro(VectorDimension,
unsigned int,
174 virtual void GenerateInputRequestedRegion() ITK_OVERRIDE;
180 void SetUseImageSpacingOn()
181 { this->SetUseImageSpacing(
true); }
187 { this->SetUseImageSpacing(
false); }
191 void SetUseImageSpacing(
bool);
193 itkGetConstMacro(UseImageSpacing,
bool);
200 itkGetConstReferenceMacro(DerivativeWeights,
WeightsType);
210 void BeforeThreadedGenerateData() ITK_OVERRIDE;
224 void ThreadedGenerateData(const OutputImageRegionType & outputRegionForThread,
227 void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
232 itkGetConstObjectMacro(RealValuedInputImage, ImageBaseType);
235 itkGetConstReferenceMacro(NeighborhoodRadius,
RadiusType);
236 itkSetMacro(NeighborhoodRadius, RadiusType);
249 bool m_UseImageSpacing;
257 RadiusType m_NeighborhoodRadius;
261 #ifndef ITK_MANUAL_INSTANTIATION
262 #include "itkDisplacementFieldJacobianDeterminantFilter.hxx"
TInputImage InputImageType
void SetUseImageSpacingOff()
ImageToImageFilter< TInputImage, TOutputImage > Superclass
TInputImage::PixelType InputPixelType
Image< RealVectorType, TInputImage::ImageDimension > RealVectorImageType
DisplacementFieldJacobianDeterminantFilter Self
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Superclass::RadiusType RadiusType
Base class for all process objects that output image data.
Const version of NeighborhoodIterator, defining iteration of a local N-dimensional neighborhood of pi...
FixedArray< TRealType, ImageDimension > WeightsType
Superclass::OutputImageRegionType OutputImageRegionType
SmartPointer< Self > Pointer
virtual ~DisplacementFieldJacobianDeterminantFilter() override
A templated class holding a n-Dimensional vector.
OutputImageType::Pointer OutputImagePointer
TOutputImage OutputImageType
TInputImage InputImageType
const unsigned int Dimension
SmartPointer< const Self > ConstPointer
InputImageType::Pointer InputImagePointer
ConstNeighborhoodIteratorType::RadiusType RadiusType
unsigned int ThreadIdType
InputImageType::Superclass ImageBaseType
Vector< TRealType, InputPixelType::Dimension > RealVectorType
Base class for filters that take an image as input and produce an image as output.
Control indentation during Print() invocation.
TOutputImage::PixelType OutputPixelType
Templated n-dimensional image class.
Computes a scalar image from a vector image (e.g., deformation field) input, where each output scalar...
ConstNeighborhoodIterator< RealVectorImageType > ConstNeighborhoodIteratorType