 |
ITK
5.4.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>
51 const auto dA = static_cast<double>(A);
52 const auto dB = static_cast<double>(B);
53 const double add = dA + dB;
58 return static_cast<TOutput>(cadd2);
93 template <
typename TInputImage1,
typename TInputImage2,
typename TOutputImage>
106 typename TInputImage2::PixelType,
107 typename TOutputImage::PixelType>;
115 #ifdef ITK_USE_CONCEPT_CHECKING
127 #if !defined(ITK_WRAPPING_PARSER)
ConstrainedValueAdditionImageFilter()
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.
Base class for all process objects that output image data.
Functor::Add2< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
Implements pixel-wise the computation of constrained value addition.
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...
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(ConstrainedValueAddition)
bool operator==(const ConstrainedValueAddition &) const
ConstrainedValueAddition()=default