18 #ifndef itkNumericTraitsRGBAPixel_h
19 #define itkNumericTraitsRGBAPixel_h
42 template<
typename T >
124 return NonpositiveMin();
148 itkGenericExceptionMacro(<<
"Cannot set the size of a RGBAPixel to anything other "
172 template<
typename TArray>
175 for(
unsigned int i=0; i<4; i++ )
189 #endif // itkNumericTraitsRGBAPixel_h
typename NumericTraits< T >::AbsType ElementAbsType
static const Self NonpositiveMin(const Self &)
static unsigned int GetLength(const RGBAPixel< T > &)
Define numeric traits for std::vector.
static const Self min(const Self &)
Represent Red, Green, Blue and Alpha components for color images.
static const Self ITKCommon_EXPORT One
static void SetLength(RGBAPixel< T > &m, const unsigned int s)
typename NumericTraits< T >::RealType ElementRealType
ElementRealType ScalarRealType
void Fill(const ValueType &)
static const Self OneValue(const Self &)
static const Self NonpositiveMin()
typename NumericTraits< T >::PrintType ElementPrintType
static const Self ITKCommon_EXPORT Zero
static const Self OneValue()
static const Self ZeroValue(const Self &)
static const Self max(const Self &)
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
static void AssignToArray(const Self &v, TArray &mv)
typename NumericTraits< T >::AccumulateType ElementAccumulateType
static unsigned int GetLength()
typename NumericTraits< T >::FloatType ElementFloatType
static const Self ZeroValue()