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.
Loading...
Searching...
No Matches
OpenCVForUnity.XphotoModule.SimpleWB Class Reference

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]
 

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

◆ __fromPtr__()

static new SimpleWB OpenCVForUnity.XphotoModule.SimpleWB.__fromPtr__ ( IntPtr addr)
static

◆ Dispose()

override void OpenCVForUnity.XphotoModule.SimpleWB.Dispose ( bool disposing)
protectedvirtual

◆ getInputMax()

float OpenCVForUnity.XphotoModule.SimpleWB.getInputMax ( )

Input image range maximum value.

See also
setInputMax

◆ getInputMin()

float OpenCVForUnity.XphotoModule.SimpleWB.getInputMin ( )

Input image range minimum value.

See also
setInputMin

◆ getOutputMax()

float OpenCVForUnity.XphotoModule.SimpleWB.getOutputMax ( )

Output image range maximum value.

See also
setOutputMax

◆ getOutputMin()

float OpenCVForUnity.XphotoModule.SimpleWB.getOutputMin ( )

Output image range minimum value.

See also
setOutputMin

◆ getP()

float OpenCVForUnity.XphotoModule.SimpleWB.getP ( )

Percent of top/bottom values to ignore.

See also
setP

◆ setInputMax()

void OpenCVForUnity.XphotoModule.SimpleWB.setInputMax ( float val)

Input image range maximum value.

See also
getInputMax

◆ setInputMin()

void OpenCVForUnity.XphotoModule.SimpleWB.setInputMin ( float val)

Input image range minimum value.

See also
getInputMin

◆ setOutputMax()

void OpenCVForUnity.XphotoModule.SimpleWB.setOutputMax ( float val)

Output image range maximum value.

See also
getOutputMax

◆ setOutputMin()

void OpenCVForUnity.XphotoModule.SimpleWB.setOutputMin ( float val)

Output image range minimum value.

See also
getOutputMin

◆ setP()

void OpenCVForUnity.XphotoModule.SimpleWB.setP ( float val)

Percent of top/bottom values to ignore.

See also
getP

The documentation for this class was generated from the following file: