4 #include <itkVectorImage.h> 10 template <
class TPixelScalarType>
44 itkSetMacro(EchoSpacing,
double)
46 void SetT1Map(InputImageType *map) {m_T1Map = map;}
49 itkSetMacro(AverageSignalThreshold,
double)
57 itkSetMacro(T2ExcitationFlipAngle,
double)
58 itkSetMacro(GaussianIntegralTolerance,
double)
63 void SetT2FlipAngles(std::vector <double> & flipAngles) {m_T2FlipAngles = flipAngles;}
64 void SetT2FlipAngles(
double singleAngle,
unsigned int numAngles) {m_T2FlipAngles = std::vector <double> (numAngles,singleAngle);}
71 this->SetNumberOfRequiredOutputs(4);
73 for (
unsigned int i = 0;i < 4;++i)
74 this->SetNthOutput(i, this->MakeOutput(i));
76 m_AverageSignalThreshold = 0;
79 m_GaussianMeans.resize(3);
80 m_GaussianMeans[0] = 20;
81 m_GaussianMeans[1] = 100;
82 m_GaussianMeans[2] = 2000;
84 m_GaussianVariances.resize(3);
85 m_GaussianVariances[0] = 25;
86 m_GaussianVariances[1] = 100;
87 m_GaussianVariances[2] = 6400;
89 m_GaussianIntegralTolerance = 1.0e-8;
91 m_T2ExcitationFlipAngle = M_PI / 6;
104 double m_AverageSignalThreshold;
110 std::vector <double> m_GaussianMeans;
111 std::vector <double> m_GaussianVariances;
112 double m_GaussianIntegralTolerance;
118 double m_EchoSpacing;
119 std::vector <double> m_T2FlipAngles;
120 double m_T2ExcitationFlipAngle;
GMMT2RelaxometryEstimationImageFilter()
void SetT2FlipAngles(double singleAngle, unsigned int numAngles)
void SetT2FlipAngles(std::vector< double > &flipAngles)
InputImageType::Pointer InputImagePointer
TInputImage InputImageType
InputImageType::IndexType IndexType
GMMT2RelaxometryEstimationImageFilter Self
Superclass::MaskImageType MaskImageType
void CheckComputationMask() ITK_OVERRIDE
itk::SmartPointer< Self > Pointer
OutputImageType::Pointer OutputImagePointer
void SetGaussianMeans(std::string fileName)
itk::Image< TPixelScalarType, 3 > TInputImage
VectorOutputImageType::PixelType OutputVectorType
anima::MaskedImageToImageFilter< TInputImage, TOutputImage > Superclass
InputImageType * GetT1Map()
TOutputImage OutputImageType
void SetGaussianVariances(std::string fileName)
InputImageType * GetSigmaSquareOutputImage()
itk::Image< TPixelScalarType, 3 > TOutputImage
VectorOutputImageType::Pointer VectorOutputImagePointer
Superclass::InputImageRegionType InputImageRegionType
InputImageType * GetMWFOutputImage()
void DynamicThreadedGenerateData(const OutputImageRegionType &outputRegionForThread) ITK_OVERRIDE
InputImageType * GetM0OutputImage()
Superclass::OutputImageRegionType OutputImageRegionType
InputImageType * GetB1OutputImage()
itk::SmartPointer< const Self > ConstPointer
VectorOutputImageType * GetWeightsImage()
itk::VectorImage< TPixelScalarType, 3 > VectorOutputImageType
void BeforeThreadedGenerateData() ITK_OVERRIDE
virtual ~GMMT2RelaxometryEstimationImageFilter()
void SetT1Map(InputImageType *map)