OpenCV
3.2.0
Open Source Computer Vision
|
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"
Public Member Functions | |
virtual float | getInputMax () const =0 |
Input image range maximum value. More... | |
virtual float | getInputMin () const =0 |
Input image range minimum value. More... | |
virtual float | getOutputMax () const =0 |
Output image range maximum value. More... | |
virtual float | getOutputMin () const =0 |
Output image range minimum value. More... | |
virtual float | getP () const =0 |
Percent of top/bottom values to ignore. More... | |
virtual void | setInputMax (float val)=0 |
Input image range maximum value. More... | |
virtual void | setInputMin (float val)=0 |
Input image range minimum value. More... | |
virtual void | setOutputMax (float val)=0 |
Output image range maximum value. More... | |
virtual void | setOutputMin (float val)=0 |
Output image range minimum value. More... | |
virtual void | setP (float val)=0 |
Percent of top/bottom values to ignore. More... | |
Public Member Functions inherited from cv::xphoto::WhiteBalancer | |
virtual void | balanceWhite (InputArray src, OutputArray dst)=0 |
Applies white balancing to the input image. More... | |
Public Member Functions inherited from cv::Algorithm | |
Algorithm () | |
virtual | ~Algorithm () |
virtual void | clear () |
Clears the algorithm state. More... | |
virtual bool | empty () const |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More... | |
virtual String | getDefaultName () const |
virtual void | read (const FileNode &fn) |
Reads algorithm parameters from a file storage. More... | |
virtual void | save (const String &filename) const |
virtual void | write (FileStorage &fs) const |
Stores algorithm parameters in a file storage. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from cv::Algorithm | |
template<typename _Tp > | |
static Ptr< _Tp > | load (const String &filename, const String &objname=String()) |
Loads algorithm from the file. More... | |
template<typename _Tp > | |
static Ptr< _Tp > | loadFromString (const String &strModel, const String &objname=String()) |
Loads algorithm from a String. More... | |
template<typename _Tp > | |
static Ptr< _Tp > | read (const FileNode &fn) |
Reads algorithm from the file node. More... | |
Protected Member Functions inherited from cv::Algorithm | |
void | writeFormat (FileStorage &fs) const |
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.
|
pure virtual |
Input image range maximum value.
|
pure virtual |
Input image range minimum value.
|
pure virtual |
Output image range maximum value.
|
pure virtual |
Output image range minimum value.
|
pure virtual |
Percent of top/bottom values to ignore.
|
pure virtual |
Input image range maximum value.
|
pure virtual |
Input image range minimum value.
|
pure virtual |
Output image range maximum value.
|
pure virtual |
Output image range minimum value.
|
pure virtual |
Percent of top/bottom values to ignore.