code: def test_cropped_rgb_image(self):
      w, h = random.randrange(20, 100), random.randrange(20, 100)
      channels, offset = 3, 10
      mat = cv2.cvtColor(
          np.random.randint(
              2**8 - 1, size=(h, w, channels), dtype=np.uint8
          ),
          cv2.COLOR_RGB2BGR,
      )
      rgb_image_frame = ImageFrame(
          image_format=ImageFormat.SRGB,
          data=np.ascontiguousarray(
              mat[offset:-offset, offset:-offset, :]
          ),
      )
      self.assertTrue(
          np.array_equal(
              mat[offset:-offset, offset:-offset, :],
              rgb_image_frame.numpy_view(),
          )
      )
  
imports: import gc
  import random
  import sys
  from absl.testing import absltest
  import cv2
  import numpy
  import PIL.Image
  from mediapipe.python._framework_bindings import image_frame
label_desc: Use image node_id 9 for calling the ImageFrameTest obj's underlying member method code with example usage: obj.test_cropped_rgb_image() without return types