安卓:RAW图像回调支持的设备回调、图像、设备、RAW

2023-09-05 00:08:15 作者:出众.

我工作的一些图像处理和我需要对原始图像数据。但不幸的是这根据文档是可选的,取决于供应商。

I am working on some image processing and I am in need for the raw image data. But unfortunately this according to the documentation is optional and depends on the vendor.

我已经能够得到原始图像上的LG擎天柱玛哈(MAC / LU3000)Android开发人员,还有没有其他的设备赫然出现在市场上,它支持?

I have been able to get the raw image on a LG Optimus Maha(mac / lu3000) android dev, are there any other devices out there in the market where it is supported?

设备不支持它(来源 - 我的实验+谷歌事件10910:不能捕获原始图像) -

Devices that do not support it (source - my experiments + google Issue 10910: Not able to Capture Raw Images)-

摩托罗拉DroidX采用Android 2.2.1 三星Galaxy HTC Desire采用了Android 2.2 的Nexus S 的Nexus One

如果有人有不同的设备,并可以尝试将是巨大的。

Would be great if someone has a different device and can try it..

为什么不支持回拨更多信息here

More info on why the call back is not supported here

推荐答案

您列出的设备是主要的。如果原始图像的支持是不可用这些话它会影响一个相当大的市场份额。我没有任何precise号码,但根据我自己的市场统计数据,我已经收到了一年的邮件,我认为这是的最起码的30%。

The devices that you list are major ones. If raw image support isn't available on these then it affects a rather large market share. I don't have any precise numbers but according to my own market stats and the mails I've received over a year, I think that it's at the very least 30%.

此外,它不仅是一个重要的市场份额,但它也有一些目前最强大的设备。 precisely那些高级用户都在自己手中。如果我告诉你我的感觉,它的应用程序,购房者(不一定是50%的设备)的50%,但它只是一种直觉。

Also, not only is it an important market share, but it is also some of the most powerful devices currently. Precisely the ones that power users have in their hands. If I tell you my feeling, it's 50% of app buyers (not necessarily 50% of devices), but it's just an intuition.

所以,我的看法是,你需要能够处理JPEG数据很好,通过在飞行前的图像解码处理。付好注意和优化这个JPEG回退。如果你担心质量,给一个尝试 Camera.Parameters.setJpegQuality()

So my opinion is that you need to be able to handle JPEG data nicely, by decoding on the fly prior to image processing. Pay good attention and optimize this JPEG fallback. If you are worried about quality, give a try to Camera.Parameters.setJpegQuality()

另外,我不知道为什么你正在寻找一个设备列表。也许这是为您的个人/企业的统计,但如果它的兼容性,那么它肯定是更好地发现,如果生支持动态支持,在第一次访问摄像头时,并缓存此只要有些android.os.Build常量不更改。

Also, I'm not sure why you are looking for a device list. Maybe it's for your personal/business stats, but if it's about compatibility, then it's certainly better to discover if raw support is supported dynamically, when the camera is first accessed and cache this as long as some android.os.Build constants don't change.

这是说,忘记了原始图像,并且只在JPEG依靠可以简化您的管道和易用性测试。这是值得考虑了。我想我会走这条路,因为如果生的支持是罕见的,那么它不使用的许多应用程序,测试不佳,所以原始可以是任何东西。 JPEG是非常使用,因此它是很好的测试,这是很重要的。

That said, forgetting about raw image and relying only on JPEG could simplify your pipeline and ease testing. That's worth considering too. I think I would go that route, because if raw support is rare, then it's not used by many apps, poorly tested, and so "raw" could be anything. JPEG is very much used so it's properly tested, that's important.