ITK
4.8.0
Insight Segmentation and Registration Toolkit
|
#include <itkPixelTraits.h>
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 | |
typedef TPixelType::ValueType | ValueType |
Static Public Attributes | |
static const unsigned int | Dimension = TPixelType::Length |
typedef TPixelType::ValueType itk::PixelTraits< TPixelType >::ValueType |
Type of a single component of a pixel.
Definition at line 52 of file itkPixelTraits.h.
|
static |
Dimension of the pixel (range).
Definition at line 49 of file itkPixelTraits.h.