18 #ifndef itkAcosImageAdaptor_h
19 #define itkAcosImageAdaptor_h
22 #include "vnl/vnl_math.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,
80 typename TImage::PixelType,
static void Set(TInternalType &output, const TExternalType &input)
TInternalType InternalType
Presents an image as being composed of the std::acos() of its pixels.
void operator=(const Self &)
TExternalType ExternalType
ImageAdaptor< TImage, Accessor::AcosPixelAccessor< typename TImage::PixelType, TOutputPixelType > > Superclass
static TExternalType Get(const TInternalType &input)
virtual ~AcosImageAdaptor()
SmartPointer< Self > Pointer
Give access to the std::acos() function of a value.
SmartPointer< const Self > ConstPointer
Give access to partial aspects of voxels from an Image.
Base class for all data objects in ITK.