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
impl Boxed for HDF5
source§unsafe fn from_raw(ptr: <HDF5 as OpenCVFromExtern>::ExternReceive) -> Self
unsafe fn from_raw(ptr: <HDF5 as OpenCVFromExtern>::ExternReceive) -> Self
Wrap the specified raw pointer Read more
source§fn into_raw(self) -> <HDF5 as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw(self) -> <HDF5 as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
source§fn as_raw(&self) -> <HDF5 as OpenCVTypeExternContainer>::ExternSend
fn as_raw(&self) -> <HDF5 as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
source§fn as_raw_mut(&mut self) -> <HDF5 as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut(&mut self) -> <HDF5 as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
source§impl HDF5Trait for HDF5
impl HDF5Trait for HDF5
fn as_raw_mut_HDF5(&mut self) -> *mut c_void
source§fn atdelete(&mut self, atlabel: &str) -> Result<()>
fn atdelete(&mut self, atlabel: &str) -> Result<()>
Delete an attribute from the root group. Read more
source§fn atwrite_i32(&mut self, value: i32, atlabel: &str) -> Result<()>
fn atwrite_i32(&mut self, value: i32, atlabel: &str) -> Result<()>
Write an attribute inside the root group. Read more
source§fn atread_i32(&mut self, value: &mut i32, atlabel: &str) -> Result<()>
fn atread_i32(&mut self, value: &mut i32, atlabel: &str) -> Result<()>
Read an attribute from the root group. Read more
source§fn atwrite_f64(&mut self, value: f64, atlabel: &str) -> Result<()>
fn atwrite_f64(&mut self, value: f64, atlabel: &str) -> Result<()>
Write an attribute inside the root group. Read more
source§fn atread_f64(&mut self, value: &mut f64, atlabel: &str) -> Result<()>
fn atread_f64(&mut self, value: &mut f64, atlabel: &str) -> Result<()>
Read an attribute from the root group. Read more
source§fn atwrite_str(&mut self, value: &str, atlabel: &str) -> Result<()>
fn atwrite_str(&mut self, value: &str, atlabel: &str) -> Result<()>
Write an attribute inside the root group. Read more
source§fn atread_str(&mut self, value: &mut String, atlabel: &str) -> Result<()>
fn atread_str(&mut self, value: &mut String, atlabel: &str) -> Result<()>
Read an attribute from the root group. Read more
source§impl HDF5TraitConst for HDF5
impl HDF5TraitConst for HDF5
fn as_raw_HDF5(&self) -> *const c_void
source§fn atexists(&self, atlabel: &str) -> Result<bool>
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<()>
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_compress(
&self,
rows: i32,
cols: i32,
typ: i32,
dslabel: &str,
compresslevel: i32
) -> Result<()>
fn dscreate_compress( &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_compress_dims(
&self,
rows: i32,
cols: i32,
typ: i32,
dslabel: &str,
compresslevel: i32,
dims_chunks: &Vector<i32>
) -> Result<()>
fn dscreate_compress_dims( &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
fn dscreate_nd(&self, sizes: &[i32], typ: i32, dslabel: &str) -> Result<()>
fn dscreate_nd_compress( &self, sizes: &[i32], typ: i32, dslabel: &str, compresslevel: i32 ) -> Result<()>
source§fn dscreate_nd_vec_compress_dims(
&self,
sizes: &Vector<i32>,
typ: i32,
dslabel: &str,
compresslevel: i32,
dims_chunks: &Vector<i32>
) -> Result<()>
fn dscreate_nd_vec_compress_dims( &self, sizes: &Vector<i32>, typ: i32, dslabel: &str, compresslevel: i32, dims_chunks: &Vector<i32> ) -> Result<()>
C++ default parameters Read more
source§fn dscreate_nd_vec_compress_dims_def(
&self,
sizes: &Vector<i32>,
typ: i32,
dslabel: &str
) -> Result<()>
fn dscreate_nd_vec_compress_dims_def( &self, sizes: &Vector<i32>, typ: i32, dslabel: &str ) -> Result<()>
Note Read more
source§fn dscreate_nd_compress_dims(
&self,
sizes: &[i32],
typ: i32,
dslabel: &str,
compresslevel: i32,
dims_chunks: &i32
) -> Result<()>
fn dscreate_nd_compress_dims( &self, 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>>
fn dsgetsize(&self, dslabel: &str, dims_flag: i32) -> Result<Vector<i32>>
Fetch dataset sizes Read more
fn dswrite(&self, array: &impl ToInputArray, dslabel: &str) -> Result<()>
source§fn dswrite_offset(
&self,
array: &impl ToInputArray,
dslabel: &str,
dims_offset: &Vector<i32>,
dims_counts: &Vector<i32>
) -> Result<()>
fn dswrite_offset( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32> ) -> Result<()>
C++ default parameters Read more
source§fn dswrite_offset_def(
&self,
array: &impl ToInputArray,
dslabel: &str,
dims_offset: &Vector<i32>
) -> Result<()>
fn dswrite_offset_def( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32> ) -> Result<()>
Note Read more
fn dsinsert(&self, array: &impl ToInputArray, dslabel: &str) -> Result<()>
source§fn dsinsert_offset(
&self,
array: &impl ToInputArray,
dslabel: &str,
dims_offset: &Vector<i32>,
dims_counts: &Vector<i32>
) -> Result<()>
fn dsinsert_offset( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32> ) -> Result<()>
C++ default parameters Read more
source§fn dsinsert_offset_def(
&self,
array: &impl ToInputArray,
dslabel: &str,
dims_offset: &Vector<i32>
) -> Result<()>
fn dsinsert_offset_def( &self, array: &impl ToInputArray, dslabel: &str, dims_offset: &Vector<i32> ) -> Result<()>
Note Read more
fn dsread(&self, array: &mut impl ToOutputArray, dslabel: &str) -> Result<()>
source§fn dsread_offset(
&self,
array: &mut impl ToOutputArray,
dslabel: &str,
dims_offset: &Vector<i32>,
dims_counts: &Vector<i32>
) -> Result<()>
fn dsread_offset( &self, array: &mut impl ToOutputArray, dslabel: &str, dims_offset: &Vector<i32>, dims_counts: &Vector<i32> ) -> Result<()>
C++ default parameters Read more
source§fn dsread_offset_def(
&self,
array: &mut impl ToOutputArray,
dslabel: &str,
dims_offset: &Vector<i32>
) -> Result<()>
fn dsread_offset_def( &self, array: &mut impl ToOutputArray, dslabel: &str, dims_offset: &Vector<i32> ) -> Result<()>
Note Read more
source§fn kpgetsize(&self, kplabel: &str, dims_flag: i32) -> Result<i32>
fn kpgetsize(&self, kplabel: &str, dims_flag: i32) -> Result<i32>
Fetch keypoint dataset size Read more
source§fn kpcreate(
&self,
size: i32,
kplabel: &str,
compresslevel: i32,
chunks: i32
) -> Result<()>
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<()>
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<()>
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<()>
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<()>
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<()>
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
impl Send for HDF5
Auto Trait Implementations§
impl Freeze for HDF5
impl RefUnwindSafe for HDF5
impl !Sync for HDF5
impl Unpin for HDF5
impl UnwindSafe for HDF5
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
source§impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
impl<Mat> ModifyInplace for Matwhere
Mat: Boxed,
source§unsafe fn modify_inplace<Res>(
&mut self,
f: impl FnOnce(&Mat, &mut Mat) -> Res
) -> Res
unsafe fn modify_inplace<Res>( &mut self, f: impl FnOnce(&Mat, &mut Mat) -> Res ) -> Res
Helper function to call OpenCV functions that allow in-place modification of a
Mat
or another similar object. By passing
a mutable reference to the Mat
to this function your closure will get called with the read reference and a write references
to the same Mat
. This is of course unsafe as it breaks the Rust aliasing rules, but it might be useful for some performance
sensitive operations. One example of an OpenCV function that allows such in-place modification is imgproc::threshold
. Read more