pub trait Saliency: AlgorithmTrait + SaliencyConst {
    fn as_raw_mut_Saliency(&mut self) -> *mut c_void;

    fn compute_saliency(
        &mut self,
        image: &dyn ToInputArray,
        saliency_map: &mut dyn ToOutputArray
    ) -> Result<bool> { ... } }

Required Methods§

Provided Methods§

\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise

Implementors§