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...
#include "white_balance.hpp"
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. 
 
§ getInputMax()
| virtual float cv::xphoto::SimpleWB::getInputMax  | 
( | 
 | ) | 
 const | 
 
 
 | 
pure virtual  | 
| Python: | 
|---|
 | retval | = | cv.xphoto_SimpleWB.getInputMax( |  | ) | 
 
 
§ getInputMin()
| virtual float cv::xphoto::SimpleWB::getInputMin  | 
( | 
 | ) | 
 const | 
 
 
 | 
pure virtual  | 
| Python: | 
|---|
 | retval | = | cv.xphoto_SimpleWB.getInputMin( |  | ) | 
 
 
§ getOutputMax()
| virtual float cv::xphoto::SimpleWB::getOutputMax  | 
( | 
 | ) | 
 const | 
 
 
 | 
pure virtual  | 
| Python: | 
|---|
 | retval | = | cv.xphoto_SimpleWB.getOutputMax( |  | ) | 
 
 
§ getOutputMin()
| virtual float cv::xphoto::SimpleWB::getOutputMin  | 
( | 
 | ) | 
 const | 
 
 
 | 
pure virtual  | 
| Python: | 
|---|
 | retval | = | cv.xphoto_SimpleWB.getOutputMin( |  | ) | 
 
 
§ getP()
| virtual float cv::xphoto::SimpleWB::getP  | 
( | 
 | ) | 
 const | 
 
 
 | 
pure virtual  | 
| Python: | 
|---|
 | retval | = | cv.xphoto_SimpleWB.getP( |  | ) | 
 
Percent of top/bottom values to ignore. 
- See also
 - setP 
 
 
 
§ setInputMax()
| virtual void cv::xphoto::SimpleWB::setInputMax  | 
( | 
float  | 
val | ) | 
 | 
 
 
 | 
pure virtual  | 
| Python: | 
|---|
 | None | = | cv.xphoto_SimpleWB.setInputMax( | val | ) | 
 
 
§ setInputMin()
| virtual void cv::xphoto::SimpleWB::setInputMin  | 
( | 
float  | 
val | ) | 
 | 
 
 
 | 
pure virtual  | 
| Python: | 
|---|
 | None | = | cv.xphoto_SimpleWB.setInputMin( | val | ) | 
 
 
§ setOutputMax()
| virtual void cv::xphoto::SimpleWB::setOutputMax  | 
( | 
float  | 
val | ) | 
 | 
 
 
 | 
pure virtual  | 
| Python: | 
|---|
 | None | = | cv.xphoto_SimpleWB.setOutputMax( | val | ) | 
 
 
§ setOutputMin()
| virtual void cv::xphoto::SimpleWB::setOutputMin  | 
( | 
float  | 
val | ) | 
 | 
 
 
 | 
pure virtual  | 
| Python: | 
|---|
 | None | = | cv.xphoto_SimpleWB.setOutputMin( | val | ) | 
 
 
§ setP()
| virtual void cv::xphoto::SimpleWB::setP  | 
( | 
float  | 
val | ) | 
 | 
 
 
 | 
pure virtual  | 
| Python: | 
|---|
 | None | = | cv.xphoto_SimpleWB.setP( | val | ) | 
 
Percent of top/bottom values to ignore. 
- See also
 - getP 
 
 
 
The documentation for this class was generated from the following file:
- /build/master-contrib_docs-lin64/opencv_contrib/modules/xphoto/include/opencv2/xphoto/white_balance.hpp