code: def load_indicator_from_dict(data: Dict[str, any]):
      class_name = data["class_name"]
      del data["class_name"]
  
      if class_name == "Histogram":
          return Histogram(**data)
      elif class_name == "Scalar":
          return Scalar(**data)
      else:
          raise ValueError(f"Unknown indicator: {class_name}")
  
imports: from typing import Dict
  import numpy
  from .numeric import Histogram, Scalar
label_desc: Use image node_id 1 for calling a global function with example usage: load_indicator_from_dict(data) and returns: Histogram, Scalar