18 #ifndef itkEdgePotentialImageFilter_h
19 #define itkEdgePotentialImageFilter_h
39 template<
typename TInput,
typename TOutput >
52 return !( *
this != other );
57 return static_cast< TOutput
>( std::exp( -1.0 * A.GetNorm() ) );
62 template<
typename TInputImage,
typename TOutputImage >
66 Functor::EdgePotential<
67 typename TInputImage::PixelType,
68 typename TOutputImage::PixelType > >
75 typename TInputImage::PixelType,
76 typename TOutputImage::PixelType >
89 #ifdef ITK_USE_CONCEPT_CHECKING
102 void operator=(const
Self &) ITK_DELETE_FUNCTION;
EdgePotentialImageFilter()
TOutput operator()(const TInput &A) const
Base class for all process objects that output image data.
SmartPointer< Self > Pointer
UnaryFunctorImageFilter< TInputImage, TOutputImage, Functor::EdgePotential< typename TInputImage::PixelType, typename TOutputImage::PixelType > > Superclass
virtual ~EdgePotentialImageFilter()
Computes the edge potential of an image from the image gradient.
SmartPointer< const Self > ConstPointer
Implements pixel-wise generic operation on one image.
EdgePotentialImageFilter Self
#define itkConceptMacro(name, concept)
bool operator!=(const EdgePotential &) const
bool operator==(const EdgePotential &other) const