ITK
6.0.0
Insight Toolkit
|
#include <itkGreenPixelAccessor.h>
Give access to the Green 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 Green component.
Definition at line 41 of file itkGreenPixelAccessor.h.
Public Types | |
using | ExternalType = T |
using | InternalType = RGBPixel< T > |
using | Self = GreenPixelAccessor |
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::GreenPixelAccessor< T >::ExternalType = T |
External type alias. It defines the external aspect that this class will exhibit
Definition at line 49 of file itkGreenPixelAccessor.h.
using itk::GreenPixelAccessor< T >::InternalType = RGBPixel<T> |
Internal type alias. It defines the internal real representation of data
Definition at line 53 of file itkGreenPixelAccessor.h.
using itk::GreenPixelAccessor< T >::Self = GreenPixelAccessor |
Standard class type aliases.
Definition at line 45 of file itkGreenPixelAccessor.h.
|
inline |
Read access to the Green component
Definition at line 64 of file itkGreenPixelAccessor.h.
References itk::RGBPixel< TComponent >::GetGreen().
itk::GreenPixelAccessor< T >::ITK_UNEQUAL_OPERATOR_MEMBER_FUNCTION | ( | Self | ) |
|
inline |
Definition at line 70 of file itkGreenPixelAccessor.h.
|
inline |
Write access to the Green component
Definition at line 57 of file itkGreenPixelAccessor.h.
References itk::RGBPixel< TComponent >::SetGreen().