OTB
9.0.0
Orfeo Toolbox
|
Classes | |
struct | NumberOfComponents |
struct | NumberOfComponents< itk::VariableLengthVector< RealType > > |
struct | NumberOfComponents< std::complex< T > > |
struct | NumberOfComponents< T const > |
Functions | |
template<typename... T> | |
constexpr std::false_type | is_array_f (...) |
template<typename T , unsigned int N> | |
constexpr std::true_type | is_array_f (itk::FixedArray< T, N > const *) |
|
constexpr |
SFINAE part that says: "ignore anything else".
|
constexpr |
SFINAE workaround to match types that inherit from itk::FixedArray
. As we cannot use std::is_base_of<RGBAPixel<T>, itk::FixedArray<T, N>
when trying to see if RGBAPixel
inherits from itk::FixedArray
without knowing the N
parameter beforehand, here is this workaround.
We take the parameter by pointer to avoid possible conversions.