|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkConstrainedValueAdditionImageFilter_h
19 #define itkConstrainedValueAdditionImageFilter_h
33 template <
typename TInput1,
typename TInput2,
typename TOutput>
49 return !(*
this != other);
55 const auto dA = static_cast<double>(A);
56 const auto dB = static_cast<double>(B);
57 const double add = dA + dB;
62 return static_cast<TOutput>(cadd2);
97 template <
typename TInputImage1,
typename TInputImage2,
typename TOutputImage>
109 typename TInputImage2::PixelType,
110 typename TOutputImage::PixelType>;
118 #ifdef ITK_USE_CONCEPT_CHECKING
130 #if !defined(ITK_WRAPPING_PARSER)
ConstrainedValueAdditionImageFilter()
Functor::ConstrainedValueAddition< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
TOutput operator()(const TInput1 &A, const TInput2 &B) const
static constexpr T NonpositiveMin()
Implements pixel-wise generic operation of two images, or of an image and a constant.
~ConstrainedValueAdditionImageFilter() override=default
Base class for all process objects that output image data.
bool operator==(const ConstrainedValueAddition &other) const
Implements pixel-wise the computation of constrained value addition.
bool operator!=(const ConstrainedValueAddition &) const
Define additional traits for native types such as int or float.
static constexpr T max(const T &)
~ConstrainedValueAddition()=default
#define itkConceptMacro(name, concept)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
void SetFunctor(const std::function< ConstRefFunctionType > &f)
ConstrainedValueAddition()=default