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 <opencv2/xphoto/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: | 
|---|
|  | cv.xphoto.SimpleWB.getInputMax( |  | ) -> | retval | 
 
 
◆ getInputMin()
  
  | 
        
          | virtual float cv::xphoto::SimpleWB::getInputMin | ( |  | ) | const |  | pure virtual | 
| Python: | 
|---|
|  | cv.xphoto.SimpleWB.getInputMin( |  | ) -> | retval | 
 
 
◆ getOutputMax()
  
  | 
        
          | virtual float cv::xphoto::SimpleWB::getOutputMax | ( |  | ) | const |  | pure virtual | 
| Python: | 
|---|
|  | cv.xphoto.SimpleWB.getOutputMax( |  | ) -> | retval | 
 
 
◆ getOutputMin()
  
  | 
        
          | virtual float cv::xphoto::SimpleWB::getOutputMin | ( |  | ) | const |  | pure virtual | 
| Python: | 
|---|
|  | cv.xphoto.SimpleWB.getOutputMin( |  | ) -> | retval | 
 
 
◆ getP()
  
  | 
        
          | virtual float cv::xphoto::SimpleWB::getP | ( |  | ) | const |  | pure virtual | 
| Python: | 
|---|
|  | cv.xphoto.SimpleWB.getP( |  | ) -> | retval | 
 
Percent of top/bottom values to ignore. 
- See also
- setP 
 
 
◆ setInputMax()
  
  | 
        
          | virtual void cv::xphoto::SimpleWB::setInputMax | ( | float | val | ) |  |  | pure virtual | 
| Python: | 
|---|
|  | cv.xphoto.SimpleWB.setInputMax( | val | ) -> | None | 
 
 
◆ setInputMin()
  
  | 
        
          | virtual void cv::xphoto::SimpleWB::setInputMin | ( | float | val | ) |  |  | pure virtual | 
| Python: | 
|---|
|  | cv.xphoto.SimpleWB.setInputMin( | val | ) -> | None | 
 
 
◆ setOutputMax()
  
  | 
        
          | virtual void cv::xphoto::SimpleWB::setOutputMax | ( | float | val | ) |  |  | pure virtual | 
| Python: | 
|---|
|  | cv.xphoto.SimpleWB.setOutputMax( | val | ) -> | None | 
 
 
◆ setOutputMin()
  
  | 
        
          | virtual void cv::xphoto::SimpleWB::setOutputMin | ( | float | val | ) |  |  | pure virtual | 
| Python: | 
|---|
|  | cv.xphoto.SimpleWB.setOutputMin( | val | ) -> | None | 
 
 
◆ setP()
  
  | 
        
          | virtual void cv::xphoto::SimpleWB::setP | ( | float | val | ) |  |  | pure virtual | 
| Python: | 
|---|
|  | cv.xphoto.SimpleWB.setP( | val | ) -> | None | 
 
Percent of top/bottom values to ignore. 
- See also
- getP 
 
 
The documentation for this class was generated from the following file: