open3d.ml.torch.vis.Colormap#
- class open3d.ml.torch.vis.Colormap(points)#
This class is used to create a color map for visualization of points.
- class Point(value, color)#
Initialize the class.
- Parameters:
value – The scalar value index of the point.
color – The color associated with the value.
- __init__(value, color)#
- __init__(points)#
- calc_color_array(values, range_min, range_max)#
Generate the color array based on the minimum and maximum range passed.
- Parameters:
values – The index of values.
range_min – The minimum value in the range.
range_max – The maximum value in the range.
- Returns:
An array of color index based on the range passed.
- calc_u_array(values, range_min, range_max)#
Generate the basic array based on the minimum and maximum range passed.
- static make_greyscale()#
Generate a greyscale colormap.
- static make_rainbow()#
Generate the rainbow color array.