[−][src]Trait opencv::hub_prelude::StaticSaliencySpectralResidualTrait
the Spectral Residual approach from SR
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.
Required methods
pub fn as_raw_StaticSaliencySpectralResidual(&self) -> *const c_void
[src]
pub fn as_raw_mut_StaticSaliencySpectralResidual(&mut self) -> *mut c_void
[src]
Provided methods
pub fn compute_saliency(
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>
[src]
&mut self,
image: &dyn ToInputArray,
saliency_map: &mut dyn ToOutputArray
) -> Result<bool>