code: def test_value(self):
      key = "img"
      factor = np.random.rand()
      offset = np.std(self.imt) * factor
      shifter = ShiftIntensityd(keys=[key], offset=offset)
      expected = shifter({key: self.imt})
      std_shifter = StdShiftIntensityd(keys=[key], factor=factor)
      result = std_shifter({key: self.imt})
      np.testing.assert_allclose(result[key], expected[key], rtol=1e-5)
  
file_path: MONAI/tests/test_std_shift_intensityd.py
imports: from __future__ import annotations
  import unittest
  import numpy
  from monai.transforms import ShiftIntensityd, StdShiftIntensityd
  from monai.utils import dtype_numpy_to_torch
  from tests.utils import NumpyImageTestCase2D
label_desc: Use image node_id 1 for calling the TestStdShiftIntensityd obj's underlying member method code with example usage: obj.test_value() without return types