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>;
112#ifdef ITK_USE_CONCEPT_CHECKING
124#if !defined(ITK_WRAPPING_PARSER)
Implements pixel-wise generic operation of two images, or of an image and a constant.
Implements pixel-wise the computation of constrained value addition.
ConstrainedValueAdditionImageFilter()
~ConstrainedValueAdditionImageFilter() override=default
bool operator==(const ConstrainedValueAddition &) const
TOutput operator()(const TInput1 &A, const TInput2 &B) const
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(ConstrainedValueAddition)
Base class for all process objects that output image data.
Define additional traits for native types such as int or float.
static constexpr T NonpositiveMin()
static constexpr T max(const T &)
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
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....