ITK
5.2.0
Insight Toolkit
|
#include <itkPixelTraits.h>
Public Types | |
using | ValueType = typename TPixelType::ValueType |
Static Public Attributes | |
static constexpr unsigned int | Dimension = TPixelType::Length |
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.
using itk::PixelTraits< TPixelType >::ValueType = typename TPixelType::ValueType |
Type of a single component of a pixel.
Definition at line 52 of file itkPixelTraits.h.
|
staticconstexpr |
Dimension of the pixel (range).
Definition at line 49 of file itkPixelTraits.h.