code: def rasterize_image(
      vertices,
      triangles,
      color,
      camera_matrix,
      image_width,
      image_height,
      backend,
  ):
      rasterized = triangle_rasterizer.rasterize(
          vertices,
          triangles,
          {"color": color},
          camera_matrix,
          (image_width, image_height),
          backend=backend,
      )
      return rasterized["color"]
  
file_path: graphics/tensorflow_graphics/rendering/tests/splat_test.py
imports: from absl.testing import parameterized
  import tensorflow
  from tensorflow_graphics.rendering import rasterization_backend
  from tensorflow_graphics.rendering import splat
  from tensorflow_graphics.rendering import triangle_rasterizer
  from tensorflow_graphics.rendering.tests import rasterization_test_utils
  from tensorflow_graphics.util import test_case
label_desc: Use image node_id 1 for calling a global function with example usage: rasterize_image(vertices, triangles, color, camera_matrix, image_width, image_height, backend) and returns: rasterized