Google Cardboard default distortion values

喜夏-厌秋 提交于 2020-01-14 05:33:07

问题


Hi I am trying to distort some stereoscopic video footage for viewing with Google Cardboard. I have been looking through the Distortion class and the example project but can not find any distortion values being defined.

Could someone advise what the distortion values should be used for the default 45mm lenses onto a Nexus 5 screen? The software I am using to process the footage is NukeX which takes 2 radial distortion values.

Any help would be much appreciated.


回答1:


The distortion values can be retrieved by calling distortion.getCoefficients(). The first two are the ones you need (r^2 and r^4), but they may need to be adjusted to match your units of distance.



来源:https://stackoverflow.com/questions/27558783/google-cardboard-default-distortion-values

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!