18 #ifndef __itkNumericTraitsRGBAPixel_h
19 #define __itkNumericTraitsRGBAPixel_h
42 template<
typename T >
144 itkGenericExceptionMacro(<<
"Cannot set the size of a RGBAPixel to anything other "
168 template<
typename TArray>
171 for(
unsigned int i=0; i<4; i++ )
185 #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)
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 T NonpositiveMin()
Define additional traits for native types such as int or float.
NumericTraits< T >::FloatType ElementFloatType
static const Self ZeroValue()
RGBAPixel< ElementAbsType > AbsType