18 #ifndef itkNumericTraitsRGBPixel_h
19 #define itkNumericTraitsRGBPixel_h
42 template<
typename T >
148 itkGenericExceptionMacro(<<
"Cannot set the size of a RGBPixel to anything other "
172 template<
typename TArray>
175 for(
unsigned int i=0; i<3; i++ )
189 #endif // itkNumericTraitsRGBPixel_h
NumericTraits< T >::AbsType ElementAbsType
NumericTraits< T >::AccumulateType ElementAccumulateType
static ITK_CONSTEXPR_VAR bool IsComplex
static const Self ITKCommon_EXPORT One
static const Self OneValue(const Self &)
RGBPixel< ElementRealType > RealType
ElementRealType ScalarRealType
static unsigned int GetLength()
static void AssignToArray(const Self &v, TArray &mv)
static const Self ZeroValue(const Self &)
static ITK_CONSTEXPR_VAR bool IsInteger
RGBPixel< ElementAccumulateType > AccumulateType
void Fill(const ValueType &)
NumericTraits< T >::RealType ElementRealType
static void SetLength(RGBPixel< T > &m, const unsigned int s)
static const Self ITKCommon_EXPORT Zero
static const Self max(const Self &)
static const Self NonpositiveMin()
RGBPixel< ElementAbsType > AbsType
static const Self ZeroValue()
static const Self min(const Self &)
static const Self OneValue()
Represent Red, Green and Blue components for color images.
static ITK_CONSTEXPR_FUNC T NonpositiveMin()
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
static ITK_CONSTEXPR_VAR bool IsSigned
NumericTraits< T >::PrintType ElementPrintType
RGBPixel< ElementFloatType > FloatType
Self MeasurementVectorType
Define additional traits for native types such as int or float.
static const Self NonpositiveMin(const Self &)
RGBPixel< ElementPrintType > PrintType
static unsigned int GetLength(const RGBPixel< T > &)
NumericTraits< T >::FloatType ElementFloatType