7 #ifndef Tomato_Tomato_H 8 #define Tomato_Tomato_H 10 #include "CmakeConfigForTomato.h" 11 #include "tomatolib_export.h" 17 #include "itkReadFileListFilter.h" 18 #include "itkSortInvTimesImageFilter.h" 20 #include "itkColorbar2DImageFilter.h" 21 #include "itkNShmolliSamplesUsedTo123ImageFilter.h" 23 #include "itkTimeProbe.h" 31 template<
typename MeasureType >
36 typedef MeasureType InputPixelType;
37 typedef int16_t OutputPixelType;
40 typedef itk::Image<InputPixelType, 3> ImageType3D;
41 typedef itk::Image<InputPixelType, 2> ImageType2D;
42 typedef itk::Image<OutputPixelType, 2> OutputImageType;
43 typedef itk::ReadFileListFilter<ImageType3D> ReadFileListFilterType;
44 typedef itk::SortInvTimesImageFilter<ImageType3D, ImageType3D> SortInvTimesImageFilterType;
45 typedef itk::CalculatorT1ImageFilter<ImageType3D, ImageType2D> CalculatorT1ImageFilterType;
46 typedef itk::MetaDataDictionary DictionaryType;
49 TomatoOptions<InputPixelType> *_opts;
50 InputPixelType *_invTimes;
51 InputPixelType *_echoTimes;
53 typename ImageType3D::Pointer _imageMag;
54 typename ImageType3D::Pointer _imagePha;
56 typename CalculatorT1ImageFilterType::Pointer _imageCalculatorItk;
60 DictionaryType _dictionaryInput;
84 Tomato(std::string inputFileName);
103 int exportT1ToDicom();
109 int exportT1MagSignRecovToDicom();
115 int exportT2ToDicom();
121 #ifndef TOMATOLIB_COMPILED 122 #include "Tomato.hxx" 124 #include "Tomato_exportT1_magSignRecov.hxx" 126 #endif // TOMATOLIB_COMPILED 130 #endif // Tomato_Tomato_H
Definition: OxCalculator.h:19