4 #include <itkImageToImageFilter.h> 5 #include <itkVectorImage.h> 12 template <
class TScalarType,
unsigned int NDimensions = 3>
14 public itk::ImageToImageFilter< itk::VectorImage <TScalarType, NDimensions> , itk::VectorImage <TScalarType, NDimensions> >
19 typedef itk::VectorImage <TScalarType, NDimensions>
TInputImage;
22 typedef itk::ImageToImageFilter< TInputImage, TOutputImage >
Superclass;
47 itkSetMacro(ScaleNonDiagonal,
bool)
52 m_ScaleNonDiagonal =
true;
54 m_TensorDimension = 3;
55 m_VectorSize = m_TensorDimension * (m_TensorDimension + 1) / 2;
71 for (
unsigned int i = 0;i < m_VectorSize;++i)
83 bool m_ScaleNonDiagonal;
84 unsigned int m_TensorDimension;
85 unsigned int m_VectorSize;
TOutputImage::Pointer OutputImagePointer
TOutputImage::PixelType OutputPixelType
ExpTensorImageFilter Self
Superclass::OutputImageRegionType OutputImageRegionType
virtual ~ExpTensorImageFilter()
TInputImage::PixelType InputPixelType
itk::VectorImage< TScalarType, NDimensions > TInputImage
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) ITK_OVERRIDE
TInputImage::Pointer InputImagePointer
void BeforeThreadedGenerateData() ITK_OVERRIDE
typename LECalculatorType::Pointer LECalculatorPointer
itk::SmartPointer< Self > Pointer
TInputImage::IndexType InputIndexType
void GenerateOutputInformation() ITK_OVERRIDE
TInputImage::PointType InputPointType
itk::VectorImage< TScalarType, NDimensions > TOutputImage
itk::SmartPointer< const Self > ConstPointer
itk::ImageToImageFilter< TInputImage, TOutputImage > Superclass