code: def __init__(
      self,
      label_names,
      key_label="label",
      key_clicks="foreground",
      key_centroids="centroids",
  ):
      self.label_names = label_names
      self.key_label = key_label
      self.key_clicks = key_clicks
      self.key_centroids = key_centroids
  
imports: import copy
  import logging
  from typing import Dict, Hashable, Mapping
  import numpy
  import torch
  from monai.config import KeysCollection, NdarrayOrTensor
  from monai.transforms import CropForeground, GaussianSmooth, Randomizable, Resize, ScaleIntensity, SpatialCrop
  from monai.transforms.transform import MapTransform, Transform
label_desc: Use image node_id 1 to create a new AddCentroidFromClicks object from inherited base classes: Transform, Randomizable with example: obj = AddCentroidFromClicks(label_names, key_label, key_clicks, key_centroids)