18#ifndef itkEdgePotentialImageFilter_h
19#define itkEdgePotentialImageFilter_h
42template <
typename TInput,
typename TOutput>
57 return static_cast<TOutput
>(std::exp(-1.0 * A.GetNorm()));
62template <
typename TInputImage,
typename TOutputImage>
81#ifdef ITK_USE_CONCEPT_CHECKING
90#if !defined(ITK_WRAPPING_PARSER)
Computes the edge potential of an image from the image gradient.
EdgePotentialImageFilter()
~EdgePotentialImageFilter() override=default
bool operator==(const EdgePotential &) const
TOutput operator()(const TInput &A) const
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION(EdgePotential)
Base class for all process objects that output image data.
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Implements pixel-wise generic "operation" on one image.
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....