libcamera v0.0.5
Supporting cameras in Linux since 2019
|
RGB statistics for a given zone. More...
Public Attributes | |
unsigned int | counted |
Number of unsaturated cells used to calculate the sums. | |
struct { | |
uint64_t red | |
uint64_t green | |
uint64_t blue | |
} | sum |
A structure containing the average red, green and blue sums. | |
RGB statistics for a given zone.
Accumulate red, green and blue values for each non-saturated item over a zone. Items can for instance be pixels, but also the average of groups of pixels, depending on who uses the accumulator.
Zones which are saturated beyond the threshold defined in ipu3_uapi_awb_config_s are not included in the average.
libcamera::ipa::ipu3::algorithms::Accumulator::counted |
Number of unsaturated cells used to calculate the sums.
sum libcamera::ipa::ipu3::algorithms::Accumulator::green |
Sum of the average green values of each unsaturated cell in the zone.
sum libcamera::ipa::ipu3::algorithms::Accumulator::red |
Sum of the average red values of each unsaturated cell in the zone.
libcamera::ipa::ipu3::algorithms::Accumulator::sum |
A structure containing the average red, green and blue sums.