|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkAtanImageAdaptor_h
19 #define itkAtanImageAdaptor_h
41 template <
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));
78 template <
typename TImage,
typename TOutputPixelType>
80 :
public ImageAdaptor<TImage, Accessor::AtanPixelAccessor<typename TImage::PixelType, TOutputPixelType>>
static TExternalType Get(const TInternalType &input)
~AtanImageAdaptor() override=default
Give access to partial aspects of voxels from an Image.
Give access to the std::atan() function of a value.
TOutputPixelType ExternalType
TImage::PixelType InternalType
static void Set(TInternalType &output, const TExternalType &input)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
AtanImageAdaptor()=default
Base class for most ITK classes.
Presents an image as being composed of the std::atan() of its pixels.
Base class for all data objects in ITK.