ZED Open Capture  v0.6.0
Low level camera driver for the ZED stereo camera family
Classes | Typedefs | Enumerations | Variables
sl_oc::video Namespace Reference

Classes

struct  Frame
 The Frame struct containing the acquired video frames. More...
 
class  VideoCapture
 The VideoCapture class provides image grabbing functions and settings control for all the Stereolabs camera models. More...
 
struct  VideoParams
 The camera configuration parameters. More...
 
struct  Resolution
 Resolution in pixel for each frame. More...
 
struct  UVCBuffer
 The Buffer struct used by UVC to store frame data. More...
 

Typedefs

typedef struct sl_oc::video::VideoParams VideoParams
 The camera configuration parameters. More...
 

Enumerations

enum class  SL_DEVICE {
  ZED , ZED_M , ZED_CBS , ZED_M_CBS ,
  ZED_2 , ZED_2i , NONE
}
 Camera models. More...
 
enum class  RESOLUTION {
  HD2K , HD1080 , HD720 , VGA ,
  LAST
}
 Available resolutions. More...
 
enum class  FPS {
  FPS_15 = 15 , FPS_30 = 30 , FPS_60 = 60 , FPS_100 = 100 ,
  LAST = 101
}
 Available frames per seconds. More...
 
enum class  CAM_SENS_POS { LEFT = 0 , RIGHT = 1 , LAST = 3 }
 Position of the Camera CMOS sensors. More...
 

Variables

const unsigned char PRESET_GAMMA [9][16]
 

Typedef Documentation

◆ VideoParams

The camera configuration parameters.

Enumeration Type Documentation

◆ CAM_SENS_POS

Position of the Camera CMOS sensors.

Enumerator
LEFT 

The left sensor.

RIGHT 

The right sensor.

LAST 

Definition at line 72 of file videocapture_def.hpp.

72  {
73  LEFT = 0,
74  RIGHT = 1,
75  LAST = 3
76 };
@ RIGHT
The right sensor.
@ LEFT
The left sensor.

◆ FPS

enum sl_oc::video::FPS
strong

Available frames per seconds.

Enumerator
FPS_15 

15 Frames per second. Available for all the resolutions.

FPS_30 

30 Frames per second. Not available for RESOLUTION::HD2K.

FPS_60 

60 Frames per second. Not available for RESOLUTION::HD2K and RESOLUTION::HD1080.

FPS_100 

100 Frames per second. Only available for RESOLUTION::VGA.

LAST 

Definition at line 61 of file videocapture_def.hpp.

61  {
62  FPS_15 = 15,
63  FPS_30 = 30,
64  FPS_60 = 60,
65  FPS_100 = 100,
66  LAST = 101
67 };
@ FPS_15
15 Frames per second. Available for all the resolutions.
@ FPS_30
30 Frames per second. Not available for RESOLUTION::HD2K.
@ FPS_100
100 Frames per second. Only available for RESOLUTION::VGA.
@ FPS_60
60 Frames per second. Not available for RESOLUTION::HD2K and RESOLUTION::HD1080.

◆ RESOLUTION

Available resolutions.

Enumerator
HD2K 

2208*1242, available framerates: 15 fps.

HD1080 

1920*1080, available framerates: 15, 30 fps.

HD720 

1280*720, available framerates: 15, 30, 60 fps.

VGA 

672*376, available framerates: 15, 30, 60, 100 fps.

LAST 

Definition at line 50 of file videocapture_def.hpp.

◆ SL_DEVICE

Camera models.

Enumerator
ZED 

ZED old FW.

ZED_M 

ZED Mini old FW.

ZED_CBS 

ZED new FW.

ZED_M_CBS 

ZED Mini new FW.

ZED_2 

ZED2.

ZED_2i 

ZED2.

NONE 

Definition at line 37 of file videocapture_def.hpp.

37  {
38  ZED,
39  ZED_M,
40  ZED_CBS,
41  ZED_M_CBS,
42  ZED_2,
43  ZED_2i,
44  NONE
45 };
@ ZED_M_CBS
ZED Mini new FW.
@ ZED_M
ZED Mini old FW.
@ NONE
Definition: defines.hpp:86

Variable Documentation

◆ PRESET_GAMMA

const unsigned char sl_oc::video::PRESET_GAMMA[9][16]
Initial value:
= {
{7,14,29,54,66,78,89,103,114,123,139,154,183,206,228,254},
{9,17,34,58,71,83,89,108,118,127,143,158,186,208,229,254},
{10,20,38,63,75,88,99,112,123,132,147,162,189,210,230,254},
{12,23,43,67,80,92,103,117,127,136,151,165,192,212,231,254},
{13,26,47,71,84,97,108,121,131,140,155,169,195,214,232,255},
{18,32,54,80,93,106,117,130,140,149,164,177,202,219,236,255},
{24,38,61,88,102,115,127,139,148,157,172,186,209,225,240,255},
{29,44,68,97,111,124,136,147,157,166,181,194,215,230,243,255},
{34,50,75,105,120,133,145,156,165,174,189,202,222,235,247,255}
}

Camera presets for gamma

Definition at line 138 of file videocapture_def.hpp.