[−][src]Struct opencv::saliency::StaticSaliencyFineGrained
the Fine Grained Saliency approach from FGS
This method calculates saliency based on center-surround differences. High resolution saliency maps are generated in real time by using integral images.
Implementations
impl StaticSaliencyFineGrained
[src]
pub fn as_raw_StaticSaliencyFineGrained(&self) -> *const c_void
[src]
pub fn as_raw_mut_StaticSaliencyFineGrained(&mut self) -> *mut c_void
[src]
impl StaticSaliencyFineGrained
[src]
pub fn default() -> Result<StaticSaliencyFineGrained>
[src]
pub fn create() -> Result<Ptr<StaticSaliencyFineGrained>>
[src]
Trait Implementations
impl AlgorithmTrait for StaticSaliencyFineGrained
[src]
pub fn as_raw_Algorithm(&self) -> *const c_void
[src]
pub fn as_raw_mut_Algorithm(&mut self) -> *mut c_void
[src]
pub fn clear(&mut self) -> Result<()>
[src]
pub fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
pub fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
[src]
pub fn read(&mut self, fn_: &FileNode) -> Result<()>
[src]
pub fn empty(&self) -> Result<bool>
[src]
pub fn save(&self, filename: &str) -> Result<()>
[src]
pub fn get_default_name(&self) -> Result<String>
[src]
impl Boxed for StaticSaliencyFineGrained
[src]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for StaticSaliencyFineGrained
[src]
impl Saliency for StaticSaliencyFineGrained
[src]
pub fn as_raw_Saliency(&self) -> *const c_void
[src]
pub fn as_raw_mut_Saliency(&mut self) -> *mut c_void
[src]
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>
impl Send for StaticSaliencyFineGrained
[src]
impl StaticSaliency for StaticSaliencyFineGrained
[src]
pub fn as_raw_StaticSaliency(&self) -> *const c_void
[src]
pub fn as_raw_mut_StaticSaliency(&mut self) -> *mut c_void
[src]
pub fn compute_binary_map(
&mut self,
_saliency_map: &dyn ToInputArray,
_binary_map: &mut dyn ToOutputArray
) -> Result<bool>
[src]
&mut self,
_saliency_map: &dyn ToInputArray,
_binary_map: &mut dyn ToOutputArray
) -> Result<bool>
impl StaticSaliencyFineGrainedTrait for StaticSaliencyFineGrained
[src]
pub fn as_raw_StaticSaliencyFineGrained(&self) -> *const c_void
[src]
pub fn as_raw_mut_StaticSaliencyFineGrained(&mut self) -> *mut c_void
[src]
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>
Auto Trait Implementations
impl RefUnwindSafe for StaticSaliencyFineGrained
[src]
impl !Sync for StaticSaliencyFineGrained
[src]
impl Unpin for StaticSaliencyFineGrained
[src]
impl UnwindSafe for StaticSaliencyFineGrained
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,