Updated: October 28, 2024 |
This structure is used to identify a subset of pixels in an image
#include <camera/camera_api.h>
typedef struct { uint32_t left; uint32_t top; uint32_t width; uint32_t height; uint32_t extra; } camera_region_t;
A value of 0 refers to the left-most column of the image.
A value of 0 refers to the top-most column of the image.
Typically, this extra information may be a weighting, ranking, or other application-specific value to apply when defining a set of regions.
Regions are used to report focus lock positions and to configure region-dependent focus, exposure, and white balance operations.