camera_set_contrast()
Set the contrast value on the camera
Synopsis:
#include <camera/camera_api.h>camera_error_t camera_set_contrast(camera_handle_t handle,
int32_t contrast)Arguments:
- handle
- The handle returned by a call to the camera_open() function.
- contrast
- The contrast value to set. Higher values increase the contrast in the image while lower values decrease the contrast.
Library:
libcamapiDescription:
Use this function to increase or decrease the contrast on the camera. Contrast controls the relative difference between pixel values in an image. You can call camera_get_supported_contrast() to determine the available contrast values that can be used.
Returns:
CAMERA_EOK when the function successfully completes, otherwise another camera_error_t value that provides the reason that the call failed.
Page updated:
