Struct opencv::saliency::Objectness
source · pub struct Objectness { /* private fields */ }
Expand description
********************************* Objectness Base Class ***********************************
Trait Implementations§
source§impl AlgorithmTrait for Objectness
impl AlgorithmTrait for Objectness
source§impl AlgorithmTraitConst for Objectness
impl AlgorithmTraitConst for Objectness
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>
fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§impl Boxed for Objectness
impl Boxed for Objectness
source§impl Debug for Objectness
impl Debug for Objectness
source§impl Drop for Objectness
impl Drop for Objectness
source§impl From<Objectness> for Algorithm
impl From<Objectness> for Algorithm
source§fn from(s: Objectness) -> Self
fn from(s: Objectness) -> Self
Converts to this type from the input type.
source§impl From<Objectness> for Saliency
impl From<Objectness> for Saliency
source§fn from(s: Objectness) -> Self
fn from(s: Objectness) -> Self
Converts to this type from the input type.
source§impl From<ObjectnessBING> for Objectness
impl From<ObjectnessBING> for Objectness
source§fn from(s: ObjectnessBING) -> Self
fn from(s: ObjectnessBING) -> Self
Converts to this type from the input type.
source§impl ObjectnessTrait for Objectness
impl ObjectnessTrait for Objectness
fn as_raw_mut_Objectness(&mut self) -> *mut c_void
source§impl ObjectnessTraitConst for Objectness
impl ObjectnessTraitConst for Objectness
fn as_raw_Objectness(&self) -> *const c_void
source§impl SaliencyTrait for Objectness
impl SaliencyTrait for Objectness
fn as_raw_mut_Saliency(&mut self) -> *mut c_void
source§fn 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
source§impl SaliencyTraitConst for Objectness
impl SaliencyTraitConst for Objectness
fn as_raw_Saliency(&self) -> *const c_void
source§impl TryFrom<Objectness> for ObjectnessBING
impl TryFrom<Objectness> for ObjectnessBING
source§impl TryFrom<Saliency> for Objectness
impl TryFrom<Saliency> for Objectness
impl Send for Objectness
Auto Trait Implementations§
impl RefUnwindSafe for Objectness
impl !Sync for Objectness
impl Unpin for Objectness
impl UnwindSafe for Objectness
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more