18#ifndef itkAtanImageAdaptor_h
19#define itkAtanImageAdaptor_h
41template <
typename TInternalType,
typename TExternalType>
54 Set(TInternalType & output,
const TExternalType & input)
56 output = (TInternalType)std::atan(
static_cast<double>(input));
59 static inline TExternalType
60 Get(
const TInternalType & input)
62 return (TExternalType)std::atan(
static_cast<double>(input));
78template <
typename TImage,
typename TOutputPixelType>
80 :
public ImageAdaptor<TImage, Accessor::AtanPixelAccessor<typename TImage::PixelType, TOutputPixelType>>
Give access to the std::atan() function of a value.
static TExternalType Get(const TInternalType &input)
static void Set(TInternalType &output, const TExternalType &input)
TExternalType ExternalType
TInternalType InternalType
SmartPointer< Self > Pointer
ImageAdaptor< TImage, Accessor::AtanPixelAccessor< typename TImage::PixelType, TOutputPixelType > > Superclass
~AtanImageAdaptor() override=default
AtanImageAdaptor()=default
SmartPointer< const Self > ConstPointer
Implements transparent reference counting.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....