ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkRGBToVectorPixelAccessor.h>
Give access to a RGBPixel as if it were a Vector type.
This class is intended to be used as parameter of an ImageAdaptor to make an RGBPixel image appear as being an image of Vector pixel type.
Definition at line 43 of file itkRGBToVectorPixelAccessor.h.
Public Types | |
typedef Vector< T, 3 > | ExternalType |
typedef RGBPixel< T > | InternalType |
typedef RGBToVectorPixelAccessor | Self |
Public Member Functions | |
void | Set (InternalType &output, const ExternalType &input) const |
ExternalType | Get (const InternalType &input) const |
typedef Vector< T, 3 > itk::Accessor::RGBToVectorPixelAccessor< T >::ExternalType |
External typedef. It defines the external aspect that this class will exhibit
Definition at line 51 of file itkRGBToVectorPixelAccessor.h.
typedef RGBPixel< T > itk::Accessor::RGBToVectorPixelAccessor< T >::InternalType |
Internal typedef. It defines the internal real representation of data
Definition at line 55 of file itkRGBToVectorPixelAccessor.h.
typedef RGBToVectorPixelAccessor itk::Accessor::RGBToVectorPixelAccessor< T >::Self |
Standard class typedefs.
Definition at line 47 of file itkRGBToVectorPixelAccessor.h.
|
inline |
Read access to the RGBToVector component
Definition at line 66 of file itkRGBToVectorPixelAccessor.h.
|
inline |
Write access to the RGBToVector component
Definition at line 58 of file itkRGBToVectorPixelAccessor.h.