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

the Fast Self-tuning Background Subtraction Algorithm from [BinWangApr2014] More...

Public Member Functions

override bool computeSaliency (Mat image, Mat saliencyMap)
 Compute the saliency.
 
int getImageHeight ()
 
int getImageWidth ()
 
bool init ()
 This function allows the correct initialization of all data structures that will be used by the algorithm.
 
void setImageHeight (int val)
 
void setImagesize (int W, int H)
 This is a utility function that allows to set the correct size (taken from the input image) in the corresponding variables that will be used to size the data structures of the algorithm.
 
void setImageWidth (int val)
 
- Public Member Functions inherited from OpenCVForUnity.SaliencyModule.Saliency
- 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 MotionSaliencyBinWangApr2014 __fromPtr__ (IntPtr addr)
 
static MotionSaliencyBinWangApr2014 create ()
 
- Static Public Member Functions inherited from OpenCVForUnity.SaliencyModule.MotionSaliency
static new MotionSaliency __fromPtr__ (IntPtr addr)
 
- Static Public Member Functions inherited from OpenCVForUnity.SaliencyModule.Saliency
static new Saliency __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.SaliencyModule.MotionSaliency
- Protected Member Functions inherited from OpenCVForUnity.SaliencyModule.Saliency
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.SaliencyModule.MotionSaliency
- Package Functions inherited from OpenCVForUnity.SaliencyModule.Saliency
- 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

the Fast Self-tuning Background Subtraction Algorithm from [BinWangApr2014]

Member Function Documentation

◆ __fromPtr__()

static new MotionSaliencyBinWangApr2014 OpenCVForUnity.SaliencyModule.MotionSaliencyBinWangApr2014.__fromPtr__ ( IntPtr addr)
static

◆ computeSaliency()

override bool OpenCVForUnity.SaliencyModule.MotionSaliencyBinWangApr2014.computeSaliency ( Mat image,
Mat saliencyMap )
virtual

Compute the saliency.

Parameters
imageThe image.
saliencyMapThe computed saliency map.
Returns
true if the saliency map is computed, false otherwise

Reimplemented from OpenCVForUnity.SaliencyModule.Saliency.

◆ create()

static MotionSaliencyBinWangApr2014 OpenCVForUnity.SaliencyModule.MotionSaliencyBinWangApr2014.create ( )
static

◆ Dispose()

override void OpenCVForUnity.SaliencyModule.MotionSaliencyBinWangApr2014.Dispose ( bool disposing)
protectedvirtual

◆ getImageHeight()

int OpenCVForUnity.SaliencyModule.MotionSaliencyBinWangApr2014.getImageHeight ( )

◆ getImageWidth()

int OpenCVForUnity.SaliencyModule.MotionSaliencyBinWangApr2014.getImageWidth ( )

◆ init()

bool OpenCVForUnity.SaliencyModule.MotionSaliencyBinWangApr2014.init ( )

This function allows the correct initialization of all data structures that will be used by the algorithm.

◆ setImageHeight()

void OpenCVForUnity.SaliencyModule.MotionSaliencyBinWangApr2014.setImageHeight ( int val)

◆ setImagesize()

void OpenCVForUnity.SaliencyModule.MotionSaliencyBinWangApr2014.setImagesize ( int W,
int H )

This is a utility function that allows to set the correct size (taken from the input image) in the corresponding variables that will be used to size the data structures of the algorithm.

Parameters
Wwidth of input image
Hheight of input image

◆ setImageWidth()

void OpenCVForUnity.SaliencyModule.MotionSaliencyBinWangApr2014.setImageWidth ( int val)

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