I'am actually doing a project on Android in wich I'am affronted to calculate or estimate the luminance from the back Camera in real time ( which means, taking the frames from the back camera and have a value of the luminance every time a frame change)! Unfortunately, I cannot acces to the paramater of the camera in real time so I cannot really know who the camera is acting with its paramater when facing the light ( the ISO , the shutter time or the aperture !)
Basically, the camera change its paramater depending on the intensity of light that enters to it, so when calculating the mean of the Grayscale image, for exemple , we have fake values in some cases!! ( for exemple when facing a point light source, everything becames dark aroud because of the auto correction of the camera)
So, I asked myself if there is method that use the values of the pixels of the frames to detect the value of luminance of the frame captured by the camera : A filter,a calculation method,an algorithm , or something like that, that can maps pixel values to lumination values without knowing the parameters of the camera !!
I mean , detecting the light (have a quantitative value ) even if the camera is doing the auto-correction by changing its paramaters (that are unreachable with the current Android API ) from the values of the pixels (because, on my opinion is the only information that we can manipulate to have an information about the luminance!).
This will really help me to realize my project! If something is unclear, let me know ;)
Thank you :)