OpenCV for Unity  2.6.0
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.9.0/index.html ) for the details of the argument of the method.
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
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...

Inheritance diagram for OpenCVForUnity.XphotoModule.SimpleWB:
OpenCVForUnity.XphotoModule.WhiteBalancer OpenCVForUnity.CoreModule.Algorithm OpenCVForUnity.DisposableOpenCVObject OpenCVForUnity.DisposableObject

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]
 

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: