class_docstr: Generate colormap for visualizing segmentation masks or bounding boxes.
  
  This is based on the MATLab code in the PASCAL VOC repository:
      http://host.robots.ox.ac.uk/pascal/VOC/voc2012/index.html#devkit
code: def get_color_map_list(self) -> List:
      cmap = self.get_color_map()
      cmap = np.asarray(cmap).flatten()
      return list(cmap)
  
file_path: ml-cvnets/utils/color_map.py
imports: from typing import List, Optional
  import numpy
label_desc: Use image node_id 5 for calling the Colormap obj's underlying member method code with example usage: obj.get_color_map_list() and returns: list