Ejemplo n.º 1
0
 public static extern k4a_result_t k4a_transformation_depth_image_to_color_camera_custom(
     k4a_transformation_t transformation_handle,
     k4a_image_t depth_image,
     k4a_image_t custom_image,
     k4a_image_t transformed_depth_image,
     k4a_image_t transformed_custom_image,
     TransformationInterpolationType interpolation_type,
     uint invalid_custom_value);
            public k4a_image_t DuplicateReference()
            {
                k4a_image_t duplicate = new k4a_image_t();

                NativeMethods.k4a_image_reference(handle);
                duplicate.handle = this.handle;
                return(duplicate);
            }
 public static extern k4a_result_t k4a_image_create_from_buffer(
     ImageFormat format,
     int width_pixels,
     int height_pixels,
     int stride_bytes,
     IntPtr buffer,
     UIntPtr buffer_size,
     k4a_memory_destroy_cb_t buffer_release_cb,
     IntPtr buffer_release_cb_context,
     out k4a_image_t image_handle);
 public static extern IntPtr k4a_image_get_buffer(k4a_image_t image_handle);
 public static extern UInt64 k4a_image_get_timestamp_usec(k4a_image_t image_handle);
 public static extern UInt32 k4a_image_get_white_balance(k4a_image_t image_handle);
 public static extern UInt32 k4a_image_get_iso_speed(k4a_image_t image_handle);
 public static extern int k4a_image_get_stride_bytes(k4a_image_t image_handle);
 public static extern int k4a_image_get_height_pixels(k4a_image_t image_handle);
 public static extern ulong k4a_image_get_system_timestamp_nsec(k4a_image_t image_handle);
 public static extern void k4a_image_set_device_timestamp_usec(k4a_image_t image_handle, ulong value);
 public static extern ulong k4a_image_get_device_timestamp_usec(k4a_image_t image_handle);
 public static extern uint k4a_image_get_white_balance(k4a_image_t image_handle);
 public static extern uint k4a_image_get_iso_speed(k4a_image_t image_handle);
 public static extern ulong k4a_image_get_exposure_usec(k4a_image_t image_handle);
Ejemplo n.º 16
0
 public static extern void k4a_image_set_exposure_time_usec(k4a_image_t image_handle, UInt64 value);
Ejemplo n.º 17
0
 public static extern ImageFormat k4a_image_get_format(k4a_image_t image_handle);
 public static extern void k4a_image_set_system_timestamp_nsec(k4a_image_t image_handle, ulong value);
Ejemplo n.º 19
0
 public static extern int k4a_image_get_width_pixels(k4a_image_t image_handle);
 private k4a_image_t(k4a_image_t original)
     : base(true)
 {
     k4a_image_reference(original.handle);
     this.handle = original.handle;
 }
Ejemplo n.º 21
0
 public static extern UIntPtr k4a_image_get_size(k4a_image_t image_handle);
Ejemplo n.º 22
0
 public static extern k4a_result_t k4a_transformation_color_image_to_depth_camera(
     k4a_transformation_t transformation_handle,
     k4a_image_t depth_image,
     k4a_image_t color_image,
     k4a_image_t transformed_color_image);
Ejemplo n.º 23
0
 public static extern void k4a_image_set_iso_speed(k4a_image_t image_handle, UInt32 value);
Ejemplo n.º 24
0
 public static extern k4a_result_t k4a_transformation_depth_image_to_point_cloud(
     k4a_transformation_t transformation_handle,
     k4a_image_t depth_image,
     Calibration.DeviceType camera,
     k4a_image_t xyz_image);
Ejemplo n.º 25
0
 public static extern void k4a_image_set_white_balance(k4a_image_t image_handle, UInt32 value);
Ejemplo n.º 26
0
 public static extern void k4a_capture_set_ir_image(k4a_capture_t capture_handle, k4a_image_t image_handle);
Ejemplo n.º 27
0
 public static extern void k4a_image_set_timestamp_usec(k4a_image_t image_handle, UInt64 value);
Ejemplo n.º 28
0
 public static extern k4a_result_t k4a_image_create(ImageFormat format,
                                                    int width_pixels,
                                                    int height_pixels,
                                                    int stride_bytes,
                                                    out k4a_image_t image_handle);
Ejemplo n.º 29
0
 public static extern UInt64 k4a_image_get_exposure_usec(k4a_image_t image_handle);
Ejemplo n.º 30
0
 public static extern k4a_result_t k4a_calibration_color_2d_to_depth_2d(
     [In] ref Calibration calibration,
     ref Vector2 source_point2d,
     k4a_image_t depth_image,
     out Vector2 target_point2d,
     out bool valid);