18 #ifndef __itkSPFScaleFromMeanDiffusivityImageFilter_h 19 #define __itkSPFScaleFromMeanDiffusivityImageFilter_h 23 #include "itkUnaryFunctorImageFilter.h" 24 #include "itkNumericTraits.h" 42 template<
class TInput,
class TOutput>
50 return !(*
this == other);
85 template <
class TInputImage,
class TOutputImage>
88 UnaryFunctorImageFilter<TInputImage,TOutputImage,
89 Functor::SPFScaleFromMeanDiffusivity<
90 typename TInputImage::PixelType,
91 typename TOutputImage::PixelType> >
96 typedef UnaryFunctorImageFilter<
97 TInputImage,TOutputImage,
99 typename TInputImage::PixelType,
113 if( md0 != this->GetFunctor().
GetMD0() )
115 this->GetFunctor().SetMD0(md0);
121 return this->GetFunctor().GetMD0();
126 if( tau != this->GetFunctor().
GetTau() )
128 this->GetFunctor().SetTau(tau);
134 return this->GetFunctor().GetTau();
141 this->GetFunctor().SetIsOriginalBasis(isSPF);
147 return this->GetFunctor().GetIsOriginalBasis();
156 Superclass::PrintSelf(os, indent);
157 os << indent <<
"md0 = " <<
static_cast<double>(this->
GetMD0())
158 <<
", Tau = " << static_cast<double>(this->
GetTau())
164 void operator=(
const Self&);
virtual ~SPFScaleFromMeanDiffusivityImageFilter()
bool operator==(const SPFScaleFromMeanDiffusivity &other) const
SPFScaleFromMeanDiffusivity()
const double & GetTau() const
const bool & GetIsOriginalBasis() const
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::SPFScaleFromMeanDiffusivity< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
const double & GetMD0() const
Compute SPF scale from mean diffusivity.
void SetMD0(const double md0)
const double & GetTau() const
TOutput operator()(const TInput &A) const
~SPFScaleFromMeanDiffusivity()
void SetIsOriginalBasis(const bool isSPF)
SmartPointer< Self > Pointer
void SetMD0(const double md0)
void SetIsOriginalBasis(const bool isSPF)
SPFScaleFromMeanDiffusivityImageFilter Self
void PrintSelf(std::ostream &os, Indent indent) const ITK_OVERRIDE
bool operator!=(const SPFScaleFromMeanDiffusivity &other) const
void SetTau(const double tau)
SPFScaleFromMeanDiffusivityImageFilter()
const bool & GetIsOriginalBasis() const
SmartPointer< const Self > ConstPointer
const double & GetMD0() const
void SetTau(const double tau)