18 #ifndef itkLogImageFilter_h
19 #define itkLogImageFilter_h
33 template<
typename TInput,
typename TOutput >
47 return !( *
this != other );
52 return static_cast< TOutput
>( std::log( static_cast< double >( A ) ) );
64 template<
typename TInputImage,
typename TOutputImage >
78 typename TOutputImage::PixelType >;
87 #ifdef ITK_USE_CONCEPT_CHECKING
99 #if !defined( ITK_WRAPPING_PARSER )
Computes the log() of each pixel.
~LogImageFilter() override=default
The base class for all process objects (source, filters, mappers) in the Insight data processing pipe...
Base class for all process objects that output image data.
void SetFunctor(const std::function< ConstRefFunctionType > &f)
TOutput operator()(const TInput &A) const
bool operator!=(const Log &) const
Functor::Log< typename TInputImage::PixelType, typename TOutputImage::PixelType > FunctorType
bool operator==(const Log &other) const
#define itkConceptMacro(name, concept)
Implements pixel-wise generic "operation" on one image.