RMVL  1.1.0
RoboMaster Vision Library
模块 | | 类型定义 | 枚举
相机模块
相机模块 的协作图:

模块

 迈德威视(MindVision)相机库
 
 海康机器人(HikRobot)工业相机库
 

class  rm::CameraExtrinsics< Tp >
 相机外参 更多...
 

类型定义

using rm::RetrieveMode = int
 处理模式 Camera retrieve mode 更多...
 

枚举

enum  rm::GrabMode : int { rm::GRAB_CONTINUOUS = 0 , rm::GRAB_SOFTWARE = 1 , rm::GRAB_HARDWARE = 2 }
 采集模式 Camera grab mode 更多...
 
enum  rm::_RetrieveMode : RetrieveMode { rm::RETRIEVE_SDK = 0x01 , rm::RETRIEVE_CV = 0x02 , rm::RETRIEVE_LUT = 0x10 }
 
enum  rm::CameraActivities : uint16_t { rm::CAMERA_ONCE_WB = 0x0101 , rm::CAMERA_SOFT_TRIGGER = 0x0102 }
 相机事件 Camera Activities 更多...
 
enum  rm::CameraProperties : uint16_t {
  rm::CAMERA_AUTO_EXPOSURE = 0x001 , rm::CAMERA_AUTO_WB = 0x002 , rm::CAMERA_MANUAL_EXPOSURE = 0x003 , rm::CAMERA_MANUAL_WB = 0x004 ,
  rm::CAMERA_EXPOSURE = 0x005 , rm::CAMERA_GAIN = 0x006 , rm::CAMERA_GAMMA = 0x007 , rm::CAMERA_WB_RGAIN = 0x008 ,
  rm::CAMERA_WB_GGAIN = 0x009 , rm::CAMERA_WB_BGAIN = 0x00a , rm::CAMERA_CONTRAST = 0x00c , rm::CAMERA_SATURATION = 0x00d ,
  rm::CAMERA_SHARPNESS = 0x00e , rm::CAMERA_FRAME_HEIGHT = 0x00f , rm::CAMERA_FRAME_WIDTH = 0x010 , rm::CAMERA_TRIGGER_DELAY = 0x041 ,
  rm::CAMERA_TRIGGER_COUNT = 0x042 , rm::CAMERA_TRIGGER_PERIOD = 0x043
}
 相机属性 Camera Properties 更多...
 

详细描述

类型定义说明

◆ RetrieveMode

using rm::RetrieveMode = typedef int

#include <rmvl/camera/camutils.hpp>

处理模式 Camera retrieve mode

枚举类型说明

◆ _RetrieveMode

#include <rmvl/camera/camutils.hpp>

枚举值
RETRIEVE_SDK 

使用官方 SDK 进行处理 Retrieve using official SDK

RETRIEVE_CV 

使用 OpenCV 的 'cvtColor' 进行处理 Retrieve using cvtColor function in OpenCV

RETRIEVE_LUT 

使用 LUT 进行处理,需配合 RETRIEVE_CV 进行使用 Retrieve using cvtColor function with Look - Up Table

◆ CameraActivities

enum rm::CameraActivities : uint16_t

#include <rmvl/camera/camutils.hpp>

相机事件 Camera Activities

枚举值
CAMERA_ONCE_WB 

执行一次白平衡 Preform once white balance

CAMERA_SOFT_TRIGGER 

执行软触发 Preform a software trigger

◆ CameraProperties

enum rm::CameraProperties : uint16_t

#include <rmvl/camera/camutils.hpp>

相机属性 Camera Properties

枚举值
CAMERA_AUTO_EXPOSURE 

自动曝光 Automatic exposure

CAMERA_AUTO_WB 

自动白平衡 Automatic white balance

CAMERA_MANUAL_EXPOSURE 

手动曝光 Manual exposure

CAMERA_MANUAL_WB 

手动白平衡 Manual white balance

CAMERA_EXPOSURE 

曝光值 Expusure

CAMERA_GAIN 

模拟增益 Analog gain

CAMERA_GAMMA 

Gamma 值 Gamma

CAMERA_WB_RGAIN 

白平衡红色分量 Red channel gain of white balance

CAMERA_WB_GGAIN 

白平衡绿色分量 Green channel gain of white balance

CAMERA_WB_BGAIN 

白平衡蓝色分量 Blue channel gain of white balance

CAMERA_CONTRAST 

对比度 Contrast ratio

CAMERA_SATURATION 

饱和度 Saturation ratio

CAMERA_SHARPNESS 

锐度 Sharpness ratio

CAMERA_FRAME_HEIGHT 

图像帧高度 Frame height

CAMERA_FRAME_WIDTH 

图像帧宽度 Frame width

CAMERA_TRIGGER_DELAY 

硬触发采集延迟(微秒)Hard trigger collection delay (μs)

CAMERA_TRIGGER_COUNT 

单次触发时的触发帧数 The number of frames in a single trigger

CAMERA_TRIGGER_PERIOD 

单次触发时多次采集的周期(微秒)The period of multiple collection for a single trigger (μs)

◆ GrabMode

enum rm::GrabMode : int

#include <rmvl/camera/camutils.hpp>

采集模式 Camera grab mode

枚举值
GRAB_CONTINUOUS 

连续采样 Continuous grabbing

GRAB_SOFTWARE 

软触发 Grab by software trigger

GRAB_HARDWARE 

硬触发 Grab by hardware trigger