Classes | |
| class | NoVisualization |
| class | Visualization |
Functions | |
| def | create_unique_color_float (tag, hue_step=0.41) |
| def | create_unique_color_uchar (tag, hue_step=0.41) |
| def application_util.visualization.create_unique_color_float | ( | tag, | |
hue_step = 0.41 |
|||
| ) |
Create a unique RGB color code for a given track id (tag).
The color code is generated in HSV color space by moving along the
hue angle and gradually changing the saturation.
Parameters
----------
tag : int
The unique target identifying tag.
hue_step : float
Difference between two neighboring color codes in HSV space (more
specifically, the distance in hue channel).
Returns
-------
(float, float, float)
RGB color code in range [0, 1]
Definition at line 7 of file visualization.py.
| def application_util.visualization.create_unique_color_uchar | ( | tag, | |
hue_step = 0.41 |
|||
| ) |
Create a unique RGB color code for a given track id (tag).
The color code is generated in HSV color space by moving along the
hue angle and gradually changing the saturation.
Parameters
----------
tag : int
The unique target identifying tag.
hue_step : float
Difference between two neighboring color codes in HSV space (more
specifically, the distance in hue channel).
Returns
-------
(int, int, int)
RGB color code in range [0, 255]
Definition at line 32 of file visualization.py.