TuttleOFX  1
math.hpp File Reference
#include "basic_colors.hpp"
Include dependency graph for math.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  terry

Functions

template<typename View , typename T >
void terry::maxmin (const View &view, T &max, T &min)
 Compute min & max value from a view.
template<class S_VIEW , class D_VIEW , typename T >
D_VIEW & terry::normalize (const S_VIEW &src, D_VIEW &dst, const T a, const T b)
 Normalize a view (using contrast streching)
template<class S_VIEW , class D_VIEW , typename T >
D_VIEW & terry::multiply (const S_VIEW &src, D_VIEW &dst, const T factor)