opencv2/xphoto/white_balance.hpp#
#include <opencv2/core.hpp>
Include dependency graph for white_balance.hpp:
This graph shows which files directly or indirectly include white_balance.hpp:
Classes#
class cv::xphoto::GrayworldWB
Gray-world white balance algorithm. More…
class cv::xphoto::LearningBasedWB
More sophisticated learning-based automatic white balance algorithm. More…
class cv::xphoto::SimpleWB
A simple white balance algorithm that works by independently stretching each of the input image channels to the specified range. For increased robustness it ignores the top and bottom \(p\%\) of pixel values. More…
class cv::xphoto::WhiteBalancer
The base class for auto white balance algorithms. More…
Namespaces#
namespace cv
namespace cv::xphoto
Functions#
void cv::xphoto::applyChannelGains (InputArray src, OutputArray dst, float gainB, float gainG, float gainR)
Implements an efficient fixed-point approximation for applying channel gains, which is the last step of multiple white balance algorithms.
Ptr< GrayworldWB > cv::xphoto::createGrayworldWB ()
Creates an instance of GrayworldWB.
Ptr< LearningBasedWB > cv::xphoto::createLearningBasedWB (const String &path_to_model=String())
Creates an instance of LearningBasedWB.
Ptr< SimpleWB > cv::xphoto::createSimpleWB ()
Creates an instance of SimpleWB.