ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkRedPixelAccessor.h>
Give access to the red component of a RGBPixel type.
This class is intended to be used as parameter of an ImageAdaptor to make an RGBPixel image appear as being of scalar type T, showing only the Red component.
Definition at line 38 of file itkRedPixelAccessor.h.
Public Types | |
typedef T | ExternalType |
typedef RGBPixel< T > | InternalType |
typedef RedPixelAccessor | Self |
Public Member Functions | |
const ExternalType & | Get (const InternalType &input) const |
bool | operator!= (const Self &) const |
bool | operator== (const Self &other) const |
void | Set (InternalType &output, const ExternalType &input) const |
typedef T itk::RedPixelAccessor< T >::ExternalType |
External typedef. It defines the external aspect that this class will exhibit
Definition at line 46 of file itkRedPixelAccessor.h.
typedef RGBPixel< T > itk::RedPixelAccessor< T >::InternalType |
Internal typedef. It defines the internal real representation of data
Definition at line 50 of file itkRedPixelAccessor.h.
typedef RedPixelAccessor itk::RedPixelAccessor< T >::Self |
Standard class typedefs.
Definition at line 42 of file itkRedPixelAccessor.h.
|
inline |
Read access to the Red component
Definition at line 59 of file itkRedPixelAccessor.h.
References itk::RGBPixel< TComponent >::GetRed().
|
inline |
Definition at line 64 of file itkRedPixelAccessor.h.
|
inline |
Definition at line 69 of file itkRedPixelAccessor.h.
|
inline |
Write access to the Red component
Definition at line 53 of file itkRedPixelAccessor.h.
References itk::RGBPixel< TComponent >::SetRed().