ColorMap.C File Reference

#include "Image/ColorMap.H"
#include "Image/MatrixOps.H"
#include "Util/log.H"
Include dependency graph for ColorMap.C:

Go to the source code of this file.

Defines

#define LINMAP(i, a_in, b_in, a_out, b_out)

Detailed Description

Simple colormaps

Definition in file ColorMap.C.


Define Documentation

#define LINMAP ( i,
a_in,
b_in,
a_out,
b_out   ) 
Value:
byte(255.0 * ((a_out)                         \
                + double((i) - (a_in))          \
                * ((b_out)-(a_out))             \
                / ((b_in) - (a_in))))
Generated on Sun May 8 08:12:35 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3