18 #ifndef itkNumericTraitsRGBPixel_h
19 #define itkNumericTraitsRGBPixel_h
42 template<
typename T >
124 return NonpositiveMin();
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
static const Self ITKCommon_EXPORT One
static const Self OneValue(const Self &)
Define numeric traits for std::vector.
static unsigned int GetLength()
typename NumericTraits< T >::RealType ElementRealType
static void AssignToArray(const Self &v, TArray &mv)
typename NumericTraits< T >::AccumulateType ElementAccumulateType
static const Self ZeroValue(const Self &)
void Fill(const ValueType &)
ElementRealType ScalarRealType
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()
static const Self ZeroValue()
typename NumericTraits< T >::FloatType ElementFloatType
static const Self min(const Self &)
typename NumericTraits< T >::PrintType ElementPrintType
static const Self OneValue()
Represent Red, Green and Blue components for color images.
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
static const Self NonpositiveMin(const Self &)
typename NumericTraits< T >::AbsType ElementAbsType
static unsigned int GetLength(const RGBPixel< T > &)