#include <itkAddPixelAccessor.h>
Simulates the effect of adding a constant value to all pixels.
This class is intended to be used as parameter of an ImageAdaptor to make an image appear as having pixels with intensity values increased by a constant amount.
Definition at line 43 of file itkAddPixelAccessor.h.
Public Types | |
using | ExternalType = TPixel |
using | InternalType = TPixel |
using | Self = AddPixelAccessor |
Public Member Functions | |
ExternalType | Get (const InternalType &input) const |
TPixel | GetValue () const |
Self & | operator= (const Self &apa)=default |
void | Set (InternalType &output, const ExternalType &input) const |
void | SetValue (const TPixel &newvalue) |
AddPixelAccessor () | |
AddPixelAccessor (const Self &apa) | |
Private Attributes | |
TPixel | m_Value |
using itk::Accessor::AddPixelAccessor< TPixel >::ExternalType = TPixel |
External type alias. It defines the external aspect that this class will exhibit
Definition at line 51 of file itkAddPixelAccessor.h.
using itk::Accessor::AddPixelAccessor< TPixel >::InternalType = TPixel |
Internal type alias. It defines the internal real representation of data
Definition at line 55 of file itkAddPixelAccessor.h.
using itk::Accessor::AddPixelAccessor< TPixel >::Self = AddPixelAccessor |
Standard class type aliases.
Definition at line 47 of file itkAddPixelAccessor.h.
|
inline |
|
inline |
|
inlinenodiscard |
|
inlinenodiscard |
Get the value to be added to pixels
Definition at line 80 of file itkAddPixelAccessor.h.
References m_Value.
|
default |
Assignment Operator
|
inline |
|
inline |
Set the value to be added to pixels
Definition at line 73 of file itkAddPixelAccessor.h.
References m_Value.
|
private |
Definition at line 99 of file itkAddPixelAccessor.h.
Referenced by AddPixelAccessor(), AddPixelAccessor(), Get(), GetValue(), Set(), and SetValue().