18#ifndef itkNumericTraitsArrayPixel_h
19#define itkNumericTraitsArrayPixel_h
115 static constexpr bool IsSigned = std::is_signed_v<ValueType>;
116 static constexpr bool IsInteger = std::is_integral_v<ValueType>;
141 template <
typename TArray>
145 for (
unsigned int i = 0; i <
GetLength(v); ++i)
Pixel-wise addition of two images.
Array class with size defined at construction time.
SizeValueType Size() const
SizeValueType GetSize() const
void Fill(TValue const &v)
void SetSize(SizeValueType sz)
typename NumericTraits< T >::RealType ElementRealType
static const Self NonpositiveMin(const Self &a)
typename NumericTraits< T >::AbsType ElementAbsType
static void SetLength(Array< T > &m, const unsigned int s)
ElementRealType ScalarRealType
static vcl_size_t GetLength(const Array< T > &m)
static const Self ZeroValue(const Self &a)
static void AssignToArray(const Self &v, MeasurementVectorType &mv)
typename NumericTraits< T >::PrintType ElementPrintType
static void AssignToArray(const Self &v, TArray &mv)
static const Self max(const Self &a)
typename NumericTraits< T >::FloatType ElementFloatType
static const Self min(const Self &a)
typename NumericTraits< T >::AccumulateType ElementAccumulateType
static const Self OneValue(const Self &a)
Define additional traits for native types such as int or float.
static constexpr bool IsInteger
static constexpr bool IsSigned
static unsigned int GetLength()
static constexpr bool IsComplex
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....