简体   繁体   English

相机ISO设置/快门速度

[英]Camera ISO setting/ shutter speed

I am looking for a way to change the light sensitivity of my Evo 4G camerea. 我正在寻找一种方法来改变我的Evo 4G camerea的光敏感度。 I know it is not the camera's shutter speed because it is a digital camera. 我知道这不是相机的快门速度,因为它是数码相机。 The next most relevant aspect is the ISO setting, but the Android SDK does not have a way to manipulate it. 下一个最相关的方面是ISO设置,但Android SDK没有办法操纵它。 Does any one know an alternative? 有人知道另一种选择吗? ie scene mode, exposure or effects 即场景模式,曝光或效果

**parameter.set("iso", int) sets the iso. ** parameter.set(“iso”,int)设置iso。

Does anyone have the run down on what scene mode values represents? 有没有人对场景模式值代表什么?


Thanks for the input. 感谢您的投入。 I have looked over those pages numerous times. 我已多次查看这些页面。 I was looking for a function similar to parameter.set("iso", int) because this function was successful in changing the iso setting. 我正在寻找一个类似于parameter.set(“iso”,int)的函数,因为这个函数成功地改变了iso设置。 The camera does not have aperture as a setting. 相机没有光圈作为设置。 Maybe I can manipulate some firmware files. 也许我可以操纵一些固件文件。

Sorry it's late but might be helpful for others 对不起,它很晚,但可能对其他人有帮助

To set aperture: 设置光圈:

Camera.Parameters params = camera.getParameters(); 
params.set("mode", "m");
params.set("aperture", "28"); //can be 28 32 35 40 45 50 56 63 71 80 on default zoom
params.set("shutter-speed", 9); // depends on camera, eg. 1 means longest
params.set("iso", 200);

You can use mCamera.getParameters().flatten() to see all the settings your camera support. 您可以使用mCamera.getParameters().flatten()查看相机支持的所有设置。

In my situation, the key of the ISO parameter is "iso-speed-values". 在我的情况下,ISO参数的关键是“iso-speed-values”。

You can use String isoSpeedValues = mCamera.getParameters().get("iso-speed-values") to get all the support values. 您可以使用String isoSpeedValues = mCamera.getParameters().get("iso-speed-values")来获取所有支持值。

And use mCamera.getParameters().set("iso-speed", value) to set a specify value. 并使用mCamera.getParameters().set("iso-speed", value)来设置指定值。

But I can't find any parameter to set a Shutter Speed(Exposure Time). 但我找不到任何参数来设置快门速度(曝光时间)。 Any idea? 任何的想法?

Try Camera.Parameter's exposure compensation calls . 尝试Camera.Parameter的曝光补偿调用

EDIT (5/2015) Android 5.0 added APIs for this in android.hardware.camera2 . 编辑(5/2015)Android 5.0在android.hardware.camera2中为此添加了API。 See PkmX's lcamera for an example. 有关示例,请参阅PkmX的lcamera

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM