Shortcuts

mmcv.visualization.make_color_wheel

mmcv.visualization.make_color_wheel(bins: Optional[Union[list, tuple]] = None)numpy.ndarray[source]

Build a color wheel.

Parameters

bins (list or tuple, optional) – Specify the number of bins for each color range, corresponding to six ranges: red -> yellow, yellow -> green, green -> cyan, cyan -> blue, blue -> magenta, magenta -> red. [15, 6, 4, 11, 13, 6] is used for default (see Middlebury).

Returns

Color wheel of shape (total_bins, 3).

Return type

ndarray