ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Types | Static Public Attributes | List of all members
itk::PixelTraits< TPixelType > Class Template Reference

#include <itkPixelTraits.h>

Detailed Description

template<typename TPixelType>
class itk::PixelTraits< TPixelType >

Traits for a pixel that define the dimension and component type.

PixelTraits determines the dimension and the component type of a pixel. The default implementation is suitable for all subclasses of itk::Array. This (will) include RGBPixel and RGBAPixel. Specialized versions of PixelTraits are defined for the standard scalar types.

Definition at line 45 of file itkPixelTraits.h.

Public Types

using ValueType = typename TPixelType::ValueType
 

Static Public Attributes

static constexpr unsigned int Dimension = TPixelType::Length
 

Member Typedef Documentation

template<typename TPixelType>
using itk::PixelTraits< TPixelType >::ValueType = typename TPixelType::ValueType

Type of a single component of a pixel.

Definition at line 52 of file itkPixelTraits.h.

Member Data Documentation

template<typename TPixelType>
constexpr unsigned int itk::PixelTraits< TPixelType >::Dimension = TPixelType::Length
static

Dimension of the pixel (range).

Definition at line 49 of file itkPixelTraits.h.


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