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 __init__(
      self, n: Optional[int] = 256, normalized: Optional[bool] = False
  ):
      super(Colormap, self).__init__()
      self.n = n
      self.normalized = normalized
  
file_path: ml-cvnets/utils/color_map.py
imports: from typing import List, Optional
  import numpy
label_desc: Use image node_id 1 to create a new Colormap object from inherited base classes: object with example: obj = Colormap(n, normalized)