
#include "Image/ColorMap.H"#include "Image/MatrixOps.H"#include "Util/log.H"
Go to the source code of this file.
Defines | |
| #define | LINMAP(i, a_in, b_in, a_out, b_out) |
Simple colormaps
Definition in file ColorMap.C.
| #define LINMAP | ( | i, | |||
| a_in, | |||||
| b_in, | |||||
| a_out, | |||||
| b_out | ) |
byte(255.0 * ((a_out) \ + double((i) - (a_in)) \ * ((b_out)-(a_out)) \ / ((b_in) - (a_in))))
1.6.3