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