43#ifndef __OPENCV_SIMPLE_COLOR_BALANCE_HPP__
44#define __OPENCV_SIMPLE_COLOR_BALANCE_HPP__
51#include <opencv2/core.hpp>
72 CV_WRAP
virtual void balanceWhite(InputArray src,
OutputArray dst) = 0;
84 CV_WRAP
virtual float getInputMin()
const = 0;
86 CV_WRAP
virtual void setInputMin(
float val) = 0;
90 CV_WRAP
virtual float getInputMax()
const = 0;
92 CV_WRAP
virtual void setInputMax(
float val) = 0;
96 CV_WRAP
virtual float getOutputMin()
const = 0;
98 CV_WRAP
virtual void setOutputMin(
float val) = 0;
102 CV_WRAP
virtual float getOutputMax()
const = 0;
104 CV_WRAP
virtual void setOutputMax(
float val) = 0;
108 CV_WRAP
virtual float getP()
const = 0;
110 CV_WRAP
virtual void setP(
float val) = 0;
145 CV_WRAP
virtual float getSaturationThreshold()
const = 0;
147 CV_WRAP
virtual void setSaturationThreshold(
float val) = 0;
185 CV_WRAP
virtual void extractSimpleFeatures(InputArray src,
OutputArray dst) = 0;
190 CV_WRAP
virtual int getRangeMaxVal()
const = 0;
192 CV_WRAP
virtual void setRangeMaxVal(
int val) = 0;
197 CV_WRAP
virtual float getSaturationThreshold()
const = 0;
199 CV_WRAP
virtual void setSaturationThreshold(
float val) = 0;
205 CV_WRAP
virtual int getHistBinNum()
const = 0;
207 CV_WRAP
virtual void setHistBinNum(
int val) = 0;
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:295
This is a base class for all more or less complex algorithms in OpenCV
Definition: core.hpp:3091
Gray-world white balance algorithm
Definition: white_balance.hpp:140
More sophisticated learning-based automatic white balance algorithm.
Definition: white_balance.hpp:169
A simple white balance algorithm that works by independently stretching each of the input image chann...
Definition: white_balance.hpp:80
The base class for auto white balance algorithms.
Definition: white_balance.hpp:64
CV_EXPORTS_W void 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 ...
CV_EXPORTS_W Ptr< GrayworldWB > createGrayworldWB()
Creates an instance of GrayworldWB
CV_EXPORTS_W Ptr< SimpleWB > createSimpleWB()
Creates an instance of SimpleWB
CV_EXPORTS_W Ptr< LearningBasedWB > createLearningBasedWB(const String &path_to_model=String())
Creates an instance of LearningBasedWB
"black box" representation of the file storage associated with a file on disk.
Definition: aruco.hpp:75
Definition: cvstd_wrapper.hpp:74