18#ifndef itkAddImageAdaptor_h
19#define itkAddImageAdaptor_h
36template <
typename TImage>
38 :
public ImageAdaptor<TImage, Accessor::AddPixelAccessor<typename TImage::PixelType>>
62 this->GetPixelAccessor().SetValue(newvalue);
69 return this->GetPixelAccessor().GetValue();
Presents an image as being the addition of a constant value to all pixels.
AddImageAdaptor()=default
typename TImage::PixelType PixelType
~AddImageAdaptor() override=default
PixelType GetValue() const
void SetValue(const PixelType newvalue)
Base class for all data objects in ITK.
Give access to partial aspects of voxels from an Image.
Base class for most ITK classes.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....