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§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