HTC Desire 上的本机相机参数

发布于 2024-10-21 07:37:28 字数 707 浏览 2 评论 0原文

我正在 HTC Desire 上开发相机应用程序,并且想了解一些本机 Camera.Parameter 设置。希望这里有人有更多的见解。

当对获得的 Camera.Parameters 对象调用 unflatten() 时,我得到一个包含键值对的长列表。其中一些如下:

sharpness-def=10;
sharpness-max=30;
sharpness-min=0;
sharpness=10;

contrast-min=0;
contrast-max=10;
contrast-def=5;
contrast=5;

brightness-min=0;
brightness-max=6;
brightness-def=3;
brightness=3;

saturation-min=1;
saturation-max=10;
saturation=5;
saturation-def=5;

enable-caf=off;

vertical-view-angle=42.5;
horizontal-view-angle=54.8;

锐度、对比度、亮度和饱和度有最小/最大边界。但我不确定亮度和亮度定义之间的区别。实际上可以通过 API 调用 set(String key, String value) 来设置两者。哪一个具有实际价值,另一个有什么用?

“enable-caf”可能有什么用?

对于垂直视角和水平视角,我总是得到相同的值 - 也许是镜头校正的静态值?

I am developing a camera application on a HTC Desire and wonder about some of the native Camera.Parameter settings. Hopefully someone over here has more insights.

When calling unflatten() on the obtained Camera.Parameters object, I get a long list with key-value pairs. Some of them are the following:

sharpness-def=10;
sharpness-max=30;
sharpness-min=0;
sharpness=10;

contrast-min=0;
contrast-max=10;
contrast-def=5;
contrast=5;

brightness-min=0;
brightness-max=6;
brightness-def=3;
brightness=3;

saturation-min=1;
saturation-max=10;
saturation=5;
saturation-def=5;

enable-caf=off;

vertical-view-angle=42.5;
horizontal-view-angle=54.8;

There are min/max boundaries for sharpness, contrast, brightness and saturation. But I am not sure about the difference between e.g. brightness and brightness-def. It is actually possible to set both with the API call set(String key, String value). Which one holds the actual value and what is the other one for?

What might be "enable-caf" for?

And for vertical-view-angle and horizontal-view-angle I always get the same values - maybe static values for lens correction?

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

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

发布评论

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

评论(2

孤檠 2024-10-28 07:37:28

enable-caf...

这是连续自动对焦。即相机是否应该继续尝试重新对焦。

我正在尝试做一些与此相关的事情,如果我取得任何进展,我会回复...

顺便说一句,显然并非所有手机都支持 CAF。

enable-caf...

This is continuous auto focus. Ie should the camera keep trying to refocus.

Am trying to do something relating to this, will post back if I make any progress...

BTW not all phones support CAF apparently.

落日海湾 2024-10-28 07:37:28

我很确定 def 参数代表默认
在使用相机参数时,您需要有一个稳定的参考来返回。

至于相机咖啡馆的价值......哇。不知道。您尝试过打开它吗?

BR
伊塔

I'm pretty sure that the def parameters stands for default.
You need to have a steady reference to go back to when it comes to playing with camera parameters.

As for the camera-caf value... wow. No idea. Have you tried turning it on?

BR
Ita

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