code: def test_dimensions_uniform_sampler(self, device, dtype):
      cameras = create_four_cameras(device, dtype)
      uniform_sampler_four_cameras = UniformRaySampler(
          1, 1, False, device=device, dtype=dtype
      )
      points_2d_four_cameras = (
          uniform_sampler_four_cameras.sample_points_2d(
              cameras.height, cameras.width
          )
      )
      cameras_28 = cameras_for_ids(
          cameras, points_2d_four_cameras[28].camera_ids
      )
      points_3d_28 = cameras_28.unproject(
          points_2d_four_cameras[28].points_2d, 1
      )
      cameras_40 = cameras_for_ids(
          cameras, points_2d_four_cameras[45].camera_ids
      )
      points_3d_40 = cameras_40.unproject(
          points_2d_four_cameras[45].points_2d, 1
      )
      assert points_3d_28.shape == (3, 28, 3)
      assert points_3d_40.shape == (1, 45, 3)
  
imports: import math
  import torch
  from kornia.core import Device
  from kornia.geometry.camera import PinholeCamera
  from kornia.nerf.samplers import RandomGridRaySampler, RandomRaySampler, UniformRaySampler, calc_ray_t_vals, cameras_for_ids, sample_lengths, sample_ray_points
  from kornia.testing import assert_close
label_desc: Use image node_id 1 for calling the TestRaySampler_3DPoints obj's underlying member method code with example usage: obj.test_dimensions_uniform_sampler(device, dtype) without return types