18 #ifndef itkNumericTraitsRGBPixel_h
19 #define itkNumericTraitsRGBPixel_h
42 template<
typename T >
144 itkGenericExceptionMacro(<<
"Cannot set the size of a RGBPixel to anything other "
168 template<
typename TArray>
171 for(
unsigned int i=0; i<3; i++ )
185 #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 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 T NonpositiveMin()
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