Struct opencv::hdf::HDF5

source ·
pub struct HDF5 { /* private fields */ }
Expand description

Hierarchical Data Format version 5 interface.

Notice that this module is compiled only when hdf5 is correctly installed.

Trait Implementations§

source§

impl Boxed for HDF5

source§

unsafe fn from_raw(ptr: *mut c_void) -> Self

Wrap the specified raw pointer Read more
source§

fn into_raw(self) -> *mut c_void

Return an the underlying raw pointer while consuming this wrapper. Read more
source§

fn as_raw(&self) -> *const c_void

Return the underlying raw pointer. Read more
source§

fn as_raw_mut(&mut self) -> *mut c_void

Return the underlying mutable raw pointer Read more
source§

impl Debug for HDF5

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for HDF5

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl HDF5Trait for HDF5

source§

fn as_raw_mut_HDF5(&mut self) -> *mut c_void

source§

fn close(&mut self) -> Result<()>

Close and release hdf5 object.
source§

fn grcreate(&mut self, grlabel: &str) -> Result<()>

Create a group. Read more
source§

fn atdelete(&mut self, atlabel: &str) -> Result<()>

Delete an attribute from the root group. Read more
source§

fn atwrite(&mut self, value: i32, atlabel: &str) -> Result<()>

Write an attribute inside the root group. Read more
source§

fn atread(&mut self, value: &mut i32, atlabel: &str) -> Result<()>

Read an attribute from the root group. Read more
source§

fn atwrite_1(&mut self, value: f64, atlabel: &str) -> Result<()>

Write an attribute inside the root group. Read more
source§

fn atread_1(&mut self, value: &mut f64, atlabel: &str) -> Result<()>

Read an attribute from the root group. Read more
source§

fn atwrite_2(&mut self, value: &str, atlabel: &str) -> Result<()>

Write an attribute inside the root group. Read more
source§

fn atread_2(&mut self, value: &mut String, atlabel: &str) -> Result<()>

Read an attribute from the root group. Read more
source§

fn atwrite_3(&mut self, value: &impl ToInputArray, atlabel: &str) -> Result<()>

Write an attribute into the root group. Read more
source§

fn atread_3( &mut self, value: &mut impl ToOutputArray, atlabel: &str ) -> Result<()>

Read an attribute from the root group. Read more
source§

impl HDF5TraitConst for HDF5

source§

fn as_raw_HDF5(&self) -> *const c_void

source§

fn hlexists(&self, label: &str) -> Result<bool>

Check if label exists or not. Read more
source§

fn atexists(&self, atlabel: &str) -> Result<bool>

Check whether a given attribute exits or not in the root group. Read more
source§

fn dscreate(&self, rows: i32, cols: i32, typ: i32, dslabel: &str) -> Result<()>

Create and allocate storage for two dimensional single or multi channel dataset. Read more
source§

fn dscreate_1( &self, rows: i32, cols: i32, typ: i32, dslabel: &str, compresslevel: i32 ) -> Result<()>

Create and allocate storage for two dimensional single or multi channel dataset. Read more
source§

fn dscreate_2( &self, rows: i32, cols: i32, typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &Vector<i32> ) -> Result<()>

Create and allocate storage for two dimensional single or multi channel dataset. Read more
source§

fn dscreate_3( &self, rows: i32, cols: i32, typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &i32 ) -> Result<()>

Create and allocate storage for two dimensional single or multi channel dataset. Read more
source§

fn dscreate_4( &self, n_dims: i32, sizes: &i32, typ: i32, dslabel: &str ) -> Result<()>

source§

fn dscreate_5( &self, n_dims: i32, sizes: &i32, typ: i32, dslabel: &str, compresslevel: i32 ) -> Result<()>

source§

fn dscreate_6( &self, sizes: &Vector<i32>, typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &Vector<i32> ) -> Result<()>

C++ default parameters Read more
source§

fn dscreate_def( &self, sizes: &Vector<i32>, typ: i32, dslabel: &str ) -> Result<()>

source§

fn dscreate_7( &self, n_dims: i32, sizes: &i32, typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &i32 ) -> Result<()>

Create and allocate storage for n-dimensional dataset, single or multichannel type. Read more
source§

fn dsgetsize(&self, dslabel: &str, dims_flag: i32) -> Result<Vector<i32>>

