OpenCV  3.0.0
Open Source Computer Vision
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | List of all members
cv::saliency::MotionSaliencyBinWangApr2014 Class Reference

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

#include "saliencySpecializedClasses.hpp"

Inheritance diagram for cv::saliency::MotionSaliencyBinWangApr2014:
cv::saliency::MotionSaliency cv::saliency::Saliency cv::Algorithm

Public Member Functions

 MotionSaliencyBinWangApr2014 ()
 
virtual ~MotionSaliencyBinWangApr2014 ()
 
int getImageHeight () const
 
int getImageWidth () const
 
bool init ()
 This function allows the correct initialization of all data structures that will be used by the algorithm. More...
 
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. More...
 
void setImageWidth (int val)
 
- Public Member Functions inherited from cv::saliency::Saliency
virtual ~Saliency ()
 Destructor. More...
 
bool computeSaliency (InputArray image, OutputArray saliencyMap)
 Compute the saliency. More...
 
String getClassName () const
 Get the name of the specific saliency type. More...
 
- Public Member Functions inherited from cv::Algorithm
 Algorithm ()
 
virtual ~Algorithm ()
 
virtual void clear ()
 Clears the algorithm state. More...
 
virtual bool empty () const
 Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read. More...
 
virtual String getDefaultName () const
 
virtual void read (const FileNode &fn)
 Reads algorithm parameters from a file storage. More...
 
virtual void save (const String &filename) const
 
virtual void write (FileStorage &fs) const
 Stores algorithm parameters in a file storage. More...
 

Protected Member Functions

bool computeSaliencyImpl (InputArray image, OutputArray saliencyMap)
 Performs all the operations and calls all internal functions necessary for the accomplishment of the Fast Self-tuning Background Subtraction Algorithm algorithm. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from cv::saliency::Saliency
static Ptr< Saliencycreate (const String &saliencyType)
 Create Saliency by saliency type. More...
 
- Static Public Member Functions inherited from cv::Algorithm
template<typename _Tp >
static Ptr< _Tp > load (const String &filename, const String &objname=String())
 Loads algorithm from the file. More...
 
template<typename _Tp >
static Ptr< _Tp > loadFromString (const String &strModel, const String &objname=String())
 Loads algorithm from a String. More...
 
template<typename _Tp >
static Ptr< _Tp > read (const FileNode &fn)
 Reads algorithm from the file node. More...
 
- Protected Attributes inherited from cv::saliency::Saliency
String className
 

Detailed Description

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

A Fast Self-tuning Background Subtraction Algorithm.

This background subtraction algorithm is inspired to the work of B. Wang and P. Dudek [2] [2] B. Wang and P. Dudek "A Fast Self-tuning Background Subtraction Algorithm", in proc of IEEE Workshop on Change Detection, 2014

Constructor & Destructor Documentation

cv::saliency::MotionSaliencyBinWangApr2014::MotionSaliencyBinWangApr2014 ( )
virtual cv::saliency::MotionSaliencyBinWangApr2014::~MotionSaliencyBinWangApr2014 ( )
virtual

Member Function Documentation

bool cv::saliency::MotionSaliencyBinWangApr2014::computeSaliencyImpl ( InputArray  image,
OutputArray  saliencyMap 
)
protectedvirtual

Performs all the operations and calls all internal functions necessary for the accomplishment of the Fast Self-tuning Background Subtraction Algorithm algorithm.

Parameters
imageinput image. According to the needs of this specialized algorithm, the param image is a single Mat.
saliencyMapSaliency Map. Is a binarized map that, in accordance with the nature of the algorithm, highlights the moving objects or areas of change in the scene. The saliency map is given by a single Mat (one for each frame of an hypothetical video stream).

Implements cv::saliency::MotionSaliency.

int cv::saliency::MotionSaliencyBinWangApr2014::getImageHeight ( ) const
inline
int cv::saliency::MotionSaliencyBinWangApr2014::getImageWidth ( ) const
inline
bool cv::saliency::MotionSaliencyBinWangApr2014::init ( )

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

void cv::saliency::MotionSaliencyBinWangApr2014::setImageHeight ( int  val)
inline
void cv::saliency::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
void cv::saliency::MotionSaliencyBinWangApr2014::setImageWidth ( int  val)
inline

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