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