Color map RGB transformations.
More...
#include <colormap.h>
|
static double | linearSlope (double x, double m, double n) |
|
static int | jetR (double v) |
|
static int | jetG (double v) |
|
static int | jetB (double v) |
|
static int | hotR (double v) |
|
static int | hotG (double v) |
|
static int | hotB (double v) |
|
static int | hotRNeg1 (double v) |
|
static int | hotGNeg1 (double v) |
|
static int | hotBNeg1 (double v) |
|
static int | hotRNeg2 (double v) |
|
static int | hotGNeg2 (double v) |
|
static int | hotBNeg2 (double v) |
|
static int | boneR (double v) |
|
static int | boneG (double v) |
|
static int | boneB (double v) |
|
static int | rbR (double v) |
|
static int | rbG (double v) |
|
static int | rbB (double v) |
|
Color map RGB transformations.
Provides diffenrent color maps like Jet,...
Definition at line 82 of file colormap.h.
int ColorMap::boneB |
( |
double |
v | ) |
|
|
staticprotected |
Describes the blue Bone fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 279 of file colormap.cpp.
int ColorMap::boneG |
( |
double |
v | ) |
|
|
staticprotected |
Describes the green Bone fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 265 of file colormap.cpp.
int ColorMap::boneR |
( |
double |
v | ) |
|
|
staticprotected |
Describes the red Bone fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 251 of file colormap.cpp.
int ColorMap::hotB |
( |
double |
v | ) |
|
|
staticprotected |
Describes the blue Hot fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 158 of file colormap.cpp.
int ColorMap::hotBNeg1 |
( |
double |
v | ) |
|
|
staticprotected |
Describes the blue Hot negative skewed fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 198 of file colormap.cpp.
int ColorMap::hotBNeg2 |
( |
double |
v | ) |
|
|
staticprotected |
Describes the blue Hot negative skewed fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 238 of file colormap.cpp.
int ColorMap::hotG |
( |
double |
v | ) |
|
|
staticprotected |
Describes the green Hot fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 144 of file colormap.cpp.
int ColorMap::hotGNeg1 |
( |
double |
v | ) |
|
|
staticprotected |
Describes the green Hot negative skewed fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 184 of file colormap.cpp.
int ColorMap::hotGNeg2 |
( |
double |
v | ) |
|
|
staticprotected |
Describes the green Hot negative skewed fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 224 of file colormap.cpp.
int ColorMap::hotR |
( |
double |
v | ) |
|
|
staticprotected |
Describes the red Hot fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 132 of file colormap.cpp.
int ColorMap::hotRNeg1 |
( |
double |
v | ) |
|
|
staticprotected |
Describes the red Hot negative skewed fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 170 of file colormap.cpp.
int ColorMap::hotRNeg2 |
( |
double |
v | ) |
|
|
staticprotected |
Describes the red Hot negative skewed fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 210 of file colormap.cpp.
int ColorMap::jetB |
( |
double |
v | ) |
|
|
staticprotected |
Describes the blue Jet fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 117 of file colormap.cpp.
int ColorMap::jetG |
( |
double |
v | ) |
|
|
staticprotected |
Describes the green Jet fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 99 of file colormap.cpp.
int ColorMap::jetR |
( |
double |
v | ) |
|
|
staticprotected |
Describes the red Jet fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 81 of file colormap.cpp.
double ColorMap::linearSlope |
( |
double |
x, |
|
|
double |
m, |
|
|
double |
n |
|
) |
| |
|
staticprotected |
Describes a linear function (y = mx + n) and returns the output value y
- Parameters
-
[in] | x | input value |
[in] | m | slope |
[in] | n | offset |
- Returns
- the output value
Definition at line 72 of file colormap.cpp.
int ColorMap::rbB |
( |
double |
v | ) |
|
|
staticprotected |
Describes the blue RedBlue fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 317 of file colormap.cpp.
int ColorMap::rbG |
( |
double |
v | ) |
|
|
staticprotected |
Describes the green RedBlue fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 305 of file colormap.cpp.
int ColorMap::rbR |
( |
double |
v | ) |
|
|
staticprotected |
Describes the red RedBlue fuzzy set. Calculates to an input value v [0,1] the corresponding output color value [0,255]
- Parameters
-
- Returns
- the output color value [0.255]
Definition at line 293 of file colormap.cpp.
QRgb DISPLIB::ColorMap::valueToBone |
( |
double |
v | ) |
|
|
inlinestatic |
Returns a Bone RGB to a given double value [0,1]
- Parameters
-
[in] | v | the double which has to be part of the intervall [0,1] |
- Returns
- the corresponding Bone RGB
Definition at line 386 of file colormap.h.
QRgb DISPLIB::ColorMap::valueToHot |
( |
double |
v | ) |
|
|
inlinestatic |
Returns a Hot RGB to a given double value [0,1]
- Parameters
-
[in] | v | the double which has to be part of the intervall [0,1] |
- Returns
- the corresponding Hot RGB
Definition at line 359 of file colormap.h.
QRgb DISPLIB::ColorMap::valueToHotNegative1 |
( |
double |
v | ) |
|
|
inlinestatic |
Returns a negative skewed hot RGB to a given double value [0,1]
- Parameters
-
[in] | v | the double which has to be part of the intervall [0,1] |
- Returns
- the corresponding negative skewed Hot RGB
Definition at line 368 of file colormap.h.
QRgb DISPLIB::ColorMap::valueToHotNegative2 |
( |
double |
v | ) |
|
|
inlinestatic |
Returns a negative skewed hot RGB to a given double value [0,1]
- Parameters
-
[in] | v | the double which has to be part of the intervall [0,1] |
- Returns
- the corresponding negative skewed Hot RGB
Definition at line 377 of file colormap.h.
QRgb DISPLIB::ColorMap::valueToJet |
( |
double |
v | ) |
|
|
inlinestatic |
Returns a Jet RGB to a given double value [0,1]
- Parameters
-
[in] | v | the double which has to be part of the intervall [0,1] |
- Returns
- the corresponding Jet RGB
Definition at line 350 of file colormap.h.
QRgb DISPLIB::ColorMap::valueToRedBlue |
( |
double |
v | ) |
|
|
inlinestatic |
Returns a RedBlue RGB to a given double value [-1,1]
- Parameters
-
[in] | v | the double which has to be part of the intervall [-1,1] |
- Returns
- the corresponding Bone RGB
Definition at line 395 of file colormap.h.
The documentation for this class was generated from the following files: