Android 相机变焦数字在数学上代表什么?

发布于 2024-09-18 16:41:04 字数 236 浏览 9 评论 0原文

我正在尝试在 Android 中编写一个基本的增强现实应用程序,但在进行平台分离计算时遇到了一些麻烦,因为我不知道如何解释 Android 上的缩放级别。

缩放级别范围从 0 - params.getMaxZoom(),但我找不到任何有关这些缩放级别实际含义的文档(例如,缩放级别 0 显然是 0% 放大,但缩放级别 1 是 10%)放大?)

缩放级别是否完全未定义且任意抽象?我希望不会——这会让放大的 AR 变得毫无希望。

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.

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?)

Are the zoom levels totally undefined and arbitrary abstractions? I hope not - that would make zoomed-in AR pretty hopeless.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我还不会笑 2024-09-25 16:41:04

D'oh - 看起来我只需要更仔细地阅读文档。答案可以在这里找到:
getZoomRatios ()

D'oh - looks like I just needed to read the documentation more closely. The answer can be found here:
getZoomRatios ()

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文