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 const Self ITKCommon_EXPORT One
static const Self OneValue(const Self &)
RGBPixel< ElementRealType > RealType
ElementRealType ScalarRealType
static unsigned int GetLength()
static const bool IsSigned
static void AssignToArray(const Self &v, TArray &mv)
static const Self ZeroValue(const Self &)
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 void AssignToArray(const Self &v, MeasurementVectorType &mv)
NumericTraits< T >::PrintType ElementPrintType
RGBPixel< ElementFloatType > FloatType
Self MeasurementVectorType
static const bool IsInteger
static T NonpositiveMin()
static const bool IsComplex
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