Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
itkMrtrixPeakImageConverter.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 __itkMrtrixPeakImageConverter_h_
18 #define __itkMrtrixPeakImageConverter_h_
19 
20 #include <itkImageToImageFilter.h>
21 #include <itkVectorContainer.h>
22 #include <mitkFiberBundle.h>
24 
25 namespace itk{
31 template< class PixelType >
32 class MrtrixPeakImageConverter : public ProcessObject
33 {
34 
35 public:
36 
40  };
41 
45  typedef ProcessObject Superclass;
46 
48  itkFactorylessNewMacro(Self)
49  itkCloneMacro(Self)
50 
52  itkTypeMacro(MrtrixPeakImageConverter, 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 Image< Vector< float, 3 >, 3> ItkDirectionImageType;
59  typedef VectorContainer< int, ItkDirectionImageType::Pointer > DirectionImageContainerType;
60  typedef itk::Image<unsigned char, 3> ItkUcharImgType;
61 
62  itkSetMacro( NormalizationMethod, NormalizationMethods)
63  itkSetMacro( InputImage, InputImageType::Pointer)
64  itkGetMacro( OutputFiberBundle, mitk::FiberBundle::Pointer)
65  itkGetMacro( DirectionImageContainer, DirectionImageContainerType::Pointer)
66  itkGetMacro( NumDirectionsImage, ItkUcharImgType::Pointer)
67 
68  void GenerateData() override;
69 
70 protected:
71  MrtrixPeakImageConverter();
72  ~MrtrixPeakImageConverter(){}
73 
79 
80 private:
81 
82 };
83 
84 }
85 
86 #ifndef ITK_MANUAL_INSTANTIATION
88 #endif
89 
90 #endif //__itkMrtrixPeakImageConverter_h_
91 
Image< Vector< float, 3 >, 3 > ItkDirectionImageType
itk::SmartPointer< Self > Pointer
NormalizationMethods m_NormalizationMethod
normalization method of ODF peaks
VectorContainer< int, DirectionType > DirectionContainerType
DataCollection - Class to facilitate loading/accessing structured data.
class ITK_EXPORT Image
VectorContainer< int, DirectionContainerType::Pointer > ContainerType
DirectionImageContainerType::Pointer m_DirectionImageContainer
container for output peaks
VectorContainer< int, ItkDirectionImageType::Pointer > DirectionImageContainerType
vnl_vector_fixed< double, 3 > DirectionType
itk::Image< unsigned char, 3 > ItkUcharImgType
SmartPointer< const Self > ConstPointer
ItkUcharImgType::Pointer m_NumDirectionsImage
number of peaks per voxel
itk::SmartPointer< Self > Pointer
Definition: mitkBaseData.h:42
InputImageType::Pointer m_InputImage
MRtrix direction image of type itk::Image< float, 4 >
mitk::FiberBundle::Pointer m_OutputFiberBundle
vector field (peak sizes rescaled for visualization purposes)