libcamera v0.0.5
Supporting cameras in Linux since 2019
Loading...
Searching...
No Matches
Public Attributes | List of all members
libcamera::ipa::ipu3::algorithms::Accumulator Struct Reference

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.
 

Detailed Description

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.

Todo:
move this description and structure into a common header

Zones which are saturated beyond the threshold defined in ipu3_uapi_awb_config_s are not included in the average.

Member Data Documentation

◆ counted

libcamera::ipa::ipu3::algorithms::Accumulator::counted

Number of unsaturated cells used to calculate the sums.

◆ green

sum libcamera::ipa::ipu3::algorithms::Accumulator::green

Sum of the average green values of each unsaturated cell in the zone.

◆ red

sum libcamera::ipa::ipu3::algorithms::Accumulator::red

Sum of the average red values of each unsaturated cell in the zone.

◆ sum

libcamera::ipa::ipu3::algorithms::Accumulator::sum

A structure containing the average red, green and blue sums.


The documentation for this struct was generated from the following files: