18 #ifndef itkAcosImageAdaptor_h
19 #define itkAcosImageAdaptor_h
40 template<
typename TInternalType,
typename TExternalType >
53 static inline void Set(TInternalType & output,
const TExternalType & input)
54 { output = (TInternalType)std::acos( (
double)input ); }
56 static inline TExternalType
Get(
const TInternalType & input)
57 {
return (TExternalType)std::acos( (
double)input ); }
70 template<
typename TImage,
typename TOutputPixelType >
73 typename TImage::PixelType,
82 typename TImage::PixelType,
~AcosImageAdaptor() override=default
static void Set(TInternalType &output, const TExternalType &input)
AcosImageAdaptor()=default
Presents an image as being composed of the std::acos() of its pixels.
TImage::PixelType InternalType
static TExternalType Get(const TInternalType &input)
Give access to the std::acos() function of a value.
Give access to partial aspects of voxels from an Image.
Base class for most ITK classes.
Base class for all data objects in ITK.
TOutputPixelType ExternalType