Simulates the effect of adding a constant value to all pixels. More...
#include <itkAddPixelAccessor.h>
Public Types | |
typedef TPixel | ExternalType |
typedef TPixel | InternalType |
typedef AddPixelAccessor | Self |
Public Member Functions | |
ExternalType | Get (const InternalType &input) const |
TPixel | GetValue () |
Self & | operator= (const Self &apa) |
void | Set (InternalType &output, const ExternalType &input) const |
void | SetValue (TPixel newvalue) |
AddPixelAccessor () | |
AddPixelAccessor (const Self &apa) |
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 38 of file itkAddPixelAccessor.h.
typedef TPixel itk::Accessor::AddPixelAccessor< TPixel >::ExternalType |
External typedef. It defines the external aspect that this class will exhibit
Definition at line 46 of file itkAddPixelAccessor.h.
typedef TPixel itk::Accessor::AddPixelAccessor< TPixel >::InternalType |
Internal typedef. It defines the internal real representation of data
Definition at line 50 of file itkAddPixelAccessor.h.
typedef AddPixelAccessor itk::Accessor::AddPixelAccessor< TPixel >::Self |
Standard class typedefs.
Definition at line 42 of file itkAddPixelAccessor.h.
itk::Accessor::AddPixelAccessor< TPixel >::AddPixelAccessor | ( | ) | [inline] |
Constructors
Definition at line 76 of file itkAddPixelAccessor.h.
itk::Accessor::AddPixelAccessor< TPixel >::AddPixelAccessor | ( | const Self & | apa | ) | [inline] |
Constructors
Definition at line 77 of file itkAddPixelAccessor.h.
ExternalType itk::Accessor::AddPixelAccessor< TPixel >::Get | ( | const InternalType & | input | ) | const [inline] |
Read access to the pixel
Definition at line 57 of file itkAddPixelAccessor.h.
TPixel itk::Accessor::AddPixelAccessor< TPixel >::GetValue | ( | void | ) | [inline] |
Get the value to be added to pixels
Definition at line 65 of file itkAddPixelAccessor.h.
Self& itk::Accessor::AddPixelAccessor< TPixel >::operator= | ( | const Self & | apa | ) | [inline] |
Assignment Operator
Definition at line 69 of file itkAddPixelAccessor.h.
void itk::Accessor::AddPixelAccessor< TPixel >::Set | ( | InternalType & | output, | |
const ExternalType & | input | |||
) | const [inline] |
Write access to the pixel
Definition at line 53 of file itkAddPixelAccessor.h.
void itk::Accessor::AddPixelAccessor< TPixel >::SetValue | ( | TPixel | newvalue | ) | [inline] |
Set the value to be added to pixels
Definition at line 61 of file itkAddPixelAccessor.h.