简体   繁体   中英

How to measure light intensity in a particular place using iphone

Thanks in advance. I want to find out light intensity at some place using iphone. I searched in google and find some apps also But didn't get how to measure. Links to that apps are

Do any one have an idea to find out please help me.

if you want to make one yourself:

i won't be able to help you with code specifics but i do know that the image values are going to be meaningless unless you know the exposure and gain of the camera. at the very least what you need to do is have a way to reliably generate light levels and then calibrate your camera for all exposure times and gain using that reference source. also you need to deal with variations across the image. you could average all pixels or crop out relevant parts. you also might want to take account of non-linearities of the cmos sensor and dependency on wavelength. ie the colour value of a pixel is not linearly proportional to the light that is hitting it and all this changes with the wavelength ( colour ) of the light, the latter which you can't really measure. although that is an approximation that might work. depending on how accurate you need to be.

可能是StackOverflow的答案: 从iPhone OS-4-0上的相机获取曝光值可能会有所帮助。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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