Fetch dataset sizes Read more
source§

fn dsgetsize_def(&self, dslabel: &str) -> Result<Vector<i32>>

Fetch dataset sizes Read more
source§

fn dsgettype(&self, dslabel: &str) -> Result<i32>

Fetch dataset type Read more
source§

fn dswrite(&self, array: &impl ToInputArray, dslabel: &str) -> Result<()>

source§

fn dswrite_1( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &i32 ) -> Result<()>

source§

fn dswrite_2( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32> ) -> Result<()>

C++ default parameters Read more
source§

fn dswrite_def( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32> ) -> Result<()>

source§

fn dswrite_3( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &i32, dims_counts: &i32 ) -> Result<()>

Write or overwrite a Mat object into specified dataset of hdf5 file. Read more
source§

fn dsinsert(&self, array: &impl ToInputArray, dslabel: &str) -> Result<()>

source§

fn dsinsert_1( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &i32 ) -> Result<()>

source§

fn dsinsert_2( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32> ) -> Result<()>

C++ default parameters Read more
source§

fn dsinsert_def( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32> ) -> Result<()>

source§

fn dsinsert_3( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &i32, dims_counts: &i32 ) -> Result<()>

Insert or overwrite a Mat object into specified dataset and auto expand dataset size if unlimited property allows. Read more
source§

fn dsread(&self, array: &mut impl ToOutputArray, dslabel: &str) -> Result<()>

source§

fn dsread_1( &self, array: &mut impl ToOutputArray, dslabel: &str, dims_offset: &i32 ) -> Result<()>

source§

fn dsread_2( &self, array: &mut impl ToOutputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32> ) -> Result<()>

C++ default parameters Read more
source§

fn dsread_def( &self, array: &mut impl ToOutputArray, dslabel: &str, dims_offset: &Vector<i32> ) -> Result<()>

source§

fn dsread_3( &self, array: &mut impl ToOutputArray, dslabel: &str, dims_offset: &i32, dims_counts: &i32 ) -> Result<()>

Read specific dataset from hdf5 file into Mat object. Read more
source§

fn kpgetsize(&self, kplabel: &str, dims_flag: i32) -> Result<i32>

Fetch keypoint dataset size Read more
source§

fn kpgetsize_def(&self, kplabel: &str) -> Result<i32>

Fetch keypoint dataset size Read more
source§

fn kpcreate( &self, size: i32, kplabel: &str, compresslevel: i32, chunks: i32 ) -> Result<()>

Create and allocate special storage for cv::KeyPoint dataset. Read more
source§

fn kpcreate_def(&self, size: i32, kplabel: &str) -> Result<()>

Create and allocate special storage for cv::KeyPoint dataset. Read more
source§

fn kpwrite( &self, keypoints: Vector<KeyPoint>, kplabel: &str, offset: i32, counts: i32 ) -> Result<()>

Write or overwrite list of KeyPoint into specified dataset of hdf5 file. Read more
source§

fn kpwrite_def(&self, keypoints: Vector<KeyPoint>, kplabel: &str) -> Result<()>

Write or overwrite list of KeyPoint into specified dataset of hdf5 file. Read more
source§

fn kpinsert( &self, keypoints: Vector<KeyPoint>, kplabel: &str, offset: i32, counts: i32 ) -> Result<()>

Insert or overwrite list of KeyPoint into specified dataset and autoexpand dataset size if unlimited property allows. Read more
source§

fn kpinsert_def(&self, keypoints: Vector<KeyPoint>, kplabel: &str) -> Result<()>

Insert or overwrite list of KeyPoint into specified dataset and autoexpand dataset size if unlimited property allows. Read more
source§

fn kpread( &self, keypoints: &mut Vector<KeyPoint>, kplabel: &str, offset: i32, counts: i32 ) -> Result<()>

Read specific keypoint dataset from hdf5 file into vector object. Read more
source§

fn kpread_def( &self, keypoints: &mut Vector<KeyPoint>, kplabel: &str ) -> Result<()>

Read specific keypoint dataset from hdf5 file into vector object. Read more
source§

impl Send for HDF5

Auto Trait Implementations§

§

impl RefUnwindSafe for HDF5

§

impl !Sync for HDF5

§

impl Unpin for HDF5

§

impl UnwindSafe for HDF5

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.