natario1 / CameraView

📸 A well documented, high-level Android interface that makes capturing pictures and videos easy, addressing all of the common issues and needs. Real-time filters, gestures, watermarks, frame processing, RAW, output of any size.
https://natario1.github.io/CameraView
Other
4.96k stars 940 forks source link

Spot metering #487

Open cvb941 opened 5 years ago

cvb941 commented 5 years ago

Is there any way of changing the metering strategy, with modes that can be found on usual cameras? Or just setting the exposure areas, as found in the camera api?

We use the manual exposure correction for now, but it's not satisfactory. Thank you for your answers.

natario1 commented 5 years ago

Can you list the Metering strategies that you would like and how each one translates into metering areas / weights?

cvb941 commented 5 years ago

If you'd like a predefined list of them, together with this wikipedia page I would say:

I guess the weights can be 1000 in the areas, as only the area should matter to the metering. We don't want to meter the rest of the picture, so either leave them as be, or set them to 0, if the former doesn't work.

Or maybe instead of the predefined list you could accept a parameter with a percentage of the center ranging from 1% to 100%.