什么做Android相机变焦数数学再present? [英] What do the Android camera zoom numbers mathematically represent?
问题描述
我试图写在Android的一个基本的增强现实应用程序,但我遇到了一些麻烦,在做平台的解耦计算,因为我不知道该如何跨preT Android上的缩放级别。
I'm trying to write a basic augmented reality app in Android, but I'm running into some trouble doing platform-uncoupled calculations because I don't know how to interpret the zoom levels on Android.
缩放级别范围从0 - params.getMaxZoom(),但我找不到什么那些缩放级别实际上意味着(例如任何文档,缩放级别0显然是0%放大,但缩放级别1像10%的缩放?)
The zoom levels range from 0 - params.getMaxZoom(), but I can't find any documentation about what those zoom levels actually mean (for example, zoom level 0 is obviously 0% zoomed in, but is zoom level 1 like 10% zoomed in?)
是缩放级别完全不确定的和随意的抽象?我希望不是 - 这将使放大的AR pretty无望
Are the zoom levels totally undefined and arbitrary abstractions? I hope not - that would make zoomed-in AR pretty hopeless.
推荐答案
D'哦 - 貌似我只是需要更密切地阅读文档。答案可以在这里找到:
<一href=\"http://developer.android.com/reference/android/hardware/Camera.Parameters.html#getZoomRatios%28%29\">getZoomRatios ()
D'oh - looks like I just needed to read the documentation more closely. The answer can be found here: getZoomRatios ()
这篇关于什么做Android相机变焦数数学再present?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!