Intel Realsense D435 pyrealsense2 get_option_range() 获取rs.option中参数值取值范围 获取默认值
生活随笔
收集整理的這篇文章主要介紹了
Intel Realsense D435 pyrealsense2 get_option_range() 获取rs.option中参数值取值范围 获取默认值
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
color sensor支持參數值的取值范圍
代碼
# -*- coding: utf-8 -*- """ @File : 200108_測試獲取Intel_Realsense_options參數.py @Time : 2020/1/8 13:18 @Author : Dontla @Email : sxana@qq.com @Software: PyCharm """import pyrealsense2 as rsctx = rs.context() pipeline = rs.pipeline(ctx) cfg = rs.config() cfg.enable_device('838212073161') cfg.enable_stream(rs.stream.depth, 640, 360, rs.format.z16, 30) cfg.enable_stream(rs.stream.color, 640, 360, rs.format.bgr8, 30) pipeline_profile = pipeline.start(cfg)sensor = pipeline.get_active_profile().get_device().query_sensors()[1]option_range = sensor.get_option_range(rs.option.global_time_enabled) print(option_range)color sensor支持參數
option.backlight_compensation, Enable / disable backlight compensation option.brightness, UVC image brightness option.contrast, UVC image contrast option.exposure, Controls exposure time of color camera. Setting any value will disable auto exposure option.gain, UVC image gain option.gamma, UVC image gamma setting option.hue, UVC image hue option.saturation, UVC image saturation setting option.sharpness, UVC image sharpness setting option.white_balance, Controls white balance of color image. Setting any value will disable auto white balance option.enable_auto_exposure, Enable / disable auto-exposure option.enable_auto_white_balance, Enable / disable auto-white-balance option.frames_queue_size, Max number of frames you can hold at a given time. Increasing this number will reduce frame drops but increase latency, and vice versa option.power_line_frequency, Power Line Frequency option.auto_exposure_priority, Limit exposure time when auto-exposure is ON to preserve constant fps rate option.global_time_enabled, Enable/Disable global timestamp. backlight compensation, 背光補償,啟用/禁用背光補償 brightness, 亮度, contrast, 對比, exposure, 曝光,控制彩色相機的曝光時間。 設置任何值將禁用自動曝光 gain, 增益, gamma, 伽瑪, hue, 色調, saturation, 飽和, sharpness, 銳度, white balance, 白平衡,控制彩色圖像的白平衡。 設置任何值將禁用自動白平衡 enable auto exposure, 啟用自動曝光,啟用/禁用自動曝光 enable auto white balance, 啟用自動白平衡,啟用/禁用自動白平衡 frames queue size, 幀隊列大小,在給定時間可以容納的最大幀數。 增加此數目將減少幀丟失,但會增加延遲,反之亦然 power line frequency, 電力線頻率, auto exposure priority, 自動曝光優先,開啟自動曝光時限制曝光時間以保持恒定的fps速率 global time enabled 全局時間啟用,啟用/禁用全局時間戳。后面中括號里的貌似是默認值(攝像頭重置能夠將值重置為默認)那個/不知是啥。。。
backlight compensation, 背光補償,<pyrealsense2.option_range: 0-1/1 [0]> brightness, 亮度,<pyrealsense2.option_range: -64-64/1 [0]> contrast, 對比,<pyrealsense2.option_range: 0-100/1 [50]> exposure, 曝光,<pyrealsense2.option_range: 1-10000/1 [156]> gain, 增益,<pyrealsense2.option_range: 0-128/1 [64]> gamma, 伽瑪,<pyrealsense2.option_range: 100-500/1 [300]> hue, 色調,<pyrealsense2.option_range: -180-180/1 [0]> saturation, 飽和,<pyrealsense2.option_range: 0-100/1 [64]> sharpness, 銳度,<pyrealsense2.option_range: 0-100/1 [50]> white balance, 白平衡,<pyrealsense2.option_range: 2800-6500/10 [4600]> enable auto exposure, 啟用自動曝光,<pyrealsense2.option_range: 0-1/1 [1]> enable auto white balance, 啟用自動白平衡,<pyrealsense2.option_range: 0-1/1 [1]> frames queue size, 幀隊列大小,<pyrealsense2.option_range: 0-32/1 [16]> power line frequency, 電力線頻率,<pyrealsense2.option_range: 0-3/1 [3]> auto exposure priority, 自動曝光優先,<pyrealsense2.option_range: 0-1/1 [1]> global time enabled 全局時間啟用,<pyrealsense2.option_range: 0-1/1 [1]>總結
以上是生活随笔為你收集整理的Intel Realsense D435 pyrealsense2 get_option_range() 获取rs.option中参数值取值范围 获取默认值的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: pyrealsense2 sensor.
- 下一篇: SQ 小车避障 Intel Realse