pub struct Params { /* private fields */ }
Implementations§
source§impl Params
impl Params
sourcepub fn default_params() -> Result<Ptr<Params>>
pub fn default_params() -> Result<Ptr<Params>>
Default parameters A set of parameters which provides better model quality, can be very slow.
sourcepub fn coarse_params() -> Result<Ptr<Params>>
pub fn coarse_params() -> Result<Ptr<Params>>
Coarse parameters A set of parameters which provides better speed, can fail to match frames in case of rapid sensor motion.
Trait Implementations§
source§impl Boxed for Params
impl Boxed for Params
source§impl ParamsTrait for Params
impl ParamsTrait for Params
fn as_raw_mut_Params(&mut self) -> *mut c_void
source§fn set_frame_size(&mut self, val: Size)
fn set_frame_size(&mut self, val: Size)
frame size in pixels
source§fn set_rgb_intr(&mut self, val: Matx33f)
fn set_rgb_intr(&mut self, val: Matx33f)
rgb camera intrinsics
source§fn set_depth_factor(&mut self, val: f32)
fn set_depth_factor(&mut self, val: f32)
pre-scale per 1 meter for input values
Typical values are:
* 5000 per 1 meter for the 16-bit PNG files of TUM database
* 1000 per 1 meter for Kinect 2 device
* 1 per 1 meter for the 32-bit float images in the ROS bag files
source§fn set_bilateral_sigma_depth(&mut self, val: f32)
fn set_bilateral_sigma_depth(&mut self, val: f32)
Depth sigma in meters for bilateral smooth
source§fn set_bilateral_sigma_spatial(&mut self, val: f32)
fn set_bilateral_sigma_spatial(&mut self, val: f32)
Spatial sigma in pixels for bilateral smooth
source§fn set_bilateral_kernel_size(&mut self, val: i32)
fn set_bilateral_kernel_size(&mut self, val: i32)
Kernel size in pixels for bilateral smooth
source§fn set_pyramid_levels(&mut self, val: i32)
fn set_pyramid_levels(&mut self, val: i32)
Number of pyramid levels for ICP
source§fn set_tsdf_min_camera_movement(&mut self, val: f32)
fn set_tsdf_min_camera_movement(&mut self, val: f32)
Minimal camera movement in meters
Integrate new depth frame only if camera movement exceeds this value.
source§fn set_light_pose(&mut self, val: Vec3f)
fn set_light_pose(&mut self, val: Vec3f)
light pose for rendering in meters
source§fn set_icp_dist_thresh(&mut self, val: f32)
fn set_icp_dist_thresh(&mut self, val: f32)
distance theshold for ICP in meters
source§fn set_icp_angle_thresh(&mut self, val: f32)
fn set_icp_angle_thresh(&mut self, val: f32)
angle threshold for ICP in radians
source§fn set_icp_iterations(&mut self, val: Vector<i32>)
fn set_icp_iterations(&mut self, val: Vector<i32>)
number of ICP iterations for each pyramid level
source§fn set_truncate_threshold(&mut self, val: f32)
fn set_truncate_threshold(&mut self, val: f32)
Threshold for depth truncation in meters
All depth values beyond this threshold will be set to zero
source§fn set_volume_params(&mut self, val: Kinfu_VolumeParams)
fn set_volume_params(&mut self, val: Kinfu_VolumeParams)
Volume parameters
source§impl ParamsTraitConst for Params
impl ParamsTraitConst for Params
fn as_raw_Params(&self) -> *const c_void
source§fn frame_size(&self) -> Size
fn frame_size(&self) -> Size
frame size in pixels
source§fn depth_factor(&self) -> f32
fn depth_factor(&self) -> f32
pre-scale per 1 meter for input values
Typical values are:
* 5000 per 1 meter for the 16-bit PNG files of TUM database
* 1000 per 1 meter for Kinect 2 device
* 1 per 1 meter for the 32-bit float images in the ROS bag files
source§fn bilateral_sigma_depth(&self) -> f32
fn bilateral_sigma_depth(&self) -> f32
Depth sigma in meters for bilateral smooth
source§fn bilateral_sigma_spatial(&self) -> f32
fn bilateral_sigma_spatial(&self) -> f32
Spatial sigma in pixels for bilateral smooth
source§fn bilateral_kernel_size(&self) -> i32
fn bilateral_kernel_size(&self) -> i32
Kernel size in pixels for bilateral smooth
source§fn pyramid_levels(&self) -> i32
fn pyramid_levels(&self) -> i32
Number of pyramid levels for ICP
source§fn tsdf_min_camera_movement(&self) -> f32
fn tsdf_min_camera_movement(&self) -> f32
Minimal camera movement in meters
Integrate new depth frame only if camera movement exceeds this value.
source§fn light_pose(&self) -> Vec3f
fn light_pose(&self) -> Vec3f
light pose for rendering in meters
source§fn icp_dist_thresh(&self) -> f32
fn icp_dist_thresh(&self) -> f32
distance theshold for ICP in meters
source§fn icp_angle_thresh(&self) -> f32
fn icp_angle_thresh(&self) -> f32
angle threshold for ICP in radians
source§fn icp_iterations(&self) -> Vector<i32>
fn icp_iterations(&self) -> Vector<i32>
number of ICP iterations for each pyramid level
source§fn truncate_threshold(&self) -> f32
fn truncate_threshold(&self) -> f32
Threshold for depth truncation in meters
All depth values beyond this threshold will be set to zero
source§fn volume_params(&self) -> Kinfu_VolumeParams
fn volume_params(&self) -> Kinfu_VolumeParams
Volume parameters
impl Send for Params
Auto Trait Implementations§
impl RefUnwindSafe for Params
impl !Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
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