ITK
5.0.0
Insight Segmentation and Registration 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 82 of file itkAddPixelAccessor.h.
|
inline |
Constructors
Definition at line 83 of file itkAddPixelAccessor.h.
|
inline |
Read access to the pixel
Definition at line 63 of file itkAddPixelAccessor.h.
|
inline |
Get the value to be added to pixels
Definition at line 71 of file itkAddPixelAccessor.h.
Referenced by itk::AddImageAdaptor< TImage >::GetValue().
|
inline |
Assignment Operator
Definition at line 75 of file itkAddPixelAccessor.h.
|
inline |
Write access to the pixel
Definition at line 59 of file itkAddPixelAccessor.h.
|
inline |
Set the value to be added to pixels
Definition at line 67 of file itkAddPixelAccessor.h.
Referenced by itk::AddImageAdaptor< TImage >::SetValue().
|
private |
Definition at line 88 of file itkAddPixelAccessor.h.
Referenced by itk::Accessor::AddPixelAccessor< TImage::PixelType >::Get(), itk::Accessor::AddPixelAccessor< TImage::PixelType >::GetValue(), itk::Accessor::AddPixelAccessor< TImage::PixelType >::operator=(), itk::Accessor::AddPixelAccessor< TImage::PixelType >::Set(), and itk::Accessor::AddPixelAccessor< TImage::PixelType >::SetValue().