diff --git a/Modules/DiffusionImaging/DiffusionCore/Algorithms/Reconstruction/MultishellProcessing/itkRadialMultishellToSingleshellImageFilter.h b/Modules/DiffusionImaging/DiffusionCore/Algorithms/Reconstruction/MultishellProcessing/itkRadialMultishellToSingleshellImageFilter.h index 7a71e9d803..8df80a44b1 100644 --- a/Modules/DiffusionImaging/DiffusionCore/Algorithms/Reconstruction/MultishellProcessing/itkRadialMultishellToSingleshellImageFilter.h +++ b/Modules/DiffusionImaging/DiffusionCore/Algorithms/Reconstruction/MultishellProcessing/itkRadialMultishellToSingleshellImageFilter.h @@ -1,110 +1,110 @@ /*=================================================================== The Medical Imaging Interaction Toolkit (MITK) Copyright (c) German Cancer Research Center, Division of Medical and Biological Informatics. All rights reserved. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See LICENSE.txt or http://www.mitk.org for details. ===================================================================*/ #ifndef _itk_RadialMultishellToSingleshellImageFilterr_h_ #define _itk_RadialMultishellToSingleshellImageFilterr_h_ #include #include -#include "itkDWIvoxelFunctor.h" +#include "itkDWIVoxelFunctor.h" namespace itk { template class RadialMultishellToSingleshellImageFilter : public ImageToImageFilter, itk::VectorImage > { public: typedef RadialMultishellToSingleshellImageFilter Self; typedef SmartPointer Pointer; typedef SmartPointer ConstPointer; typedef ImageToImageFilter< itk::VectorImage, itk::VectorImage > Superclass; typedef typename Superclass::OutputImageRegionType OutputImageRegionType; /** Method for creation through the object factory. */ itkNewMacro(Self) /** Runtime information support. */ itkTypeMacro(RadialMultishellToSingleshellImageFilter, ImageToImageFilter) typedef TInputScalarType InputScalarType; typedef itk::VectorImage InputImageType; typedef typename InputImageType::PixelType InputPixelType; typedef TOutputScalarType OutputScalarType; typedef itk::VectorImage OutputImageType; typedef typename OutputImageType::PixelType OutputPixelType; typedef OutputScalarType BaselineScalarType; typedef BaselineScalarType BaselinePixelType; typedef typename itk::Image BaselineImageType; typedef float ErrorScalarType; typedef ErrorScalarType ErrorPixelType; typedef typename itk::Image ErrorImageType; typedef vnl_vector_fixed< double, 3 > GradientDirectionType; typedef itk::VectorContainer< unsigned int, GradientDirectionType > GradientDirectionContainerType; typedef std::vector IndicesVector; typedef std::map BValueMap; void SetOriginalGradientDirections(GradientDirectionContainerType::Pointer ptr){m_OriginalGradientDirections = ptr;} void SetOriginalBValue(const double & val){m_OriginalBValue = val;} void SetOriginalBValueMap(const BValueMap & inp){m_BValueMap = inp;} void SetFunctor(DWIVoxelFunctor * functor){m_Functor = functor;} GradientDirectionContainerType::Pointer GetTargetGradientDirections(){return m_TargetGradientDirections;} ErrorImageType::Pointer GetErrorImage(){return m_ErrorImage;} protected: RadialMultishellToSingleshellImageFilter(); ~RadialMultishellToSingleshellImageFilter() {} void BeforeThreadedGenerateData(); void ThreadedGenerateData( const OutputImageRegionType &, ThreadIdType); GradientDirectionContainerType::Pointer m_TargetGradientDirections; ///< container for the subsampled output gradient directions GradientDirectionContainerType::Pointer m_OriginalGradientDirections; ///< input gradient directions BValueMap m_BValueMap; double m_OriginalBValue; std::vector > m_ShellInterpolationMatrixVector; IndicesVector m_TargetDirectionsIndicies; unsigned int m_NumberTargetDirections; DWIVoxelFunctor * m_Functor; ErrorImageType::Pointer m_ErrorImage; }; } // end of namespace #ifndef ITK_MANUAL_INSTANTIATION #include "itkRadialMultishellToSingleshellImageFilter.cpp" #endif #endif