OpenCV for Unity 3.0.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/5.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.MlModule.ParamGrid Class Reference

The structure represents the logarithmic grid range of statmodel parameters. More...

Public Member Functions

double get_logStep ()
 
double get_maxVal ()
 
double get_minVal ()
 
IntPtr getNativeObjAddr ()
 
void set_logStep (double logStep)
 
void set_maxVal (double maxVal)
 
void set_minVal (double minVal)
 
- Public Member Functions inherited from OpenCVForUnity.DisposableObject
void Dispose ()
 Releases resources used by this object.
 
void ThrowIfDisposed ()
 Throws ObjectDisposedException if this object has been disposed.
 

Static Public Member Functions

static ParamGrid __fromPtr__ (IntPtr addr)
 
static ParamGrid create ()
 Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.
 
static ParamGrid create (double minVal)
 Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.
 
static ParamGrid create (double minVal, double maxVal)
 Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.
 
static ParamGrid create (double minVal, double maxVal, double logstep)
 Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.
 
- Static Public Member Functions inherited from OpenCVForUnity.DisposableObject
static IntPtr ThrowIfNullIntPtr (IntPtr ptr)
 Returns the native pointer, or throws CoreModule.CvException if it is zero.
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 Initializes a new instance with a zero native pointer and dispose enabled.
 
 DisposableOpenCVObject (bool isEnabledDispose)
 Initializes a new instance with a zero native pointer.
 
 DisposableOpenCVObject (IntPtr ptr)
 Initializes a new instance with the specified native pointer and dispose enabled.
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 Initializes a new instance with the specified native pointer.
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 Initializes a new instance with dispose enabled.
 
 DisposableObject (bool isEnabledDispose)
 Initializes a new instance.
 

Additional Inherited Members

- Package Attributes inherited from OpenCVForUnity.DisposableOpenCVObject
- Properties inherited from OpenCVForUnity.DisposableObject
bool IsDisposed [get, protected set]
 
bool IsEnabledDispose [get, set]
 

Detailed Description

The structure represents the logarithmic grid range of statmodel parameters.

It is used for optimizing statmodel accuracy by varying model parameters, the accuracy estimate being computed by cross-validation.

Member Function Documentation

◆ __fromPtr__()

static ParamGrid OpenCVForUnity.MlModule.ParamGrid.__fromPtr__ ( IntPtr addr)
static

◆ create() [1/4]

static ParamGrid OpenCVForUnity.MlModule.ParamGrid.create ( )
static

Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.

Parameters
minValminimum value of the parameter grid
maxValmaximum value of the parameter grid
logstepLogarithmic step for iterating the statmodel parameter

◆ create() [2/4]

static ParamGrid OpenCVForUnity.MlModule.ParamGrid.create ( double minVal)
static

Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.

Parameters
minValminimum value of the parameter grid
maxValmaximum value of the parameter grid
logstepLogarithmic step for iterating the statmodel parameter

◆ create() [3/4]

static ParamGrid OpenCVForUnity.MlModule.ParamGrid.create ( double minVal,
double maxVal )
static

Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.

Parameters
minValminimum value of the parameter grid
maxValmaximum value of the parameter grid
logstepLogarithmic step for iterating the statmodel parameter

◆ create() [4/4]

static ParamGrid OpenCVForUnity.MlModule.ParamGrid.create ( double minVal,
double maxVal,
double logstep )
static

Creates a ParamGrid Ptr that can be given to the SVM::trainAuto method.

Parameters
minValminimum value of the parameter grid
maxValmaximum value of the parameter grid
logstepLogarithmic step for iterating the statmodel parameter

◆ Dispose()

override void OpenCVForUnity.MlModule.ParamGrid.Dispose ( bool disposing)
protectedvirtual

◆ get_logStep()

double OpenCVForUnity.MlModule.ParamGrid.get_logStep ( )

◆ get_maxVal()

double OpenCVForUnity.MlModule.ParamGrid.get_maxVal ( )

◆ get_minVal()

double OpenCVForUnity.MlModule.ParamGrid.get_minVal ( )

◆ getNativeObjAddr()

IntPtr OpenCVForUnity.MlModule.ParamGrid.getNativeObjAddr ( )

◆ set_logStep()

void OpenCVForUnity.MlModule.ParamGrid.set_logStep ( double logStep)

◆ set_maxVal()

void OpenCVForUnity.MlModule.ParamGrid.set_maxVal ( double maxVal)

◆ set_minVal()

void OpenCVForUnity.MlModule.ParamGrid.set_minVal ( double minVal)

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