pub struct Params { /* private fields */ }
Implementations
sourceimpl 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
sourceimpl Boxed for Params
impl Boxed for Params
sourceimpl ParamsTrait for Params
impl ParamsTrait for Params
fn as_raw_mut_Params(&mut self) -> *mut c_void
sourcefn set_frame_size(&mut self, val: Size)
fn set_frame_size(&mut self, val: Size)
frame size in pixels
sourcefn set_rgb_intr(&mut self, val: Matx33f)
fn set_rgb_intr(&mut self, val: Matx33f)
rgb camera intrinsics
sourcefn 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 Read more
sourcefn set_bilateral_sigma_depth(&mut self, val: f32)
fn set_bilateral_sigma_depth(&mut self, val: f32)
Depth sigma in meters for bilateral smooth
sourcefn set_bilateral_sigma_spatial(&mut self, val: f32)
fn set_bilateral_sigma_spatial(&mut self, val: f32)
Spatial sigma in pixels for bilateral smooth
sourcefn set_bilateral_kernel_size(&mut self, val: i32)
fn set_bilateral_kernel_size(&mut self, val: i32)
Kernel size in pixels for bilateral smooth
sourcefn set_pyramid_levels(&mut self, val: i32)
fn set_pyramid_levels(&mut self, val: i32)
Number of pyramid levels for ICP
sourcefn 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. Read more
sourcefn set_light_pose(&mut self, val: Vec3f)
fn set_light_pose(&mut self, val: Vec3f)
light pose for rendering in meters
sourcefn set_icp_dist_thresh(&mut self, val: f32)
fn set_icp_dist_thresh(&mut self, val: f32)
distance theshold for ICP in meters
sourcefn set_icp_angle_thresh(&mut self, val: f32)
fn set_icp_angle_thresh(&mut self, val: f32)
angle threshold for ICP in radians
sourcefn 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
sourcefn 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 Read more
sourcefn set_volume_params(&mut self, val: Kinfu_VolumeParams)
fn set_volume_params(&mut self, val: Kinfu_VolumeParams)
Volume parameters
sourceimpl ParamsTraitConst for Params
impl ParamsTraitConst for Params
fn as_raw_Params(&self) -> *const c_void
sourcefn frame_size(&self) -> Size
fn frame_size(&self) -> Size
frame size in pixels
sourcefn 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 Read more
sourcefn bilateral_sigma_depth(&self) -> f32
fn bilateral_sigma_depth(&self) -> f32
Depth sigma in meters for bilateral smooth
sourcefn bilateral_sigma_spatial(&self) -> f32
fn bilateral_sigma_spatial(&self) -> f32
Spatial sigma in pixels for bilateral smooth
sourcefn bilateral_kernel_size(&self) -> i32
fn bilateral_kernel_size(&self) -> i32
Kernel size in pixels for bilateral smooth
sourcefn pyramid_levels(&self) -> i32
fn pyramid_levels(&self) -> i32
Number of pyramid levels for ICP
sourcefn 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. Read more
sourcefn light_pose(&self) -> Vec3f
fn light_pose(&self) -> Vec3f
light pose for rendering in meters
sourcefn icp_dist_thresh(&self) -> f32
fn icp_dist_thresh(&self) -> f32
distance theshold for ICP in meters
sourcefn icp_angle_thresh(&self) -> f32
fn icp_angle_thresh(&self) -> f32
angle threshold for ICP in radians
sourcefn icp_iterations(&self) -> Vector<i32>
fn icp_iterations(&self) -> Vector<i32>
number of ICP iterations for each pyramid level
sourcefn 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 Read more
sourcefn volume_params(&self) -> Kinfu_VolumeParams
fn volume_params(&self) -> Kinfu_VolumeParams
Volume parameters
impl Send for Params
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more