ITK  5.3.0
Insight Toolkit
Public Types | Public Member Functions | List of all members
itk::BluePixelAccessor< T > Class Template Reference

#include <itkBluePixelAccessor.h>

Public Types

using ExternalType = T
 
using InternalType = RGBPixel< T >
 
using Self = BluePixelAccessor
 

Public Member Functions

const ExternalTypeGet (const InternalType &input) const
 
bool operator!= (const Self &) const
 
bool operator== (const Self &other) const
 
void Set (InternalType &output, const ExternalType &input) const
 

Detailed Description

template<typename T>
class itk::BluePixelAccessor< T >

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.

See also
ImageAdaptor

Definition at line 40 of file itkBluePixelAccessor.h.

Member Typedef Documentation

◆ ExternalType

template<typename T >
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.

◆ InternalType

template<typename T >
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.

◆ Self

template<typename T >
using itk::BluePixelAccessor< T >::Self = BluePixelAccessor

Standard class type aliases.

Definition at line 44 of file itkBluePixelAccessor.h.

Member Function Documentation

◆ Get()

template<typename T >
const ExternalType& itk::BluePixelAccessor< T >::Get ( const InternalType input) const
inline

Read access to the Blue component

Definition at line 63 of file itkBluePixelAccessor.h.

References itk::RGBPixel< TComponent >::GetBlue().

◆ operator!=()

template<typename T >
bool itk::BluePixelAccessor< T >::operator!= ( const Self ) const
inline

Definition at line 69 of file itkBluePixelAccessor.h.

◆ operator==()

template<typename T >
bool itk::BluePixelAccessor< T >::operator== ( const Self other) const
inline

Definition at line 75 of file itkBluePixelAccessor.h.

◆ Set()

template<typename T >
void itk::BluePixelAccessor< T >::Set ( InternalType output,
const ExternalType input 
) const
inline

Write access to the Blue component

Definition at line 56 of file itkBluePixelAccessor.h.

References itk::RGBPixel< TComponent >::SetBlue().


The documentation for this class was generated from the following file: