/*========================================================================= Program: Tensor ToolKit - TTK Module: $URL$ Language: C++ Date: $Date$ Version: $Revision$ Copyright (c) INRIA 2010. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the above copyright notices for more information. =========================================================================*/ #ifndef __itkNumericTraitsTensorPixel2_h #define __itkNumericTraitsTensorPixel2_h #include "itkNumericTraits.h" #include "itkTensor.h" #include // This file is meant to define numeric traits for tensor pixels types in itk namespace itk { template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = signed char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned long; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = float; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType =long double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = signed char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned long; using PrlongType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = float; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; static const Tensor< double,2 > ITK_EXPORT Zero; static Tensor< double,2 > ZeroValue() { return Zero; } const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = long double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = signed char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned long; using PrlongType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = float; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using FloatType = Tensor; using RealType = Tensor; static const Tensor< float,3 > ITK_EXPORT Zero; static const Tensor< float,3 > ITK_EXPORT One; static Tensor< float,3 > ZeroValue(); static Tensor< double,3 > min(); static Tensor< double,3 > max(); static Tensor< float,3 > NonpositiveMin(); static bool IsPositive(Tensor< float,3 > val); static bool IsNonpositive(Tensor< float,3 > val); static bool IsNegative(Tensor< float,3 > val); static bool IsNonnegative(Tensor< float,3 > val); static unsigned int GetLength(const Tensor &t); using ScalarRealType = double ; const static bool is_integer=false; const static bool is_signed=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using FloatType = Tensor; static const Tensor< double,3 > ITK_EXPORT Zero; static const Tensor< double,3 > ITK_EXPORT One; static Tensor< double,3 > ZeroValue(); static Tensor< double,3 > min(); static Tensor< double,3 > max(); static Tensor< double,3 > NonpositiveMin(); static bool IsPositive(Tensor< double,3 > val); static bool IsNonpositive(Tensor< double,3 > val); static bool IsNegative(Tensor< double,3 > val); static bool IsNonnegative(Tensor< double,3 > val); static unsigned int GetLength(const Tensor &t); using ScalarRealType = double; const static bool is_integer=false; const static bool is_signed=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType =long double; static const Tensor< long double,3 > ITK_EXPORT Zero; static Tensor< long double,3 > ZeroValue(); const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = signed char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned long; using PrlongType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = float; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType =long double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = signed char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned long; using PrlongType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = float; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType =long double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = signed char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned long; using PrlongType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = float; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; static unsigned int GetLength(const Tensor &t); const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType =long double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = signed char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned long; using PrlongType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = float; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType =long double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = signed char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned long; using PrlongType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = float; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType =long double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = signed char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = char; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned short; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned int; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = unsigned long; using PrlongType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; const static bool is_integer=true; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = float; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType = double; const static bool is_integer=false; }; template <> class ITKTENSOR_EXPORT NumericTraits > { public: using ValueType = long double; using PrintType = Tensor; using AbsType = Tensor; using AccumulateType = Tensor; using RealType = Tensor; using ScalarRealType =long double; const static bool is_integer=false; }; } // end namespace itk #endif // __itkNumericTraitsTensorPixel2_h