4 #include <itkImageToImageFilter.h> 5 #include <itkVectorLinearInterpolateNearestNeighborExtrapolateImageFunction.h> 18 template <
typename TPixelType,
typename TOutputPixelType,
unsigned int Dimension>
20 public itk::ImageToImageFilter< itk::Image <itk::Vector <TPixelType, Dimension>, Dimension> ,
21 itk::Image <itk::Vector <TOutputPixelType, Dimension * Dimension>, Dimension> >
25 typedef typename itk::Image <itk::Vector <TPixelType, Dimension>, Dimension>
InputImageType;
26 typedef typename itk::Image <itk::Vector <TOutputPixelType, Dimension * Dimension>, Dimension>
OutputImageType;
28 typedef itk::ImageToImageFilter <InputImageType, OutputImageType>
Superclass;
47 typedef itk::VectorLinearInterpolateNearestNeighborExtrapolateImageFunction <InputImageType>
InterpolatorType;
50 itkSetMacro(NoIdentity,
bool)
51 itkSetMacro(ComputeDeterminant,
bool)
54 void SetNeighborhood(
unsigned int val);
61 m_OnlySixConnectivity =
true;
63 m_ComputeDeterminant =
false;
64 m_DeterminantImage = 0;
81 unsigned int m_Neighborhood;
82 bool m_OnlySixConnectivity;
84 typename DeterminantImageType::Pointer m_DeterminantImage;
85 bool m_ComputeDeterminant;
InputImageType::RegionType RegionType
InputImageType::IndexType IndexType
itkGetObjectMacro(DeterminantImage, DeterminantImageType) void SetNeighborhood(unsigned int val)
itk::Image< TOutputPixelType, Dimension > DeterminantImageType
Compute the Jacobian matrix in real coordinates of a displacement field.
InputImageType::Pointer InputImagePointer
itk::Image< itk::Vector< TOutputPixelType, Dimension *Dimension >, Dimension > OutputImageType
InterpolatorType::Pointer InterpolatorPointer
OutputImageType::Pointer OutputImagePointer
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) ITK_OVERRIDE
itk::SmartPointer< const Self > ConstPointer
itk::Image< itk::Vector< TPixelType, Dimension >, Dimension > InputImageType
InputImageType::PixelType InputPixelType
void BeforeThreadedGenerateData() ITK_OVERRIDE
itk::ImageToImageFilter< InputImageType, OutputImageType > Superclass
itk::SmartPointer< Self > Pointer
itk::VectorLinearInterpolateNearestNeighborExtrapolateImageFunction< InputImageType > InterpolatorType
JacobianMatrixImageFilter Self
virtual ~JacobianMatrixImageFilter()
InputImageType::PointType PointType
Superclass::OutputImageRegionType OutputImageRegionType
OutputImageType::PixelType OutputPixelType
bool CheckFaceConnectivity(const IndexType &internalIndex, const IndexType ¤tIndex)