18#ifndef itkMorphSDTHelperImageFilter_h
19#define itkMorphSDTHelperImageFilter_h
37template <
typename TInput1,
typename TInput2 = TInput1,
typename TInput3 = TInput1,
typename TOutput = TInput1>
57 return !(*
this != other);
61 operator()(
const TInput1 & A,
const TInput2 & B,
const TInput3 & C)
67 return static_cast<TOutput
>(std::sqrt((
double)A +
m_Val));
72 return static_cast<TOutput
>(-std::sqrt(
m_Val - (
double)B));
81template <
typename TInputImage1,
82 typename TInputImage2 = TInputImage1,
83 typename TInputImage3 = TInputImage1,
84 typename TOutputImage = TInputImage1>
90 Function::MorphSDTHelper<typename TInputImage1::PixelType,
91 typename TInputImage2::PixelType,
92 typename TInputImage3::PixelType,
93 typename TOutputImage::PixelType>>
105 typename TInputImage2::PixelType,
106 typename TInputImage3::PixelType,
107 typename TOutputImage::PixelType>>;
bool operator!=(const MorphSDTHelper &) const
bool operator==(const MorphSDTHelper &other) const
~MorphSDTHelper()=default
TOutput operator()(const TInput1 &A, const TInput2 &B, const TInput3 &C)
TernaryFunctorImageFilter< TInputImage1, TInputImage2, TInputImage3, TOutputImage, Function::MorphSDTHelper< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TInputImage3::PixelType, typename TOutputImage::PixelType > > Superclass
SmartPointer< Self > Pointer
SmartPointer< const Self > ConstPointer
MorphSDTHelperImageFilter Self
MorphSDTHelperImageFilter()=default
virtual ~MorphSDTHelperImageFilter()=default
virtual void Modified() const
Implements transparent reference counting.
FunctorType & GetFunctor()
TernaryFunctorImageFilter()
#define itkConceptMacro(name, conceptType)
Compile-time check that a template argument satisfies an itk::Concept.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....