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
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) |
![]() | |
void | balanceWhite (Mat src, Mat dst) |
Applies white balancing to the input image. | |
![]() | |
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) |
![]() | |
void | Dispose () |
void | ThrowIfDisposed () |
Static Public Member Functions | |
static new SimpleWB | __fromPtr__ (IntPtr addr) |
![]() | |
static new WhiteBalancer | __fromPtr__ (IntPtr addr) |
![]() | |
static Algorithm | __fromPtr__ (IntPtr addr) |
![]() | |
static IntPtr | ThrowIfNullIntPtr (IntPtr ptr) |
Protected Member Functions | |
override void | Dispose (bool disposing) |
![]() | |
override void | Dispose (bool disposing) |
![]() | |
![]() | |
DisposableOpenCVObject () | |
DisposableOpenCVObject (bool isEnabledDispose) | |
DisposableOpenCVObject (IntPtr ptr) | |
DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose) | |
![]() | |
DisposableObject () | |
DisposableObject (bool isEnabledDispose) | |
Additional Inherited Members | |
![]() | |
![]() | |
![]() | |
![]() | |
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
|
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.