18 #ifndef __itkMeanDiffusivityFromGHOTImageFilter_h 19 #define __itkMeanDiffusivityFromGHOTImageFilter_h 21 #include "itkUnaryFunctorImageFilter.h" 22 #include "itkNumericTraits.h" 36 template<
class TInput,
class TOutput>
44 return !(*
this == other);
79 template <
class TInputImage,
class TOutputImage>
82 UnaryFunctorImageFilter<TInputImage,TOutputImage,
83 Functor::MeanDiffusivityFromGHOTCoefficients<
84 typename TInputImage::PixelType,
85 typename TOutputImage::PixelType> >
90 typedef UnaryFunctorImageFilter<
91 TInputImage,TOutputImage,
93 typename TInputImage::PixelType,
107 if( scale != this->GetFunctor().
GetScale() )
109 this->GetFunctor().SetScale(scale);
115 return this->GetFunctor().GetScale();
120 if( tau != this->GetFunctor().
GetTau() )
122 this->GetFunctor().SetTau(tau);
128 return this->GetFunctor().GetTau();
137 Superclass::PrintSelf(os, indent);
138 os << indent <<
"Scale = " <<
static_cast<double>(this->
GetScale())
139 <<
", Tau = " << static_cast<double>(this->
GetTau())
145 void operator=(
const Self&);
void SetTau(const double tau)
void SetScale(const double scale)
const double & GetTau() const
TOutput operator()(const TInput &A) const
void SetTau(const double tau)
bool operator!=(const MeanDiffusivityFromGHOTCoefficients &other) const
const double & GetScale() const
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::MeanDiffusivityFromGHOTCoefficients< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
SmartPointer< Self > Pointer
MeanDiffusivityFromGHOTCoefficients()
SmartPointer< const Self > ConstPointer
bool operator==(const MeanDiffusivityFromGHOTCoefficients &other) const
const double & GetTau() const
virtual ~MeanDiffusivityFromGHOTImageFilter()
Compute mean diffusivity from GHOT coefficients.
const double & GetScale() const
MeanDiffusivityFromGHOTImageFilter()
void SetScale(const double scale)
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
MeanDiffusivityFromGHOTImageFilter Self
MD value from GHOT coefficients.
~MeanDiffusivityFromGHOTCoefficients()