控制KinectSDK v2.0公共预览版本的亮度,色调或增益(ColorCameraSettings类有3个有用的只读成员) [英] Controlling Brightness,Hue, or Gain on the KinectSDK v2.0 Public Preview version (ColorCameraSettings class has 3 useful read only members)

查看:139
本文介绍了控制KinectSDK v2.0公共预览版本的亮度,色调或增益(ColorCameraSettings类有3个有用的只读成员)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我目前安装了Kinect SDK v2.0公开预览版,并且我编写了一个具有对象颜色,红外和深度视图的迷你GUI代码。在彩色视图中,对象在笼罩的环境中看起来太亮了,所以
我需要控制参数。我已经查找了ColorCameraSettings类,我原本以为它可以让我控制亮度或曝光。相反,我只获得ExposureTime,Gain,Gamma和FrameInterval。问题是它们只是
所有READ ONLY。  显然我无法更改ColorCameraSettings类,那么还有其他方法可以更改Kinect SDK v2.0公开预览版的亮度吗?  非常感谢帮助!

Hello currently I have the Kinect SDK v2.0 Public Preview version installed, and I have written code for a mini GUI that has color, infrared, and depth view of an object. On the color view, the object appears much too bright in a shrouded environment so I need to control the parameters. I have looked up the classes ColorCameraSettings which I originally thought would let me have control of the brightness or exposure. Instead I only get ExposureTime, Gain, Gamma, and FrameInterval. The catch is that they are all READ ONLY.  Obviously I can't change the ColorCameraSettings class, so is there any other way to change brightness for the Kinect SDK v2.0 Public Preview version?  Help would be much appreciated!

PS。此SDK也没有ColorStream类,因此无法从那里访问CameraSettings。

PS. Also for this SDK there is no ColorStream class so can't access CameraSettings from there.

推荐答案

这是我们得到的常见功能请求并且团队知道这个问题。由于运行时的新共享模型,SDK不提供相机特定的调整。由于多个应用程序可以访问传感器,因此更改参数
的一个应用程序将影响所有应用程序和读取器。这种设计为开发人员提供了更大的灵活性,使多个读者可能希望让一个读者获得颜色框并应用他们自己的颜色过滤器,而另一个读者是"未被触摸"

This is a common feature request we get and the team is aware of the ask. The SDK does not provide for camera specific adjustment due to the new shared model of the runtime. Since multiple applications can access the sensor, one application changing a parameter would effect all applications and readers. This design gives more flexibility to developer to enable multiple readers that may want to have one reader get the color frame and apply their own color filter, where another reader is "un-touched"

您必须根据给定的数据对颜色框进行调整。

You will have to make adjustments on the color frame based on the data given.


这篇关于控制KinectSDK v2.0公共预览版本的亮度,色调或增益(ColorCameraSettings类有3个有用的只读成员)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