18 #ifndef itkNumericTraitsRGBPixel_h 19 #define itkNumericTraitsRGBPixel_h 42 template<
typename T >
87 static const Self
max(
const Self &)
92 static const Self
min(
const Self &)
97 static const Self
max()
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++ )
184 static const Self ITKCommon_EXPORT
Zero;
185 static const Self ITKCommon_EXPORT
One;
189 #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 ITK_CONSTEXPR bool IsComplex
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
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 ITK_CONSTEXPR_FUNC T NonpositiveMin()
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
NumericTraits< T >::PrintType ElementPrintType
static ITK_CONSTEXPR bool IsSigned
RGBPixel< ElementFloatType > FloatType
Self MeasurementVectorType
Define additional traits for native types such as int or float.
static ITK_CONSTEXPR bool IsInteger
static const Self NonpositiveMin(const Self &)
RGBPixel< ElementPrintType > PrintType
static unsigned int GetLength(const RGBPixel< T > &)
NumericTraits< T >::FloatType ElementFloatType