pub trait SaliencyTrait: AlgorithmTrait + SaliencyTraitConst {
// Required method
fn as_raw_mut_Saliency(&mut self) -> *mut c_void;
// Provided method
fn compute_saliency(
&mut self,
image: &impl ToInputArray,
saliency_map: &mut impl ToOutputArray,
) -> Result<bool> { ... }
}
Expand description
Mutable methods for crate::saliency::Saliency
Required Methods§
fn as_raw_mut_Saliency(&mut self) -> *mut c_void
Provided Methods§
Sourcefn compute_saliency(
&mut self,
image: &impl ToInputArray,
saliency_map: &mut impl ToOutputArray,
) -> Result<bool>
fn compute_saliency( &mut self, image: &impl ToInputArray, saliency_map: &mut impl ToOutputArray, ) -> Result<bool>
\brief Compute the saliency \param image The image. \param saliencyMap The computed saliency map. \return true if the saliency map is computed, false otherwise
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.