18 #ifndef itkAsinImageAdaptor_h
19 #define itkAsinImageAdaptor_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::asin( (
double)input ); }
56 static inline TExternalType
Get(
const TInternalType & input)
57 {
return (TExternalType)std::asin( (
double)input ); }
71 template<
typename TImage,
typename TOutputPixelType >
74 Accessor::AsinPixelAccessor<
75 typename TImage::PixelType,
static void Set(TInternalType &output, const TExternalType &input)
Presents an image as being composed of the std::asin() of its pixels.
SmartPointer< Self > Pointer
ImageAdaptor< TImage, Accessor::AsinPixelAccessor< typename TImage::PixelType, TOutputPixelType > > Superclass
SmartPointer< const Self > ConstPointer
void operator=(const Self &)
TExternalType ExternalType
Give access to the std::asin() function of a value.
TInternalType InternalType
Give access to partial aspects of voxels from an Image.
virtual ~AsinImageAdaptor()
Base class for all data objects in ITK.
static TExternalType Get(const TInternalType &input)