MYNT EYE SDK  2.0.0-rc
http://www.myntai.com/camera
Enumerations

Public enumeration types. 更多...

枚举

enum  mynteye::Model : std::uint8_t { mynteye::Model::STANDARD, mynteye::Model::LAST }
 Device model. 更多...
 
enum  mynteye::Stream : std::uint8_t {
  mynteye::Stream::LEFT, mynteye::Stream::RIGHT, mynteye::Stream::LEFT_RECTIFIED, mynteye::Stream::RIGHT_RECTIFIED,
  mynteye::Stream::DISPARITY, mynteye::Stream::DISPARITY_NORMALIZED, mynteye::Stream::DEPTH, mynteye::Stream::POINTS,
  mynteye::Stream::LAST
}
 Streams define different type of data. 更多...
 
enum  mynteye::Capabilities : std::uint8_t {
  mynteye::Capabilities::STEREO, mynteye::Capabilities::COLOR, mynteye::Capabilities::DEPTH, mynteye::Capabilities::POINTS,
  mynteye::Capabilities::FISHEYE, mynteye::Capabilities::INFRARED, mynteye::Capabilities::INFRARED2, mynteye::Capabilities::IMU,
  mynteye::Capabilities::LAST
}
 Capabilities define the full set of functionality that the device might provide. 更多...
 
enum  mynteye::Info : std::uint8_t {
  mynteye::Info::DEVICE_NAME, mynteye::Info::SERIAL_NUMBER, mynteye::Info::FIRMWARE_VERSION, mynteye::Info::HARDWARE_VERSION,
  mynteye::Info::SPEC_VERSION, mynteye::Info::LENS_TYPE, mynteye::Info::IMU_TYPE, mynteye::Info::NOMINAL_BASELINE,
  mynteye::Info::LAST
}
 Camera info fields are read-only strings that can be queried from the device. 更多...
 
enum  mynteye::Option : std::uint8_t {
  mynteye::Option::GAIN, mynteye::Option::BRIGHTNESS, mynteye::Option::CONTRAST, mynteye::Option::FRAME_RATE,
  mynteye::Option::IMU_FREQUENCY, mynteye::Option::EXPOSURE_MODE, mynteye::Option::MAX_GAIN, mynteye::Option::MAX_EXPOSURE_TIME,
  mynteye::Option::DESIRED_BRIGHTNESS, mynteye::Option::IR_CONTROL, mynteye::Option::HDR_MODE, mynteye::Option::ZERO_DRIFT_CALIBRATION,
  mynteye::Option::ERASE_CHIP, mynteye::Option::LAST
}
 Camera control options define general configuration controls. 更多...
 
enum  mynteye::Source : std::uint8_t { mynteye::Source::VIDEO_STREAMING, mynteye::Source::MOTION_TRACKING, mynteye::Source::ALL, mynteye::Source::LAST }
 Source allows the user to choose which data to be captured. 更多...
 
enum  mynteye::AddOns : std::uint8_t { mynteye::AddOns::INFRARED, mynteye::AddOns::INFRARED2, mynteye::AddOns::LAST }
 Add-Ons are peripheral modules of our hardware. 更多...
 
enum  mynteye::Format : std::uint32_t { mynteye::Format::GREY = ((std::uint32_t)( 'G' ) | ((std::uint32_t)( 'R' ) << 8) | ((std::uint32_t)( 'E' ) << 16) | ((std::uint32_t)( 'Y' ) << 24)), mynteye::Format::YUYV = ((std::uint32_t)( 'Y' ) | ((std::uint32_t)( 'U' ) << 8) | ((std::uint32_t)( 'Y' ) << 16) | ((std::uint32_t)( 'V' ) << 24)), mynteye::Format::LAST }
 Formats define how each stream can be encoded. 更多...
 

详细描述

Public enumeration types.

枚举类型说明

◆ AddOns

