facebook360_dep
Facebook360 Depth Estimation Pipeline
Classes | Functions
fb360_dep::math_util Namespace Reference

Classes

class  BezierCurve
 
class  Butterworth
 
class  GaussianApproximation
 
class  MonotonicTable
 

Functions

template<typename T >
square (const T x)
 
template<typename T >
clamp (const T &x, const T &a, const T &b)
 
template<typename T >
reflect (const T x, const T r)
 
template<typename T >
wrap (const T x, const T r)
 
template<typename V , typename T >
lerp (const V x0, const V x1, const T alpha)
 
template<typename T >
lerp (const T x0, const T x1, const T alpha)
 

Function Documentation

◆ clamp()

template<typename T >
T fb360_dep::math_util::clamp ( const T &  x,
const T &  a,
const T &  b 
)
inline

◆ lerp() [1/2]

template<typename V , typename T >
V fb360_dep::math_util::lerp ( const V  x0,
const V  x1,
const T  alpha 
)
inline

◆ lerp() [2/2]

template<typename T >
T fb360_dep::math_util::lerp ( const T  x0,
const T  x1,
const T  alpha 
)
inline

◆ reflect()

template<typename T >
T fb360_dep::math_util::reflect ( const T  x,
const T  r 
)
inline

◆ square()

template<typename T >
T fb360_dep::math_util::square ( const T  x)
inline

◆ wrap()

template<typename T >
T fb360_dep::math_util::wrap ( const T  x,
const T  r 
)
inline