18 #ifndef itkAtanImageAdaptor_h
19 #define itkAtanImageAdaptor_h
41 template<
typename TInternalType,
typename TExternalType >
54 static inline void Set(TInternalType & output,
const TExternalType & input)
55 { output = (TInternalType)std::atan( (
double)input ); }
57 static inline TExternalType
Get(
const TInternalType & input)
58 {
return (TExternalType)std::atan( (
double)input ); }
73 template<
typename TImage,
typename TOutputPixelType >
76 Accessor::AtanPixelAccessor<
77 typename TImage::PixelType,
86 typename TImage::PixelType,
static void Set(TInternalType &output, const TExternalType &input)
Give access to the std::atan() function of a value.
~AtanImageAdaptor() override=default
AtanImageAdaptor()=default
TOutputPixelType ExternalType
static TExternalType Get(const TInternalType &input)
Give access to partial aspects of voxels from an Image.
Base class for most ITK classes.
TImage::PixelType InternalType
Presents an image as being composed of the std::atan() of its pixels.
Base class for all data objects in ITK.