ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkBluePixelAccessor.h>
Give access to the Blue 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 Blue component.
Definition at line 40 of file itkBluePixelAccessor.h.
Public Types | |
using | ExternalType = T |
using | InternalType = RGBPixel< T > |
using | Self = BluePixelAccessor |
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 |
using itk::BluePixelAccessor< T >::ExternalType = T |
External type alias. It defines the external aspect that this class will exhibit
Definition at line 48 of file itkBluePixelAccessor.h.
using itk::BluePixelAccessor< T >::InternalType = RGBPixel< T > |
Internal type alias. It defines the internal real representation of data
Definition at line 52 of file itkBluePixelAccessor.h.
using itk::BluePixelAccessor< T >::Self = BluePixelAccessor |
Standard class type aliases.
Definition at line 44 of file itkBluePixelAccessor.h.
|
inline |
Read access to the Blue component
Definition at line 59 of file itkBluePixelAccessor.h.
References itk::RGBPixel< TComponent >::GetBlue().
|
inline |
Definition at line 62 of file itkBluePixelAccessor.h.
|
inline |
Definition at line 67 of file itkBluePixelAccessor.h.
|
inline |
Write access to the Blue component
Definition at line 55 of file itkBluePixelAccessor.h.
References itk::RGBPixel< TComponent >::SetBlue().