18 #ifndef __itkAbsImageAdaptor_h
19 #define __itkAbsImageAdaptor_h
38 template<
typename TInternalType,
typename TExternalType >
50 static inline void Set(TInternalType & output,
const TExternalType & input)
52 output = (TInternalType)(
56 static inline TExternalType
Get(
const TInternalType & input)
58 return (TExternalType)(
73 template<
typename TImage,
typename TOutputPixelType >
76 Accessor::AbsPixelAccessor<
77 typename TImage::PixelType,
84 typename TImage::PixelType,
Give access to the std::abs() function of a value.
static void Set(TInternalType &output, const TExternalType &input)
SmartPointer< Self > Pointer
Presents an image as being composed of the std::abs() of its pixels.
void operator=(const Self &)
static TExternalType Get(const TInternalType &input)
TInternalType InternalType
SmartPointer< const Self > ConstPointer
virtual ~AbsImageAdaptor()
Define additional traits for native types such as int or float.
Give access to partial aspects of voxels from an Image.
ImageAdaptor< TImage, Accessor::AbsPixelAccessor< typename TImage::PixelType, TOutputPixelType > > Superclass
TExternalType ExternalType
Base class for all data objects in ITK.