31 std::array<double, 2> range)
override;
35 int readPriors(
const ValueNode &tuningData);
37 void fineSearch(
double &t,
double &r,
double &b,
ipa::Pwl const &prior,
40 Span<double> range)
const;
53 double transversePos_;
54 double transverseNeg_;
A class representing a tree structure of values.
Definition value_node.h:27
Implementation of a bayesian auto white balance algorithm.
Definition awb_bayes.h:24
std::optional< RGB< double > > gainsFromColourTemperature(double temperatureK) override
Compute white balance gains from a colour temperature.
Definition awb_bayes.cpp:260
AwbImplementation::Result calculateAwb(const AwbStats &stats, unsigned int lux, std::array< double, 2 > range) override
Calculate AWB data from the given statistics.
Definition awb_bayes.cpp:272
int init(const ValueNode &tuningData) override
Initialize the algorithm by parsing tuningData.
Definition awb_bayes.cpp:143
Pure virtual base class for AWB algorithms implementations.
Definition awb.h:54
Class for storing, retrieving, and interpolating objects.
Definition interpolator.h:28
Describe a univariate piecewise linear function in two-dimensional real space.
Definition pwl.h:22
Framework to manage controls related to an object.
Helper class for linear interpolating a set of objects.
libipa AWB implementation
Top-level libcamera namespace.
Definition backtrace.h:17
Piecewise linear functions.
The result of an AWB computation.
Definition awb.h:56
An abstraction class wrapping hardware-specific AWB statistics.
Definition awb.h:44
Data structure to manage tree of values.