enum mynteye::AddOns : std::uint8_t
strong

Add-Ons are peripheral modules of our hardware.

枚举值
INFRARED 

Infrared

INFRARED2 

Second infrared

LAST 

Last guard

◆ Capabilities

enum mynteye::Capabilities : std::uint8_t
strong

Capabilities define the full set of functionality that the device might provide.

枚举值
STEREO 

Provides stereo stream

COLOR 

Provides color stream

DEPTH 

Provides depth stream

POINTS 

Provides point cloud stream

FISHEYE 

Provides fisheye stream

INFRARED 

Provides infrared stream

INFRARED2 

Provides second infrared stream

IMU 

Provides IMU (accelerometer, gyroscope) data

LAST 

Last guard

◆ Format

enum mynteye::Format : std::uint32_t
strong

Formats define how each stream can be encoded.

枚举值
GREY 

Greyscale, 8 bits per pixel

YUYV 

YUV 4:2:2, 16 bits per pixel

LAST 

Last guard

◆ Info

enum mynteye::Info : std::uint8_t
strong

Camera info fields are read-only strings that can be queried from the device.

枚举值
DEVICE_NAME 

Device name

SERIAL_NUMBER 

Serial number

FIRMWARE_VERSION 

Firmware version

HARDWARE_VERSION 

Hardware version

SPEC_VERSION 

Spec version

LENS_TYPE 

Lens type

IMU_TYPE 

IMU type

NOMINAL_BASELINE 

Nominal baseline

LAST 

Last guard

◆ Model

enum mynteye::Model : std::uint8_t
strong

Device model.

枚举值
STANDARD 

Standard

LAST 

Last guard

◆ Option

enum mynteye::Option : std::uint8_t
strong

Camera control options define general configuration controls.

枚举值
GAIN 

Image gain, valid if manual-exposure

range: [0,48], default: 24

BRIGHTNESS 

Image brightness, valid if manual-exposure

range: [0,240], default: 120

CONTRAST 

Image contrast, valid if manual-exposure

range: [0,255], default: 127

FRAME_RATE 

Image frame rate, must set IMU_FREQUENCY together

values: {10,15,20,25,30,35,40,45,50,55,60}, default: 25

IMU_FREQUENCY 

IMU frequency, must set FRAME_RATE together

values: {100,200,250,333,500}, default: 200

EXPOSURE_MODE 

Exposure mode

0: enable auto-exposure 1: disable auto-exposure (manual-exposure)

MAX_GAIN 

Max gain, valid if auto-exposure

range: [0,48], default: 48

MAX_EXPOSURE_TIME 

Max exposure time, valid if auto-exposure

range: [0,240], default: 240

DESIRED_BRIGHTNESS 

Desired brightness, valid if auto-exposure

range: [0,255], default: 192

IR_CONTROL 

IR control

range: [0,160], default: 0

HDR_MODE 

HDR mode

0: 10-bit 1: 12-bit

ZERO_DRIFT_CALIBRATION 

Zero drift calibration

ERASE_CHIP 

Erase chip

LAST 

Last guard

◆ Source

enum mynteye::Source : std::uint8_t
strong

Source allows the user to choose which data to be captured.

枚举值
VIDEO_STREAMING 

Video streaming of stereo, color, depth, etc.

MOTION_TRACKING 

Motion tracking of IMU (accelerometer, gyroscope)

ALL 

Enable everything together

LAST 

Last guard

◆ Stream

enum mynteye::Stream : std::uint8_t
strong

Streams define different type of data.

枚举值
LEFT 

Left stream

RIGHT 

Right stream

LEFT_RECTIFIED 

Left stream, rectified

RIGHT_RECTIFIED 

Right stream, rectified

DISPARITY 

Disparity stream

DISPARITY_NORMALIZED 

Disparity stream, normalized

DEPTH 

Depth stream

POINTS 

Point cloud stream

LAST 

Last guard