ITK
6.0.0
Insight 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 39 of file itkRedPixelAccessor.h.
Public Types | |
using | ExternalType = T |
using | InternalType = RGBPixel< T > |
using | Self = RedPixelAccessor |
Public Member Functions | |
const ExternalType & | Get (const InternalType &input) const |
ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION (Self) | |
bool | operator== (const Self &) const |
void | Set (InternalType &output, const ExternalType &input) const |
using itk::RedPixelAccessor< T >::ExternalType = T |
External type alias. It defines the external aspect that this class will exhibit
Definition at line 47 of file itkRedPixelAccessor.h.
using itk::RedPixelAccessor< T >::InternalType = RGBPixel<T> |
Internal type alias. It defines the internal real representation of data
Definition at line 51 of file itkRedPixelAccessor.h.
using itk::RedPixelAccessor< T >::Self = RedPixelAccessor |
Standard class type aliases.
Definition at line 43 of file itkRedPixelAccessor.h.
|
inline |
Read access to the Red component
Definition at line 62 of file itkRedPixelAccessor.h.
References itk::RGBPixel< TComponent >::GetRed().
itk::RedPixelAccessor< T >::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION | ( | Self | ) |
|
inline |
Definition at line 68 of file itkRedPixelAccessor.h.
|
inline |
Write access to the Red component
Definition at line 55 of file itkRedPixelAccessor.h.
References itk::RGBPixel< TComponent >::SetRed().