code: def create_random_images_for_cameras(
      cameras: PinholeCamera,
  ) -> list[Tensor]:
      """Creates random images for a given set of cameras."""
      torch.manual_seed(112)
      imgs: list[Tensor] = []
      for height, width in zip(
          cameras.height.tolist(), cameras.width.tolist()
      ):
          image_data = torch.randint(
              0, 255, (3, int(height), int(width)), dtype=torch.uint8
          )  # (C, H, W)
          imgs.append(image_data)  # (C, H, W)
      return imgs
  
file_path: kornia/test/nerf/test_data_utils.py
imports: from __future__ import annotations
  import torch
  from kornia.core import Device, Tensor
  from kornia.geometry.camera import PinholeCamera
  from kornia.nerf.data_utils import RayDataset, instantiate_ray_dataloader
  from kornia.testing import assert_close
  from test.nerf.test_rays import create_four_cameras
label_desc: Use image node_id 1 for calling a global function with example usage: create_random_images_for_cameras(cameras) and returns: imgs