언어 설정

Menu
Sites
Language
Camera: brightness vs exposure

Hi,

I run into a problem - the API on the device reports that the camera does not support exposure change (however built-in cam app supports it).

In the same time, there is a "Brightness" setting which is supported.

Could anyone tell me what is the difference between 'brightness' and 'exposure' in Tizen::Media::Camera?

 

Thanks,

 

 

Edited by: Brock Boland on 17 3월, 2014 Reason: Paragraph tags added automatically from tizen_format_fix module.

Responses

2 댓글
Rahul Varna
Exposure: 1) Act more on the highlight values, overall image looks decent w.r.t contrast. 2) Sets the overall image brightness, with a greater effect in the high values 3) Non-linear transformation. 4) No shift in histogram. Brightness: 1) Acts more on luminance and shifts all the other values, most of the time killing the contrast. 2) Adjusts image brightness, mainly affecting midtones. 3) Linear transformation. 4) Shifts the histogram to the right. Example explanation with histogram: http://www.scantips.com/bce.html You can check if exposure is supported by using MediaCapability class with right key value https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.apireference%2FclassTizen_1_1Media_1_1MediaCapability.html 1) Check if primary camera supports exposure or not. Check the "value" for true or false. result r = E_SUCCESS; r = MediaCapability::GetValue(CAMERA_PRIMARY_SUPPORT_EXPOSURE, Value); 2) Check if secondary camera supports exposure or not. Check the "value" for true or false. result r = E_SUCCESS; r = MediaCapability::GetValue(CAMERA_SECONDARY_SUPPORT_EXPOSURE, Value); 3) Check if primary camera supports brightness or not. Check the "value" for true or false. result r = E_SUCCESS; r = MediaCapability::GetValue(CAMERA_PRIMARY_SUPPORT_BRIGHTNESS, Value); 2) Check if secondary camera supports brightness or not. Check the "value" for true or false. result r = E_SUCCESS; r = MediaCapability::GetValue(CAMERA_SECONDARY_SUPPORT_BRIGHTNESS, Value); Use SetExposure(int exposure) and SetBrightness(int brightness) APIs of camera class to set the values https://developer.tizen.org/help/index.jsp?topic=%2Forg.tizen.native.apireference%2FclassTizen_1_1Media_1_1Camera.html
Jake Lee
Hi eugunepanich, Have you figured out how built-in app implemented exposure function? Thanks in advance,