|
ITK
5.2.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkConstrainedValueDifferenceImageFilter_h
19 #define itkConstrainedValueDifferenceImageFilter_h
57 template <
typename TInput1,
typename TInput2,
typename TOutput>
72 return !(*
this != other);
78 const auto dA = static_cast<double>(A);
79 const auto dB = static_cast<double>(B);
80 const double diff = dA - dB;
85 return static_cast<TOutput>(cdiff2);
90 template <
typename TInputImage1,
typename TInputImage2,
typename TOutputImage>
103 typename TInputImage2::PixelType,
104 typename TOutputImage::PixelType>;
112 #ifdef ITK_USE_CONCEPT_CHECKING
125 #if !defined(ITK_WRAPPING_PARSER)
bool operator==(const ConstrainedValueDifference &other) const
~ConstrainedValueDifference()=default
bool operator!=(const ConstrainedValueDifference &) const
static constexpr T NonpositiveMin()
Implements pixel-wise generic operation of two images, or of an image and a constant.
Functor::ConstrainedValueDifference< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > FunctorType
ConstrainedValueDifferenceImageFilter()
Base class for all process objects that output image data.
ConstrainedValueDifference()=default
Define additional traits for native types such as int or float.
~ConstrainedValueDifferenceImageFilter() override=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...
Implements pixel-wise the computation of constrained value difference.
TOutput operator()(const TInput1 &A, const TInput2 &B) const
void SetFunctor(const std::function< ConstRefFunctionType > &f)