code: def test_corners_to_center_format(self):
      bbox_corners = np.array([[8, 16, 12, 24], [13.5, 14, 16.5, 18]])
      expected = np.array([[10, 20, 4, 8], [15, 16, 3, 4]])
      self.assertTrue(
          np.allclose(corners_to_center_format(bbox_corners), expected)
      )
  
      # Check that the function and inverse function are inverse of each other
      self.assertTrue(
          np.allclose(
              center_to_corners_format(
                  corners_to_center_format(bbox_corners)
              ),
              bbox_corners,
          )
      )
  
imports: import unittest
  import numpy
  from parameterized import parameterized
  from transformers.testing_utils import require_flax, require_tf, require_torch, require_vision
  from transformers.utils.import_utils import is_flax_available, is_tf_available, is_torch_available, is_vision_available
label_desc: Use image node_id 13 for calling the ImageTransformsTester obj's underlying member method code with example usage: obj.test_corners_to_center_format() without return types