code: def update_disparity_map(self):
          
          disparity = self.block_matcher.get_disparity(self.pair)
          norm_coeff = 255 / disparity.max()
          cv2.imshow(self.window_name, disparity * norm_coeff / 255)
          cv2.waitKey()
docs: Update disparity map in GUI.
  
          The disparity image is normalized to the range 0-255 and then divided by
          255, because OpenCV multiplies it by 255 when displaying. This is
          because the pixels are stored as floating points.