OpenCV for Unity
2.6.3
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 | getInputMin () |
Input image range minimum value. More... | |
void | setInputMin (float val) |
float | getInputMax () |
Input image range maximum value. More... | |
void | setInputMax (float val) |
float | getOutputMin () |
Output image range minimum value. More... | |
void | setOutputMin (float val) |
float | getOutputMax () |
Output image range maximum value. More... | |
void | setOutputMax (float val) |
float | getP () |
Percent of top/bottom values to ignore. More... | |
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. More... | |
Public Member Functions inherited from OpenCVForUnity.CoreModule.Algorithm | |
IntPtr | getNativeObjAddr () |
virtual void | clear () |
Clears the algorithm state. More... | |
virtual bool | empty () |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More... | |
void | save (string filename) |
virtual string | getDefaultName () |
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.DisposableOpenCVObject | |
DisposableOpenCVObject () | |
DisposableOpenCVObject (IntPtr ptr) | |
DisposableOpenCVObject (bool isEnabledDispose) | |
DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
Protected Member Functions inherited from OpenCVForUnity.DisposableObject | |
DisposableObject () | |
DisposableObject (bool isEnabledDispose) | |
Additional Inherited Members | |
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.