18#ifndef itkAsinImageAdaptor_h
19#define itkAsinImageAdaptor_h
40template <
typename TInternalType,
typename TExternalType>
54 Set(TInternalType & output,
const TExternalType & input)
56 output = (TInternalType)std::asin(
static_cast<double>(input));
59 static inline TExternalType
60 Get(
const TInternalType & input)
62 return (TExternalType)std::asin(
static_cast<double>(input));
77template <
typename TImage,
typename TOutputPixelType>
79 :
public ImageAdaptor<TImage, Accessor::AsinPixelAccessor<typename TImage::PixelType, TOutputPixelType>>
Give access to the std::asin() function of a value.
TExternalType ExternalType
static TExternalType Get(const TInternalType &input)
TInternalType InternalType
static void Set(TInternalType &output, const TExternalType &input)
Presents an image as being composed of the std::asin() of its pixels.
~AsinImageAdaptor() override=default
AsinImageAdaptor()=default
Base class for all data objects in ITK.
Give access to partial aspects of voxels from an Image.
Base class for most ITK classes.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....