18 #ifndef itkAsinImageAdaptor_h
19 #define itkAsinImageAdaptor_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.
virtual ~AsinImageAdaptor() override
SmartPointer< Self > Pointer
ImageAdaptor< TImage, Accessor::AsinPixelAccessor< typename TImage::PixelType, TOutputPixelType > > Superclass
SmartPointer< const Self > ConstPointer
TExternalType ExternalType
Give access to the std::asin() function of a value.
TInternalType InternalType
Give access to partial aspects of voxels from an Image.
Base class for all data objects in ITK.
static TExternalType Get(const TInternalType &input)