OpenCV for Unity 2.6.4
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.FaceModule.BIF Class Reference

Public Member Functions

void compute (Mat image, Mat features)
 
int getNumBands ()
 
int getNumRotations ()
 
- 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 BIF __fromPtr__ (IntPtr addr)
 
static BIF create ()
 
static BIF create (int num_bands)
 
static BIF create (int num_bands, int num_rotations)
 
- 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.CoreModule.Algorithm
- Protected Member Functions inherited from OpenCVForUnity.DisposableOpenCVObject
 DisposableOpenCVObject ()
 
 DisposableOpenCVObject (bool isEnabledDispose)
 
 DisposableOpenCVObject (IntPtr ptr)
 
 DisposableOpenCVObject (IntPtr ptr, bool isEnabledDispose)
 
override void Dispose (bool disposing)
 
- Protected Member Functions inherited from OpenCVForUnity.DisposableObject
 DisposableObject ()
 
 DisposableObject (bool isEnabledDispose)
 

Additional Inherited Members

- 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

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 ( )
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 ( 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.

◆ 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: