Functions
rsutil.h File Reference
#include "h/rs_types.h"
#include "h/rs_sensor.h"
#include "h/rs_frame.h"
#include "rs.h"
#include "assert.h"
#include <stdlib.h>
#include <stdbool.h>
#include <stdint.h>
#include <math.h>
#include <float.h>
Include dependency graph for rsutil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static void adjust_2D_point_to_boundary (float p[2], int width, int height)
 
static bool is_pixel_in_line (const float curr[2], const float start[2], const float end[2])
 
static void next_pixel_in_line (float curr[2], const float start[2], const float end[2])
 
static void rs2_deproject_pixel_to_point (float point[3], const struct rs2_intrinsics *intrin, const float pixel[2], float depth)
 
static void rs2_fov (const struct rs2_intrinsics *intrin, float to_fov[2])
 
static void rs2_project_color_pixel_to_depth_pixel (float to_pixel[2], const uint16_t *data, float depth_scale, float depth_min, float depth_max, const struct rs2_intrinsics *depth_intrin, const struct rs2_intrinsics *color_intrin, const struct rs2_extrinsics *color_to_depth, const struct rs2_extrinsics *depth_to_color, const float from_pixel[2])
 
static void rs2_project_point_to_pixel (float pixel[2], const struct rs2_intrinsics *intrin, const float point[3])
 
static void rs2_transform_point_to_point (float to_point[3], const struct rs2_extrinsics *extrin, const float from_point[3])
 

Function Documentation

static void adjust_2D_point_to_boundary ( float  p[2],
int  width,
int  height 
)
static

Definition at line 203 of file rsutil.h.

static bool is_pixel_in_line ( const float  curr[2],
const float  start[2],
const float  end[2] 
)
static

Definition at line 197 of file rsutil.h.

static void next_pixel_in_line ( float  curr[2],
const float  start[2],
const float  end[2] 
)
static

Definition at line 182 of file rsutil.h.

static void rs2_deproject_pixel_to_point ( float  point[3],
const struct rs2_intrinsics intrin,
const float  pixel[2],
float  depth 
)
static

Definition at line 83 of file rsutil.h.

static void rs2_fov ( const struct rs2_intrinsics intrin,
float  to_fov[2] 
)
static

Definition at line 176 of file rsutil.h.

static void rs2_project_color_pixel_to_depth_pixel ( float  to_pixel[2],
const uint16_t data,
float  depth_scale,
float  depth_min,
float  depth_max,
const struct rs2_intrinsics depth_intrin,
const struct rs2_intrinsics color_intrin,
const struct rs2_extrinsics color_to_depth,
const struct rs2_extrinsics depth_to_color,
const float  from_pixel[2] 
)
static

Definition at line 212 of file rsutil.h.

static void rs2_project_point_to_pixel ( float  pixel[2],
const struct rs2_intrinsics intrin,
const float  point[3] 
)
static

Definition at line 19 of file rsutil.h.

static void rs2_transform_point_to_point ( float  to_point[3],
const struct rs2_extrinsics extrin,
const float  from_point[3] 
)
static

Definition at line 168 of file rsutil.h.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:29