36#ifndef VIGRA_INVARIANT_FEATURES3D_HXX
37#define VIGRA_INVARIANT_FEATURES3D_HXX
43#include "mathutil.hxx"
44#include "array_vector.hxx"
46#include "tinyvector.hxx"
47#include "quaternion.hxx"
54inline double realSH(
double l,
double m)
56 return std::sqrt((2.0*l + 1.0) / (4.0*M_PI*facLM(l,m)));
60template<
int N,
class T,
class C>
61TinyVector<float, N> centerOfBB(MultiArrayView<N, T, C>
const & A)
63 return TinyVector<float, N>(A.shape()) /= 2.0;