RMVL  2.4.0-dev
Robotic Manipulation and Vision Library
载入中...
搜索中...
未找到
相机模块
相机模块 的协作图:

专题

 大恒图像 Galaxy USB3.0/GigE 系列工业相机库
 海康机器人 USB3.0/GigE 系列工业相机库
 迈德威视 USB3.0 相机库
 奥普特机器视觉 USB3.0/GigE 系列工业相机库

struct  rm::CameraConfig
 相机初始化配置模式 更多...
class  rm::CameraExtrinsics
 相机外参 更多...

枚举

enum class  rm::TriggerChannel : uint8_t { rm::TriggerChannel::Chn0 , rm::TriggerChannel::Chn1 , rm::TriggerChannel::Chn2 , rm::TriggerChannel::Chn3 }
 相机外部触发通道 更多...
enum class  rm::GrabMode : uint8_t { rm::GrabMode::Continuous , rm::GrabMode::Software , rm::GrabMode::Hardware , rm::GrabMode::RotaryEnc }
 相机采集模式 更多...
enum class  rm::HandleMode : uint8_t { rm::HandleMode::Index , rm::HandleMode::Key , rm::HandleMode::MAC , rm::HandleMode::IP }
 相机句柄创建方式 更多...
enum class  rm::RetrieveMode : uint8_t { rm::RetrieveMode::OpenCV , rm::RetrieveMode::SDK }
 相机数据处理模式 更多...
enum class  rm::CameraProperties : uint8_t {
  rm::CameraProperties::auto_exposure , rm::CameraProperties::auto_wb , rm::CameraProperties::exposure , rm::CameraProperties::gain ,
  rm::CameraProperties::gamma , rm::CameraProperties::wb_rgain , rm::CameraProperties::wb_ggain , rm::CameraProperties::wb_bgain ,
  rm::CameraProperties::contrast , rm::CameraProperties::saturation , rm::CameraProperties::sharpness , rm::CameraProperties::frame_height ,
  rm::CameraProperties::frame_width , rm::CameraProperties::trigger_delay , rm::CameraProperties::trigger_count , rm::CameraProperties::trigger_period
}
 相机运行时属性 更多...
enum  rm::CameraEvents : uint8_t { rm::once_exposure , rm::once_wb , rm::software }
 相机运行时事件 更多...

详细描述

枚举类型说明

◆ CameraEvents

enum rm::CameraEvents : uint8_t

#include <rmvl/camera/camutils.hpp>

相机运行时事件

枚举值
once_exposure 
Python: rm.once_exposure

单次曝光

once_wb 
Python: rm.once_wb

执行单次白平衡

software 
Python: rm.software

执行软触发

◆ CameraProperties

enum class rm::CameraProperties : uint8_t
strong

#include <rmvl/camera/camutils.hpp>

相机运行时属性

枚举值
auto_exposure 
Python: rm.CameraProperties.auto_exposure

自动曝光

auto_wb 
Python: rm.CameraProperties.auto_wb

自动白平衡

exposure 
Python: rm.CameraProperties.exposure

曝光值

gain 
Python: rm.CameraProperties.gain

模拟增益

gamma 
Python: rm.CameraProperties.gamma

Gamma 值

wb_rgain 
Python: rm.CameraProperties.wb_rgain

白平衡红色分量

wb_ggain 
Python: rm.CameraProperties.wb_ggain

白平衡绿色分量

wb_bgain 
Python: rm.CameraProperties.wb_bgain

白平衡蓝色分量

contrast 
Python: rm.CameraProperties.contrast

对比度

saturation 
Python: rm.CameraProperties.saturation

饱和度

sharpness 
Python: rm.CameraProperties.sharpness

锐度

frame_height 
Python: rm.CameraProperties.frame_height

图像帧高度

frame_width 
Python: rm.CameraProperties.frame_width

图像帧宽度

trigger_delay 
Python: rm.CameraProperties.trigger_delay

硬触发采集延迟(微秒 \(μs\))

trigger_count 
Python: rm.CameraProperties.trigger_count

单次触发时的触发帧数

trigger_period 
Python: rm.CameraProperties.trigger_period

单次触发时多次采集的周期(微秒 \(μs\))

◆ GrabMode

enum class rm::GrabMode : uint8_t
strong

#include <rmvl/camera/camutils.hpp>

相机采集模式

枚举值
Continuous 
Python: rm.GrabMode.Continuous

连续采样

Software 
Python: rm.GrabMode.Software

软触发

Hardware 
Python: rm.GrabMode.Hardware

硬触发

RotaryEnc 
Python: rm.GrabMode.RotaryEnc

旋转编码器触发

◆ HandleMode

enum class rm::HandleMode : uint8_t
strong

#include <rmvl/camera/camutils.hpp>

相机句柄创建方式

枚举值
Index 
Python: rm.HandleMode.Index

相机的索引号 (0, 1, 2 ...)

Key 
Python: rm.HandleMode.Key

制造商:序列号 S/N

MAC 
Python: rm.HandleMode.MAC

相机的 MAC 地址

IP 
Python: rm.HandleMode.IP

IP 地址

◆ RetrieveMode

enum class rm::RetrieveMode : uint8_t
strong

#include <rmvl/camera/camutils.hpp>

相机数据处理模式

枚举值
OpenCV 
Python: rm.RetrieveMode.OpenCV

使用 OpenCV 的 'cvtColor' 进行处理

SDK 
Python: rm.RetrieveMode.SDK

使用官方 SDK 进行处理

◆ TriggerChannel

enum class rm::TriggerChannel : uint8_t
strong

#include <rmvl/camera/camutils.hpp>

相机外部触发通道

枚举值
Chn0 
Python: rm.TriggerChannel.Chn0

通道 0

Chn1 
Python: rm.TriggerChannel.Chn1

通道 1

Chn2 
Python: rm.TriggerChannel.Chn2

通道 2

Chn3 
Python: rm.TriggerChannel.Chn3

通道 3