14 #ifndef itkDiffusionTensor3DResample_h 15 #define itkDiffusionTensor3DResample_h 17 #include <itkObject.h> 18 #include <itkImageToImageFilter.h> 22 #include <itkDiffusionTensor3D.h> 23 #include <itkCastImageFilter.h> 24 #include <itkImageRegionIterator.h> 36 template <
class TInput,
class TOutput>
38 :
public ImageToImageFilter
39 <Image<DiffusionTensor3D<TInput>, 3>,
40 Image<DiffusionTensor3D<TOutput>, 3> >
46 typedef ImageToImageFilter
47 <Image<DiffusionTensor3D<TInput>, 3>,
78 ModifiedTimeType
GetMTime()
const override;
83 itkSetMacro( OutputOrigin,
typename OutputImageType::PointType );
84 itkSetMacro( OutputSpacing,
typename OutputImageType::SpacingType );
85 itkSetMacro( OutputSize,
typename OutputImageType::SizeType );
86 itkSetMacro( OutputDirection,
typename OutputImageType::DirectionType );
89 itkGetMacro( OutputOrigin,
typename OutputImageType::PointType );
90 itkGetMacro( OutputSpacing,
typename OutputImageType::SpacingType );
91 itkGetMacro( OutputSize,
typename OutputImageType::SizeType );
92 itkGetMacro( OutputDirection,
typename OutputImageType::DirectionType );
109 typename OutputImageType::PointType m_OutputOrigin;
110 typename OutputImageType::SpacingType m_OutputSpacing;
111 typename OutputImageType::SizeType m_OutputSize;
112 typename OutputImageType::DirectionType m_OutputDirection;
119 #ifndef ITK_MANUAL_INSTANTIATION 120 #include "itkDiffusionTensor3DResample.txx" OutputImageType::RegionType OutputImageRegionType
Image< OutputTensorDataType, 3 > OutputImageType
DiffusionTensor3DInterpolateImageFunction< InputDataType > InterpolatorType
itkTypeMacro(DiffusionTensor3DResample, ImageToImageFilter)
SmartPointer< Self > Pointer
ImageToImageFilter< Image< DiffusionTensor3D< TInput >, 3 >, Image< DiffusionTensor3D< TOutput >, 3 > > Superclass
DiffusionTensor3D< OutputDataType > OutputTensorDataType
Simplified inverse ITK transforms.
InputImageType::Pointer InputImagePointerType
DiffusionTensor3D< InputDataType > InputTensorDataType
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) override
SmartPointer< const Self > ConstPointer
DiffusionTensor3DTransform< InputDataType > TransformType
void BeforeThreadedGenerateData() override
itkGetMacro(DefaultPixelValue, OutputDataType)
itkSetObjectMacro(Transform, TransformType)
void GenerateOutputInformation() override
Image< InputTensorDataType, 3 > InputImageType
SmartPointer< Self > Pointer
itk::ImageRegionIterator< OutputImageType > IteratorType
void SetOutputParametersFromImage(InputImagePointerType Image)
ModifiedTimeType GetMTime() const override
DiffusionTensor3DResample()
OutputImageType::Pointer OutputImagePointerType
DiffusionTensor3DResample Self
itkSetMacro(DefaultPixelValue, OutputDataType)
Matrix< double, 3, 3 > GetOutputMeasurementFrame()
void AfterThreadedGenerateData() override
void GenerateInputRequestedRegion() override