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_bit_at_idx(val, idx):
      return (val & (1 << idx)) != 0
  
file_path: ml-cvnets/utils/color_map.py
imports: from typing import List, Optional
  import numpy
label_desc: Use image node_id 2 for calling the Colormap obj's underlying member method code with example usage: obj.get_bit_at_idx(val, idx) and returns: unknown