MvCameraParam 参数模块
更多...
#include <rmvlpara/camera/mv_camera.h>
◆ load()
bool rm::para::MvCameraParam::load |
( |
const std::string & | path | ) |
|
|
inline |
◆ read()
bool rm::para::MvCameraParam::read |
( |
const std::string & | path | ) |
|
从指定 YAML
文件中加载,并读取至 MvCameraParam
中
- 注解
YAML
文件的后缀允许是 *.yml
和 *.yaml
- 参数
-
- 返回
- 是否读取成功
◆ write()
bool rm::para::MvCameraParam::write |
( |
const std::string & | path | ) |
const |
将 MvCameraParam
的数据写入指定的 YAML
文件中
- 注解
YAML
文件的后缀允许是 *.yml
和 *.yaml
- 参数
-
- 返回
- 是否写入成功
◆ auto_exposure
int rm::para::MvCameraParam::auto_exposure = 0 |
◆ auto_wb
int rm::para::MvCameraParam::auto_wb = 0 |
◆ b_gain
int rm::para::MvCameraParam::b_gain = 100 |
◆ contrast
int rm::para::MvCameraParam::contrast = 100 |
◆ exposure
double rm::para::MvCameraParam::exposure = 800 |
◆ g_gain
int rm::para::MvCameraParam::g_gain = 100 |
◆ gain
int rm::para::MvCameraParam::gain = 64 |
◆ gamma
int rm::para::MvCameraParam::gamma = 100 |
◆ grab_mode
int rm::para::MvCameraParam::grab_mode = 1 |
◆ lut_vec
std::vector<int> rm::para::MvCameraParam::lut_vec {} |
◆ r_gain
int rm::para::MvCameraParam::r_gain = 100 |
◆ retrieve_mode
int rm::para::MvCameraParam::retrieve_mode = 1 |
◆ saturation
int rm::para::MvCameraParam::saturation = 100 |
◆ serial_number
std::string rm::para::MvCameraParam::serial_number {} |
◆ sharpness
int rm::para::MvCameraParam::sharpness = 100 |
该结构体的文档由以下文件生成: