Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
itkFslPeakImageConverter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: $RCSfile: itkDiffusionTensor3DReconstructionImageFilter.h,v $
5  Language: C++
6  Date: $Date: 2006-03-27 17:01:06 $
7  Version: $Revision: 1.12 $
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef __itkFslPeakImageConverter_h_
18 #define __itkFslPeakImageConverter_h_
19 
20 #include <itkImageToImageFilter.h>
21 #include <itkVectorContainer.h>
22 #include <mitkFiberBundle.h>
24 
25 namespace itk{
31 template< class PixelType >
32 class FslPeakImageConverter : public ProcessObject
33 {
34 
35 public:
36 
40  };
41 
45  typedef ProcessObject Superclass;
46 
48  itkFactorylessNewMacro(Self)
49  itkCloneMacro(Self)
50 
52  itkTypeMacro(FslPeakImageConverter, ImageToImageFilter)
53 
54  typedef vnl_vector_fixed< double, 3 > DirectionType;
55  typedef VectorContainer< int, DirectionType > DirectionContainerType;
56  typedef VectorContainer< int, DirectionContainerType::Pointer > ContainerType;
57  typedef Image< float, 4 > InputImageType;
58  typedef VectorContainer< int, InputImageType::Pointer > InputType;
59  typedef Image< Vector< float, 3 >, 3> ItkDirectionImageType;
60  typedef VectorContainer< int, ItkDirectionImageType::Pointer > DirectionImageContainerType;
61 
62  itkSetMacro( NormalizationMethod, NormalizationMethods)
63  itkSetMacro( InputImages, InputType::Pointer)
64  itkGetMacro( OutputFiberBundle, mitk::FiberBundle::Pointer)
65  itkGetMacro( DirectionImageContainer, DirectionImageContainerType::Pointer)
66 
67  void GenerateData() override;
68 
69 protected:
70  FslPeakImageConverter();
71  ~FslPeakImageConverter(){}
72 
77 
78 private:
79 
80 };
81 
82 }
83 
84 #ifndef ITK_MANUAL_INSTANTIATION
86 #endif
87 
88 #endif //__itkFslPeakImageConverter_h_
89 
Image< Vector< float, 3 >, 3 > ItkDirectionImageType
itk::SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
VectorContainer< int, ItkDirectionImageType::Pointer > DirectionImageContainerType
vnl_vector_fixed< double, 3 > DirectionType
DataCollection - Class to facilitate loading/accessing structured data.
NormalizationMethods m_NormalizationMethod
normalization method of ODF peaks
VectorContainer< int, InputImageType::Pointer > InputType
mitk::FiberBundle::Pointer m_OutputFiberBundle
vector field (peak sizes rescaled for visualization purposes)
class ITK_EXPORT Image
VectorContainer< int, DirectionType > DirectionContainerType
DirectionImageContainerType::Pointer m_DirectionImageContainer
container for output peaks
VectorContainer< int, DirectionContainerType::Pointer > ContainerType
InputType::Pointer m_InputImages
MRtrix peak image of type itk::Image< float, 4 >