MATLAB File Help: cv.StaticSaliencySpectralResidual | Index |
The Spectral Residual approach for Static Saliency
Implementation of SpectralResidual for Static Saliency.
Many computer vision applications may benefit from understanding where humans focus given a scene. Other than cognitively understanding the way human perceive images and scenes, finding salient regions and objects in the images helps various tasks such as speeding up object detection, object recognition, object tracking and content-aware image editing.
About the saliency, there is a rich literature but the development is very fragmented. The principal purpose of this API is to give a unique interface, a unique framework for use and plug sever saliency algorithms, also with very different nature and methodology, but they share the same purpose, organizing algorithms into three main categories:
Saliency UML diagram: <<http://docs.opencv.org/3.1.0/saliency.png>>
To see how API works, try tracker demo: computeSaliency_demo.m
.
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.
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.
[SR]:
Xiaodi Hou and Liqing Zhang. "Saliency detection: A spectral residual approach". In Computer Vision and Pattern Recognition, 2007. CVPR'07. IEEE Conference on, pages 1-8. IEEE, 2007.
Superclasses | handle |
Sealed | false |
Construct on load | false |
StaticSaliencySpectralResidual | Constructor, creates a specialized saliency algorithm of this type |
ImageHeight | The dimension to which the image should be resized |
ImageWidth | The dimension to which the image should be resized |
id | Object ID |
addlistener | Add listener for event. | |
clear | Clears the algorithm state | |
computeBinaryMap | This function perform a binary map of given saliency map | |
computeSaliency | Compute the saliency | |
delete | Destructor | |
empty | Checks if detector object is empty. | |
eq | == (EQ) Test handle equality. | |
findobj | Find objects matching specified conditions. | |
findprop | Find property of MATLAB handle object. | |
ge | >= (GE) Greater than or equal relation for handles. | |
getClassName | Get the name of the specific saliency type | |
getDefaultName | Returns the algorithm string identifier | |
gt | > (GT) Greater than relation for handles. | |
Sealed | isvalid | Test handle validity. |
le | <= (LE) Less than or equal relation for handles. | |
load | Loads algorithm from a file or a string | |
lt | < (LT) Less than relation for handles. | |
ne | ~= (NE) Not equal relation for handles. | |
notify | Notify listeners of event. | |
save | Saves the algorithm parameters to a file |