code: def level_to_value(level, max_value):
      """Map from level to values based on max_value."""
      return (level / _MAX_LEVEL) * max_value
  
imports: import copy
  import cv2
  import mmcv
  import numpy
  from ..builder import PIPELINES
  from .compose import Compose
label_desc: Use image node_id 1 for calling a global function with example usage: level_to_value(level, max_value) and returns: unknown