ITK
6.0.0
Insight Toolkit
|
#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 44 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) |
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 52 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 56 of file itkAddPixelAccessor.h.
using itk::Accessor::AddPixelAccessor< TPixel >::Self = AddPixelAccessor |
Standard class type aliases.
Definition at line 48 of file itkAddPixelAccessor.h.
|
inline |
Constructors
Definition at line 95 of file itkAddPixelAccessor.h.
|
inline |
Constructors
Definition at line 98 of file itkAddPixelAccessor.h.
|
inline |
Read access to the pixel
Definition at line 67 of file itkAddPixelAccessor.h.
References itk::Accessor::AddPixelAccessor< TPixel >::m_Value.
|
inline |
Get the value to be added to pixels
Definition at line 81 of file itkAddPixelAccessor.h.
References itk::Accessor::AddPixelAccessor< TPixel >::m_Value.
|
inline |
Assignment Operator
Definition at line 88 of file itkAddPixelAccessor.h.
References itk::Accessor::AddPixelAccessor< TPixel >::m_Value.
|
inline |
Write access to the pixel
Definition at line 60 of file itkAddPixelAccessor.h.
References itk::Accessor::AddPixelAccessor< TPixel >::m_Value.
|
inline |
Set the value to be added to pixels
Definition at line 74 of file itkAddPixelAccessor.h.
References itk::Accessor::AddPixelAccessor< TPixel >::m_Value.
|
private |
Definition at line 104 of file itkAddPixelAccessor.h.
Referenced by itk::Accessor::AddPixelAccessor< TPixel >::Get(), itk::Accessor::AddPixelAccessor< TPixel >::GetValue(), itk::Accessor::AddPixelAccessor< TPixel >::operator=(), itk::Accessor::AddPixelAccessor< TPixel >::Set(), and itk::Accessor::AddPixelAccessor< TPixel >::SetValue().