OpenCV453
|
the Fast Self-tuning Background Subtraction Algorithm from [BinWangApr2014] [詳解]
#include <saliencySpecializedClasses.hpp>
cv::saliency::MotionSaliencyを継承しています。
公開メンバ関数 | |
CV_WRAP bool | computeSaliency (InputArray image, OutputArray saliencyMap) |
CV_WRAP 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. [詳解] | |
CV_WRAP bool | init () |
This function allows the correct initialization of all data structures that will be used by the algorithm. | |
CV_WRAP int | getImageWidth () const |
CV_WRAP void | setImageWidth (int val) |
CV_WRAP int | getImageHeight () const |
CV_WRAP void | setImageHeight (int val) |
![]() | |
virtual | ~Saliency () |
Destructor | |
CV_WRAP bool | computeSaliency (InputArray image, OutputArray saliencyMap) |
Compute the saliency [詳解] | |
![]() | |
virtual CV_WRAP void | clear () |
Clears the algorithm state [詳解] | |
virtual void | write (FileStorage &fs) const |
Stores algorithm parameters in a file storage [詳解] | |
CV_WRAP void | write (const Ptr< FileStorage > &fs, const String &name=String()) const |
simplified API for language bindings これはオーバーロードされたメンバ関数です。利便性のために用意されています。元の関数との違いは引き数のみです。 | |
virtual CV_WRAP void | read (const FileNode &fn) |
Reads algorithm parameters from a file storage [詳解] | |
virtual CV_WRAP bool | empty () const |
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read [詳解] | |
virtual CV_WRAP void | save (const String &filename) const |
virtual CV_WRAP String | getDefaultName () const |
静的公開メンバ関数 | |
static CV_WRAP Ptr< MotionSaliencyBinWangApr2014 > | create () |
![]() | |
template<typename _Tp > | |
static Ptr< _Tp > | read (const FileNode &fn) |
Reads algorithm from the file node [詳解] | |
template<typename _Tp > | |
static Ptr< _Tp > | load (const String &filename, const String &objname=String()) |
Loads algorithm from the file [詳解] | |
template<typename _Tp > | |
static Ptr< _Tp > | loadFromString (const String &strModel, const String &objname=String()) |
Loads algorithm from a String [詳解] | |
限定公開メンバ関数 | |
bool | computeSaliencyImpl (InputArray image, OutputArray saliencyMap) CV_OVERRIDE |
Performs all the operations and calls all internal functions necessary for the accomplishment of the Fast Self-tuning Background Subtraction Algorithm algorithm. [詳解] | |
![]() | |
void | writeFormat (FileStorage &fs) const |
その他の継承メンバ | |
![]() | |
String | className |
the Fast Self-tuning Background Subtraction Algorithm from [BinWangApr2014]
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
|
protectedvirtual |
Performs all the operations and calls all internal functions necessary for the accomplishment of the Fast Self-tuning Background Subtraction Algorithm algorithm.
image | input image. According to the needs of this specialized algorithm, the param image is a single Mat. |
saliencyMap | Saliency 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). |
cv::saliency::MotionSaliencyを実装しています。
CV_WRAP 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.
W | width of input image |
H | height of input image |