Algorithms belonging to this category, are particularly focused to detect salient objects over time (hence also over frame), then there is a temporal component sealing cosider that allows to detect “moving” objects as salient, meaning therefore also the more general sense of detection the changes in the scene.
Presently, the Fast Self-tuning Background Subtraction Algorithm [BinWangApr2014] has been implemented.
[BinWangApr2014] |
|
Implementation of MotionSaliencyBinWangApr2014 from MotionSaliency:
class CV_EXPORTS MotionSaliencyBinWangApr2014 : public MotionSaliency
{
public:
MotionSaliencyBinWangApr2014();
~MotionSaliencyBinWangApr2014();
void setImagesize( int W, int H );
bool init();
protected:
bool computeSaliencyImpl( const InputArray image, OutputArray saliencyMap );
};
Constructor
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: |
|
---|
This function allows the correct initialization of all data structures that will be used by the algorithm.
Performs all the operations and calls all internal functions necessary for the accomplishment of the Fast Self-tuning Background Subtraction Algorithm algorithm.
Parameters: |
|
---|