|
ITK
6.0.0
Insight Toolkit
|
Go to the documentation of this file.
18 #ifndef itkNumericTraitsRGBPixel_h
19 #define itkNumericTraitsRGBPixel_h
173 static constexpr
bool IsSigned = std::is_signed_v<ValueType>;
174 static constexpr
bool IsInteger = std::is_integral_v<ValueType>;
185 itkGenericExceptionMacro(
"Cannot set the size of a RGBPixel to anything other "
212 template <
typename TArray>
216 for (
unsigned int i = 0; i < 3; ++i)
230 #endif // itkNumericTraitsRGBPixel_h
typename NumericTraits< T >::RealType ElementRealType
static const Self max(const Self &)
Represent Red, Green and Blue components for color images.
static bool IsPositive(T val)
static const Self ZeroValue(const Self &)
static constexpr T NonpositiveMin()
static const Self min(const Self &)
static const Self NonpositiveMin(const Self &)
typename NumericTraits< T >::PrintType ElementPrintType
typename NumericTraits< T >::AbsType ElementAbsType
static const Self ITKCommon_EXPORT Zero
static bool IsNonnegative(Self val)
static constexpr bool IsSigned
static const Self NonpositiveMin()
static constexpr bool IsInteger
static unsigned int GetLength(const RGBPixel< T > &)
static const Self ITKCommon_EXPORT One
static const Self OneValue(const Self &)
LuminanceType GetLuminance() const
static bool IsNonpositive(Self val)
static void SetLength(RGBPixel< T > &m, const unsigned int s)
Define additional traits for native types such as int or float.
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
static unsigned int GetLength()
typename NumericTraits< T >::FloatType ElementFloatType
static bool IsNonnegative(T val)
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
static constexpr bool IsComplex
ElementRealType ScalarRealType
typename NumericTraits< T >::AccumulateType ElementAccumulateType
static bool IsNonpositive(T val)
static void AssignToArray(const Self &v, TArray &mv)
static const Self OneValue()
static const Self ZeroValue()
static bool IsNegative(Self val)
static bool IsNegative(T val)
void Fill(const ValueType &)
static bool IsPositive(Self val)