简体   繁体   English

Kinect for Windows V2中的彩色摄像机的视野(FOV)是多少?

[英]What is the field of view(FOV) of the color camera in Kinect for Windows V2?

Can't find it anywhere. 在任何地方都找不到。 The kinectforwindows site has the FOV for depth camera. kinectforwindows站点具有用于深度摄像头的FOV。 I can't find it in the box either. 我也无法在框中找到它。

@user1809923 is correct. @ user1809923是正确的。 I contacted the developer of the link: 我联系了链接的开发者:

http://smeenk.com/kinect-field-of-view-comparison/ http://smeenk.com/kinect-field-of-view-comparison/

And he responded with this information: 他用以下信息回应:

If I remember correctly these FOV values are part of the framedescriptions that you can retrieve with help of the Kinect SDK. 如果我没有记错的话,这些FOV值是可以在Kinect SDK的帮助下检索的框架说明的一部分。 Since other people asked for the same info I will update the my blog. 由于其他人要求提供相同的信息,因此我将更新我的博客。

I confirmed his findings by calling the frame's framedescription in the Kinect SDK code and printing the values to the screen. 我通过在Kinect SDK代码中调用框架的框架描述并将其值打印到屏幕上来确认他的发现。

According to this post 根据这篇文章

http://smeenk.com/kinect-field-of-view-comparison/ http://smeenk.com/kinect-field-of-view-comparison/

the FOV of the color camera is 84.1 x 53.8. 彩色摄像机的FOV为84.1 x 53.8。 I am not sure, where the author found this information though. 我不确定,虽然作者在哪里找到了这些信息。

I just wanted to add some more information to this, because the official Kinect Fusion documentation is really bad and because the answer here is correct but the numbers are rounded: 我只是想为此添加更多信息,因为官方的Kinect Fusion文档确实很糟糕,并且这里的答案是正确的,但数字已四舍五入:

  1. assuming, you already have a initialized IColorFrameSource* (eg with the name pColorFrameSource ) you should retrieve the information after you opened the reader: pColorFrameSource->OpenReader(&m_pColorFrameReader); 假设您已经有一个已初始化的IColorFrameSource* (例如,名称为pColorFrameSource ),则在打开阅读器后应检索信息: pColorFrameSource->OpenReader(&m_pColorFrameReader); with m_pColorFrameReader beeing IColorFrameReader* m_pColorFrameReader一起m_pColorFrameReader IColorFrameReader*

  2. the code to retrieve the FOV then looks like this: 检索FOV的代码如下所示:

     IFrameDescription *f=nullptr; float fovDiago = 0; float fovHori = 0; float fovVerti = 0; HRESULT hh=pColorFrameSource ->CreateFrameDescription(ColorImageFormat::ColorImageFormat_Rgba,&f); if (hh == S_OK) { f->get_DiagonalFieldOfView(&fovDiago); f->get_HorizontalFieldOfView(&fovHoront); f->get_VerticalFieldOfView(&fovVerti); } 

The FOV values not rounded are: 未四舍五入的FOV值是:

fovDiago =91.9000015
fovHori  =84.0999985
fovVerti =53.7999992

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM