OpenCV for Unity 2.6.5
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
|
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...
Public Member Functions | |
float | getInputMax () |
Input image range maximum value. | |
float | getInputMin () |
Input image range minimum value. | |
float | getOutputMax () |
Output image range maximum value. | |
float | getOutputMin () |
Output image range minimum value. | |
float | getP () |
Percent of top/bottom values to ignore. | |
void | setInputMax (float val) |
void | setInputMin (float val) |
void | setOutputMax (float val) |
void | setOutputMin (float val) |
void | setP (float val) |
Public Member Functions inherited from OpenCVForUnity.XphotoModule.WhiteBalancer | |
void | balanceWhite (Mat src, Mat dst) |
Applies white balancing to the input image. | |
Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
virtual void | clear () |
Clears the algorithm state. | |
virtual bool | empty () |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. | |
virtual string | getDefaultName () |
IntPtr | getNativeObjAddr () |
void | save (string filename) |
Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
void | Dispose () |
void | ThrowIfDisposed () |
Static Public Member Functions | |
static new SimpleWB | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.XphotoModule.WhiteBalancer | |
static new WhiteBalancer | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
static Algorithm | __fromPtr__ (IntPtr addr) |
Static Public Member Functions inherited from OpenCVForUnity.DisposableObject | |
static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.XphotoModule.WhiteBalancer | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject | |
DisposableOpenCVObject () | |
DisposableOpenCVObject (bool isEnabledDispose) | |
DisposableOpenCVObject (IntPtr ptr) | |
DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
DisposableObject () | |
DisposableObject (bool isEnabledDispose) | |
Additional Inherited Members | |
Package Functions inherited from OpenCVForUnity.XphotoModule.WhiteBalancer | |
Package Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject | |
Properties inherited from OpenCVForUnity.DisposableObject | |
bool | IsDisposed [get, protected set] |
bool | IsEnabledDispose [get, set] |
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.
|
static |
|
protectedvirtual |
Reimplemented from OpenCVForUnity.CoreModule.Algorithm.
float OpenCVForUnity.XphotoModule.SimpleWB.getInputMax | ( | ) |
Input image range maximum value.
float OpenCVForUnity.XphotoModule.SimpleWB.getInputMin | ( | ) |
Input image range minimum value.
float OpenCVForUnity.XphotoModule.SimpleWB.getOutputMax | ( | ) |
Output image range maximum value.
float OpenCVForUnity.XphotoModule.SimpleWB.getOutputMin | ( | ) |
Output image range minimum value.
float OpenCVForUnity.XphotoModule.SimpleWB.getP | ( | ) |
Percent of top/bottom values to ignore.
void OpenCVForUnity.XphotoModule.SimpleWB.setInputMax | ( | float | val | ) |
Input image range maximum value.
void OpenCVForUnity.XphotoModule.SimpleWB.setInputMin | ( | float | val | ) |
Input image range minimum value.
void OpenCVForUnity.XphotoModule.SimpleWB.setOutputMax | ( | float | val | ) |
Output image range maximum value.
void OpenCVForUnity.XphotoModule.SimpleWB.setOutputMin | ( | float | val | ) |
Output image range minimum value.
void OpenCVForUnity.XphotoModule.SimpleWB.setP | ( | float | val | ) |
Percent of top/bottom values to ignore.