code: def test_type_shape(
      self, input_data, label, image, expected_fg, expected_bg
  ):
      fg_indices, bg_indices = FgBgToIndices(**input_data)(label, image)
      assert_allclose(fg_indices, expected_fg)
      assert_allclose(bg_indices, expected_bg)
  
file_path: MONAI/tests/test_fg_bg_to_indices.py
imports: from __future__ import annotations
  import unittest
  from parameterized import parameterized
  from monai.transforms import FgBgToIndices
  from tests.utils import TEST_NDARRAYS, assert_allclose
label_desc: Use image node_id 1 for calling the TestFgBgToIndices obj's underlying member method code with example usage: obj.test_type_shape(input_data, label, image, expected_fg, expected_bg) without return types