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.
#include <opencv2/xphoto/white_balance.hpp>Collaboration diagram for cv::xphoto::SimpleWB:
Public Member Functions#
Public Member Functions inherited from cv::xphoto::WhiteBalancer
Return |
Name |
Description |
|---|---|---|
|
Applies white balancing to the input image. |
Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Clears the algorithm state. |
|
|
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. |
|
|
Reads algorithm parameters from a file storage. |
|
|
||
|
|
|
|
Stores algorithm parameters in a file storage. |
|
|
Static Public Member Functions#
Static Public Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
|
Loads algorithm from the file. |
|
|
Loads algorithm from a String. |
|
Reads algorithm from the file node. |
Additional Inherited Members#
Protected Member Functions inherited from cv::Algorithm
Return |
Name |
Description |
|---|---|---|
|
Detailed Description#
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.
Member Function Documentation#
getInputMax()#
float cv::xphoto::SimpleWB::getInputMax()
Python:
cv.xphoto.SimpleWB.getInputMax() -> retval
Input image range maximum value.
See also
getInputMin()#
float cv::xphoto::SimpleWB::getInputMin()
Python:
cv.xphoto.SimpleWB.getInputMin() -> retval
Input image range minimum value.
See also
getOutputMax()#
float cv::xphoto::SimpleWB::getOutputMax()
Python:
cv.xphoto.SimpleWB.getOutputMax() -> retval
Output image range maximum value.
See also
getOutputMin()#
float cv::xphoto::SimpleWB::getOutputMin()
Python:
cv.xphoto.SimpleWB.getOutputMin() -> retval
Output image range minimum value.
See also
getP()#
float cv::xphoto::SimpleWB::getP()
Python:
cv.xphoto.SimpleWB.getP() -> retval
Percent of top/bottom values to ignore.
See also
setInputMax()#
void cv::xphoto::SimpleWB::setInputMax(float val)
Python:
cv.xphoto.SimpleWB.setInputMax(val)
Input image range maximum value.
See also
setInputMin()#
void cv::xphoto::SimpleWB::setInputMin(float val)
Python:
cv.xphoto.SimpleWB.setInputMin(val)
Input image range minimum value.
See also
setOutputMax()#
void cv::xphoto::SimpleWB::setOutputMax(float val)
Python:
cv.xphoto.SimpleWB.setOutputMax(val)
Output image range maximum value.
See also
setOutputMin()#
void cv::xphoto::SimpleWB::setOutputMin(float val)
Python:
cv.xphoto.SimpleWB.setOutputMin(val)
Output image range minimum value.
See also
setP()#
void cv::xphoto::SimpleWB::setP(float val)
Python:
cv.xphoto.SimpleWB.setP(val)
Percent of top/bottom values to ignore.
See also
Source file#
The documentation for this class was generated from the following file:
opencv2/xphoto/white_balance.hpp