[−][src]Struct opencv::img_hash::BlockMeanHash
Image hash based on block mean.
See zauner2010implementation for details.
Implementations
impl BlockMeanHash
[src]
pub fn as_raw_BlockMeanHash(&self) -> *const c_void
[src]
pub fn as_raw_mut_BlockMeanHash(&mut self) -> *mut c_void
[src]
impl BlockMeanHash
[src]
pub fn create(mode: i32) -> Result<Ptr<BlockMeanHash>>
[src]
C++ default parameters
- mode: BLOCK_MEAN_HASH_MODE_0
Trait Implementations
impl AlgorithmTrait for BlockMeanHash
[src]
fn as_raw_Algorithm(&self) -> *const c_void
[src]
fn as_raw_mut_Algorithm(&mut self) -> *mut c_void
[src]
fn clear(&mut self) -> Result<()>
[src]
fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
[src]
fn read(&mut self, fn_: &FileNode) -> Result<()>
[src]
fn empty(&self) -> Result<bool>
[src]
fn save(&self, filename: &str) -> Result<()>
[src]
fn get_default_name(&self) -> Result<String>
[src]
impl BlockMeanHashTrait for BlockMeanHash
[src]
fn as_raw_BlockMeanHash(&self) -> *const c_void
[src]
fn as_raw_mut_BlockMeanHash(&mut self) -> *mut c_void
[src]
fn set_mode(&mut self, mode: i32) -> Result<()>
[src]
fn get_mean(&self) -> Result<Vector<f64>>
[src]
impl Boxed for BlockMeanHash
[src]
unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
fn into_raw(self) -> *mut c_void
[src]
fn as_raw(&self) -> *const c_void
[src]
fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for BlockMeanHash
[src]
impl ImgHashBaseTrait for BlockMeanHash
[src]
fn as_raw_ImgHashBase(&self) -> *const c_void
[src]
fn as_raw_mut_ImgHashBase(&mut self) -> *mut c_void
[src]
fn compute(
&mut self,
input_arr: &dyn ToInputArray,
output_arr: &mut dyn ToOutputArray
) -> Result<()>
[src]
&mut self,
input_arr: &dyn ToInputArray,
output_arr: &mut dyn ToOutputArray
) -> Result<()>
fn compare(
&self,
hash_one: &dyn ToInputArray,
hash_two: &dyn ToInputArray
) -> Result<f64>
[src]
&self,
hash_one: &dyn ToInputArray,
hash_two: &dyn ToInputArray
) -> Result<f64>
impl Send for BlockMeanHash
[src]
Auto Trait Implementations
impl RefUnwindSafe for BlockMeanHash
impl !Sync for BlockMeanHash
impl Unpin for BlockMeanHash
impl UnwindSafe for BlockMeanHash
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>,