18#ifndef itkConstrainedValueAdditionImageFilter_h
19#define itkConstrainedValueAdditionImageFilter_h
33template <
typename TInput1,
typename TInput2,
typename TOutput>
48 const auto dA =
static_cast<double>(A);
49 const auto dB =
static_cast<double>(B);
50 const double add = dA + dB;
55 return static_cast<TOutput
>(cadd2);
90template <
typename TInputImage1,
typename TInputImage2,
typename TOutputImage>
103 typename TInputImage2::PixelType,
104 typename TOutputImage::PixelType>;
120#if !defined(ITK_WRAPPING_PARSER)
BinaryGeneratorImageFilter()
void SetFunctor(const std::function< ConstRefFunctionType > &f)
SmartPointer< const Self > ConstPointer
ConstrainedValueAdditionImageFilter Self
ConstrainedValueAdditionImageFilter()
~ConstrainedValueAdditionImageFilter() override=default
Functor::ConstrainedValueAddition< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
SmartPointer< Self > Pointer
BinaryGeneratorImageFilter< TInputImage1, TInputImage2, TOutputImage > Superclass
bool operator==(const ConstrainedValueAddition &) const
TOutput operator()(const TInput1 &A, const TInput2 &B) const
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(ConstrainedValueAddition)
static constexpr T NonpositiveMin()
static constexpr T max(const T &)
Implements transparent reference counting.
Functor::Add2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....