parent
056c6300ce
commit
6aff2d878c
8 changed files with 102 additions and 4 deletions
@ -0,0 +1,9 @@ |
||||
Motion Saliency Algorithms |
||||
============================ |
||||
|
||||
.. highlight:: cpp |
||||
|
||||
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. |
||||
|
||||
|
||||
|
@ -0,0 +1,5 @@ |
||||
Objectness Algorithms |
||||
============================ |
||||
|
||||
.. highlight:: cpp |
||||
|
@ -1,5 +1,43 @@ |
||||
Static Saliency categories |
||||
Static Saliency algorithms |
||||
============================ |
||||
|
||||
.. highlight:: cpp |
||||
|
||||
Algorithms belonging to this category, exploit different image features that allow to detect salient objects in a non dynamic scenarios. |
||||
|
||||
Presently, the Spectral Residual approach [SR]_ has been implemented. |
||||
|
||||
.. [SR] Hou, Xiaodi, and Liqing Zhang. "Saliency detection: A spectral residual approach." Computer Vision and Pattern Recognition, 2007. CVPR'07. IEEE Conference on. IEEE, 2007. |
||||
|
||||
|
||||
StaticSaliencySpectralResidual |
||||
------------------------------ |
||||
|
||||
Starting from the principle of natural image statistics, this method simulate the behavior of pre-attentive visual search. The algorithm analyze the log spectrum of each image and obtain the spectral residual. Then transform the spectral residual to spatial domain to obtain the saliency map, which suggests the positions of proto-objects. |
||||
|
||||
.. ocv:class:: StaticSaliencySpectralResidual |
||||
|
||||
Implementation of SpectralResidual from :ocv:class:`StaticSaliency`:: |
||||
|
||||
class CV_EXPORTS_W StaticSaliencySpectralResidual : public StaticSaliency |
||||
{ |
||||
public: |
||||
|
||||
StaticSaliencySpectralResidual(); |
||||
~StaticSaliencySpectralResidual(); |
||||
|
||||
typedef Ptr<Size> (Algorithm::*SizeGetter)(); |
||||
typedef void (Algorithm::*SizeSetter)( const Ptr<Size> & ); |
||||
|
||||
Ptr<Size> getWsize(); |
||||
void setWsize( const Ptr<Size> &arrPtr ); |
||||
|
||||
void read( const FileNode& fn ); |
||||
void write( FileStorage& fs ) const; |
||||
|
||||
protected: |
||||
bool computeSaliencyImpl( const InputArray src, OutputArray dst ); |
||||
|
||||
}; |
||||
|
||||
|
||||
|
Loading…
Reference in new issue