Functions

/home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/auxil.cc File Reference

#include "auxil.h"
#include <cmath>
#include <iostream>

Functions

vector3 jet (const double x)
vector3 hot (const double x)
double bessi0 (double x)

Function Documentation

double bessi0 ( double  x  ) 

Compute the Modified Bessel function of order 0.

Parameters:
[in] x A real number.
Returns:
The function value of the modified Bessel function of order 0.
vector3 hot ( const double  x  ) 

The Hot colour map ranging form black to white.

Parameters:
[in] x A real number between 0 and 1.
Returns:
A 3-vector containing RGB values corresponding to the input.
vector3 jet ( const double  x  ) 

The Jet colour map ranging form blue to red.

Parameters:
[in] x A real number between 0 and 1.
Returns:
A 3-vector containing RGB values corresponding to the input.