Struct opencv::rgbd::Kinfu_VolumeParams
source · pub struct Kinfu_VolumeParams { /* private fields */ }
Implementations§
source§impl Kinfu_VolumeParams
impl Kinfu_VolumeParams
sourcepub fn default_params(
_volume_type: Kinfu_VolumeType
) -> Result<Ptr<Kinfu_VolumeParams>>
pub fn default_params( _volume_type: Kinfu_VolumeType ) -> Result<Ptr<Kinfu_VolumeParams>>
Default set of parameters that provide higher quality reconstruction at the cost of slow performance.
sourcepub fn coarse_params(
_volume_type: Kinfu_VolumeType
) -> Result<Ptr<Kinfu_VolumeParams>>
pub fn coarse_params( _volume_type: Kinfu_VolumeType ) -> Result<Ptr<Kinfu_VolumeParams>>
Coarse set of parameters that provides relatively higher performance at the cost of reconstrution quality.
Trait Implementations§
source§impl Boxed for Kinfu_VolumeParams
impl Boxed for Kinfu_VolumeParams
source§unsafe fn from_raw(
ptr: <Kinfu_VolumeParams as OpenCVFromExtern>::ExternReceive
) -> Self
unsafe fn from_raw( ptr: <Kinfu_VolumeParams as OpenCVFromExtern>::ExternReceive ) -> Self
Wrap the specified raw pointer Read more
source§fn into_raw(
self
) -> <Kinfu_VolumeParams as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw( self ) -> <Kinfu_VolumeParams as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
source§fn as_raw(
&self
) -> <Kinfu_VolumeParams as OpenCVTypeExternContainer>::ExternSend
fn as_raw( &self ) -> <Kinfu_VolumeParams as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
source§fn as_raw_mut(
&mut self
) -> <Kinfu_VolumeParams as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self ) -> <Kinfu_VolumeParams as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
source§impl Debug for Kinfu_VolumeParams
impl Debug for Kinfu_VolumeParams
source§impl Default for Kinfu_VolumeParams
impl Default for Kinfu_VolumeParams
source§impl Drop for Kinfu_VolumeParams
impl Drop for Kinfu_VolumeParams
source§impl Kinfu_VolumeParamsTrait for Kinfu_VolumeParams
impl Kinfu_VolumeParamsTrait for Kinfu_VolumeParams
fn as_raw_mut_Kinfu_VolumeParams(&mut self) -> *mut c_void
source§fn set_type(&mut self, val: Kinfu_VolumeType)
fn set_type(&mut self, val: Kinfu_VolumeType)
Type of Volume
Values can be TSDF (single volume) or HASHTSDF (hashtable of volume units)
source§fn set_resolution(&mut self, val: Vec3i)
fn set_resolution(&mut self, val: Vec3i)
Resolution of voxel space
Number of voxels in each dimension.
Applicable only for TSDF Volume.
HashTSDF volume only supports equal resolution in all three dimensions
source§fn set_unit_resolution(&mut self, val: i32)
fn set_unit_resolution(&mut self, val: i32)
Resolution of volumeUnit in voxel space
Number of voxels in each dimension for volumeUnit
Applicable only for hashTSDF. Read more
source§fn set_voxel_size(&mut self, val: f32)
fn set_voxel_size(&mut self, val: f32)
Length of voxels in meters
source§fn set_tsdf_trunc_dist(&mut self, val: f32)
fn set_tsdf_trunc_dist(&mut self, val: f32)
TSDF truncation distance
Distances greater than value from surface will be truncated to 1.0
source§fn set_max_weight(&mut self, val: i32)
fn set_max_weight(&mut self, val: i32)
Max number of frames to integrate per voxel
Represents the max number of frames over which a running average
of the TSDF is calculated for a voxel
source§fn set_depth_trunc_threshold(&mut self, val: f32)
fn set_depth_trunc_threshold(&mut self, val: f32)
Threshold for depth truncation in meters
Truncates the depth greater than threshold to 0
source§fn set_raycast_step_factor(&mut self, val: f32)
fn set_raycast_step_factor(&mut self, val: f32)
Length of single raycast step
Describes the percentage of voxel length that is skipped per march
source§impl Kinfu_VolumeParamsTraitConst for Kinfu_VolumeParams
impl Kinfu_VolumeParamsTraitConst for Kinfu_VolumeParams
fn as_raw_Kinfu_VolumeParams(&self) -> *const c_void
source§fn typ(&self) -> Kinfu_VolumeType
fn typ(&self) -> Kinfu_VolumeType
Type of Volume
Values can be TSDF (single volume) or HASHTSDF (hashtable of volume units)
source§fn resolution(&self) -> Vec3i
fn resolution(&self) -> Vec3i
Resolution of voxel space
Number of voxels in each dimension.
Applicable only for TSDF Volume.
HashTSDF volume only supports equal resolution in all three dimensions
source§fn unit_resolution(&self) -> i32
fn unit_resolution(&self) -> i32
Resolution of volumeUnit in voxel space
Number of voxels in each dimension for volumeUnit
Applicable only for hashTSDF.
source§fn voxel_size(&self) -> f32
fn voxel_size(&self) -> f32
Length of voxels in meters
source§fn tsdf_trunc_dist(&self) -> f32
fn tsdf_trunc_dist(&self) -> f32
TSDF truncation distance
Distances greater than value from surface will be truncated to 1.0
source§fn max_weight(&self) -> i32
fn max_weight(&self) -> i32
Max number of frames to integrate per voxel
Represents the max number of frames over which a running average
of the TSDF is calculated for a voxel
source§fn depth_trunc_threshold(&self) -> f32
fn depth_trunc_threshold(&self) -> f32
Threshold for depth truncation in meters
Truncates the depth greater than threshold to 0
source§fn raycast_step_factor(&self) -> f32
fn raycast_step_factor(&self) -> f32
Length of single raycast step
Describes the percentage of voxel length that is skipped per march
impl Send for Kinfu_VolumeParams
Auto Trait Implementations§
impl Freeze for Kinfu_VolumeParams
impl RefUnwindSafe for Kinfu_VolumeParams
impl !Sync for Kinfu_VolumeParams
impl Unpin for Kinfu_VolumeParams
impl UnwindSafe for Kinfu_VolumeParams
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