18 #ifndef itkNumericTraitsRGBAPixel_h
19 #define itkNumericTraitsRGBAPixel_h
42 template<
typename T >
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
static const Self NonpositiveMin(const Self &)
NumericTraits< T >::RealType ElementRealType
static unsigned int GetLength(const RGBAPixel< T > &)
static const Self min(const Self &)
Represent Red, Green, Blue and Alpha components for color images.
RGBAPixel< ElementAccumulateType > AccumulateType
ElementRealType ScalarRealType
static const Self ITKCommon_EXPORT One
NumericTraits< T >::AccumulateType ElementAccumulateType
static void SetLength(RGBAPixel< T > &m, const unsigned int s)
static const bool IsSigned
NumericTraits< T >::PrintType ElementPrintType
Self MeasurementVectorType
RGBAPixel< ElementPrintType > PrintType
void Fill(const ValueType &)
static const Self OneValue(const Self &)
static const Self NonpositiveMin()
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)
RGBAPixel< ElementFloatType > FloatType
static void AssignToArray(const Self &v, TArray &mv)
RGBAPixel< ElementRealType > RealType
NumericTraits< T >::AbsType ElementAbsType
static unsigned int GetLength()
static const bool IsInteger
static T NonpositiveMin()
static const bool IsComplex
Define additional traits for native types such as int or float.
NumericTraits< T >::FloatType ElementFloatType
static const Self ZeroValue()
RGBAPixel< ElementAbsType > AbsType