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.FaceModule.BIF Class Reference
Inheritance diagram for OpenCVForUnity.FaceModule.BIF:
OpenCVForUnity.CoreModule.Algorithm OpenCVForUnity.DisposableOpenCVObject OpenCVForUnity.DisposableObject

Public Member Functions

int getNumBands ()
 
int getNumRotations ()
 
void compute (Mat image, Mat features)
 
- 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 BIF __fromPtr__ (IntPtr addr)
 
static BIF create (int num_bands, int num_rotations)
 
static BIF create (int num_bands)
 
static BIF create ()
 
- 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.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

Implementation of bio-inspired features (BIF) from the paper: Guo, Guodong, et al. "Human age estimation using bio-inspired features." Computer Vision and Pattern Recognition, 2009. CVPR 2009.

Member Function Documentation

◆ __fromPtr__()

static new BIF OpenCVForUnity.FaceModule.BIF.__fromPtr__ ( IntPtr  addr)
static

◆ compute()

void OpenCVForUnity.FaceModule.BIF.compute ( Mat  image,
Mat  features 
)

Computes features sby input image.

Parameters
imageInput image (CV_32FC1).
featuresFeature vector (CV_32FC1).

◆ create() [1/3]

static BIF OpenCVForUnity.FaceModule.BIF.create ( int  num_bands,
int  num_rotations 
)
static
Parameters
num_bandsThe number of filter bands (<=8) used for computing BIF.
num_rotationsThe number of image rotations for computing BIF.
Returns
Object for computing BIF.

◆ create() [2/3]

static BIF OpenCVForUnity.FaceModule.BIF.create ( int  num_bands)
static
Parameters
num_bandsThe number of filter bands (<=8) used for computing BIF.
num_rotationsThe number of image rotations for computing BIF.
Returns
Object for computing BIF.

◆ create() [3/3]

static BIF OpenCVForUnity.FaceModule.BIF.create ( )
static
Parameters
num_bandsThe number of filter bands (<=8) used for computing BIF.
num_rotationsThe number of image rotations for computing BIF.
Returns
Object for computing BIF.

◆ Dispose()

override void OpenCVForUnity.FaceModule.BIF.Dispose ( bool  disposing)
protectedvirtual

◆ getNumBands()

int OpenCVForUnity.FaceModule.BIF.getNumBands ( )
Returns
The number of filter bands used for computing BIF.

◆ getNumRotations()

int OpenCVForUnity.FaceModule.BIF.getNumRotations ( )
Returns
The number of image rotations.

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