MYNT EYE SDK  v1.8
https://www.slightech.com/camera
mynteye Namespace Reference

MYNT EYE namespace. More...

Classes

struct  CalibrationParameters
 Intrinsic parameters of each cameras and extrinsic (translation and rotation). More...
 
class  Camera
 The main class to use the MYNT EYE camera. More...
 
struct  CameraInformation
 Camera information. More...
 
struct  IMUData
 IMU (inertial measurement unit) data. More...
 
struct  InitParameters
 Parameters for MYNT EYE initialization. More...
 
class  Plugin
 The plugin which could implement processing by yourself. More...
 
struct  Resolution
 Image resolution about width and height. More...
 

Typedefs

using ErrorCallback = std::function< void(const ErrorCode &code)>
 Error callback. More...
 
using ProcessCallback = std::function< void(cv::Mat &image)>
 Process feature callback with one image. More...
 
using ProcessCallback2 = std::function< void(cv::Mat &left, cv::Mat &right)>
 Process feature callback with two images. More...
 
using GrabErrorCallback = ErrorCallback
 Grab error callback. More...
 
using GrabPreProcessCallback = std::function< void()>
 Pre process grab callback.
 
using GrabPostProcessCallback = ProcessCallback2
 Post process grab callback. More...
 
using RectifyPreProcessCallback = ProcessCallback2
 Pre process rectification callback. More...
 
using RectifyPostProcessCallback = ProcessCallback2
 Post process rectification callback. More...
 
using DepthMapPreProcessCallback = ProcessCallback2
 Pre process depth map callback. More...
 
using DepthMapPostProcessCallback = ProcessCallback
 Post process depth map callback. More...
 
using PointCloudPreProcessCallback = ProcessCallback
 Pre process point cloud callback. More...
 
using PointCloudPostProcessCallback = ProcessCallback
 Post process point cloud callback. More...
 

Enumerations

enum  ErrorCode {
  SUCCESS = 0, ERROR_FAILURE, ERROR_FILE_OPEN_FAILED, ERROR_CAMERA_OPEN_FAILED,
  ERROR_CAMERA_NOT_OPENED, ERROR_CAMERA_GRAB_FAILED, ERROR_CAMERA_GRAB_TIMEOUT, ERROR_CAMERA_RETRIEVE_FAILED,
  ERROR_CAMERA_RETRIEVE_NOT_READY, ERROR_FEATURE_NOT_ACTIVATED, ERROR_LAST
}
 List error codes in the MYNT EYE SDK. More...
 
enum  Mode { MODE_AUTO_DETECT, MODE_CPU, MODE_GPU, MODE_LAST }
 List available modes. More...
 
enum  View {
  VIEW_LEFT, VIEW_RIGHT, VIEW_LEFT_UNRECTIFIED, VIEW_RIGHT_UNRECTIFIED,
  VIEW_DEPTH_MAP, VIEW_DEPTH_MAP_UNNORMALIZED, VIEW_POINT_CLOUD, VIEW_LAST
}
 List available views. More...
 
enum  Rate { RATE_50_FPS_500_HZ, RATE_25_FPS_500_HZ, RATE_10_FPS_200_HZ, RATE_LAST }
 List rate options. More...
 
enum  ControlProperty {
  CT_PROP_AUTO_EXPOSURE_MODE, CT_PROP_BRIGHTNESS, CT_PROP_CONTRAST, CT_PROP_GAIN,
  CT_PROP_DESIRED_BRIGHTNESS, CT_PROP_MAX_EXPOSURE_TIME, CT_PROP_MAX_GAIN, CT_PROP_IR_CONTROL,
  CT_PROP_HDR, CT_PROP_LAST
}
 List control properties. More...
 
enum  Process {
  PROC_GRAB, PROC_RECTIFY, PROC_DEPTH_MAP, PROC_POINT_CLOUD,
  PROC_LAST
}
 List process names. More...
 
enum  Gravity {
  TOP_LEFT, TOP_RIGHT, BOTTOM_LEFT, BOTTOM_RIGHT,
  GRAVITY_LAST
}
 List gravity values. More...
 
enum  FwDevide { FW_GENERAL, FW_NO_MORE_THAN_0105, FW_MORE_THAN_0105, FW_LAST }
 firmware version. More...
 

Functions

std::string FindDeviceName (bool *found)
 Finds the suggested device name. More...
 

Detailed Description

MYNT EYE namespace.

Typedef Documentation

◆ DepthMapPostProcessCallback

Post process depth map callback.

Parameters
depthmap

◆ DepthMapPreProcessCallback

Pre process depth map callback.

Parameters
left_rectified
right_rectified

◆ ErrorCallback

using mynteye::ErrorCallback = typedef std::function<void(const ErrorCode &code)>

Error callback.

◆ GrabErrorCallback

Grab error callback.

Parameters
code

◆ GrabPostProcessCallback

Post process grab callback.

Parameters
left_raw
right_raw

◆ PointCloudPostProcessCallback

Post process point cloud callback.

Parameters
pointcloud

◆ PointCloudPreProcessCallback

Pre process point cloud callback.

Parameters
depthmap

◆ ProcessCallback

using mynteye::ProcessCallback = typedef std::function<void(cv::Mat &image)>

Process feature callback with one image.

◆ ProcessCallback2

using mynteye::ProcessCallback2 = typedef std::function<void(cv::Mat &left, cv::Mat &right)>

Process feature callback with two images.

◆ RectifyPostProcessCallback

Post process rectification callback.

Parameters
left_rectified
right_rectified

◆ RectifyPreProcessCallback

Pre process rectification callback.

Parameters
left_raw
right_raw

Function Documentation

◆ FindDeviceName()

std::string mynteye::FindDeviceName ( bool *  found)

Finds the suggested device name.

Parameters
foundwhether our camera is found or not.
Returns
the found device name, or default one.
Note
Only find our camera on Linux. On other platforms, return default name and found is false. The default name is MYNTEYE On Windows, 0 otherwise.