code: def test_interactive_seg_transforms(self):
      class MyInteractiveSeg(InteractiveSegmentationTransform):
          def __init__(self, meta_key_postfix):
              super().__init__(meta_key_postfix)
  
          def __call__(self, data):
              return data
  
      iseg_tx = MyInteractiveSeg(meta_key_postfix="meta_dict")
      data = {"image": [0, 1, 2, 3, 4, 5]}
      self.assertEqual(
          iseg_tx._fetch_data(data, "image"), data["image"]
      )
  
      image_np = np.random.rand(2, 128, 128)
      outimage_np = iseg_tx._normalise_logits(image_np, axis=0)
      self.assertEqual(np.sum(outimage_np, axis=0).mean(), 1.0)
  
      data.update({"image_meta_dict": {"affine": [0, 1, 2, 3, 4, 5]}})
      data = iseg_tx._copy_affine(data, "image", "label")
      self.assertIn("label_meta_dict", data.keys())
  
imports: import unittest
  import numpy
  from monai.transforms import LoadImage
  from monai.utils import set_determinism
  from parameterized import parameterized
  from monailabel.scribbles.infer import HistogramBasedGraphCut
  from monailabel.scribbles.transforms import AddBackgroundScribblesFromROId, ApplyGraphCutOptimisationd, InteractiveSegmentationTransform, MakeISegUnaryd, MakeLikelihoodFromScribblesHistogramd, SoftenProbSoftmax
  from monailabel.transform.writer import Writer
label_desc: Use image node_id 5 for calling the TestScribblesTransforms obj's underlying member method code with example usage: obj.test_interactive_seg_transforms() and returns: data