pub struct Kinfu_Params { /* private fields */ }
Implementations§
Source§impl Kinfu_Params
impl Kinfu_Params
pub fn default() -> Result<Kinfu_Params>
Sourcepub fn new(
volume_initial_pose_rot: Matx33f,
volume_initial_pose_transl: Vec3f,
) -> Result<Kinfu_Params>
pub fn new( volume_initial_pose_rot: Matx33f, volume_initial_pose_transl: Vec3f, ) -> Result<Kinfu_Params>
Constructor for Params Sets the initial pose of the TSDF volume.
§Parameters
- volumeInitialPoseRot: rotation matrix
- volumeInitialPoseTransl: translation vector
Sourcepub fn new_1(volume_initial_pose: Matx44f) -> Result<Kinfu_Params>
pub fn new_1(volume_initial_pose: Matx44f) -> Result<Kinfu_Params>
Constructor for Params Sets the initial pose of the TSDF volume.
§Parameters
- volumeInitialPose: 4 by 4 Homogeneous Transform matrix to set the intial pose of TSDF volume
Sourcepub fn default_params() -> Result<Ptr<Kinfu_Params>>
pub fn default_params() -> Result<Ptr<Kinfu_Params>>
Default parameters A set of parameters which provides better model quality, can be very slow.
Sourcepub fn coarse_params() -> Result<Ptr<Kinfu_Params>>
pub fn coarse_params() -> Result<Ptr<Kinfu_Params>>
Coarse parameters A set of parameters which provides better speed, can fail to match frames in case of rapid sensor motion.
Sourcepub fn hash_tsdf_params(is_coarse: bool) -> Result<Ptr<Kinfu_Params>>
pub fn hash_tsdf_params(is_coarse: bool) -> Result<Ptr<Kinfu_Params>>
HashTSDF parameters A set of parameters suitable for use with HashTSDFVolume
Sourcepub fn colored_tsdf_params(is_coarse: bool) -> Result<Ptr<Kinfu_Params>>
pub fn colored_tsdf_params(is_coarse: bool) -> Result<Ptr<Kinfu_Params>>
ColoredTSDF parameters A set of parameters suitable for use with ColoredTSDFVolume
Trait Implementations§
Source§impl Boxed for Kinfu_Params
impl Boxed for Kinfu_Params
Source§unsafe fn from_raw(
ptr: <Kinfu_Params as OpenCVFromExtern>::ExternReceive,
) -> Self
unsafe fn from_raw( ptr: <Kinfu_Params as OpenCVFromExtern>::ExternReceive, ) -> Self
Wrap the specified raw pointer Read more
Source§fn into_raw(self) -> <Kinfu_Params as OpenCVTypeExternContainer>::ExternSendMut
fn into_raw(self) -> <Kinfu_Params as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying raw pointer while consuming this wrapper. Read more
Source§fn as_raw(&self) -> <Kinfu_Params as OpenCVTypeExternContainer>::ExternSend
fn as_raw(&self) -> <Kinfu_Params as OpenCVTypeExternContainer>::ExternSend
Return the underlying raw pointer. Read more
Source§fn as_raw_mut(
&mut self,
) -> <Kinfu_Params as OpenCVTypeExternContainer>::ExternSendMut
fn as_raw_mut( &mut self, ) -> <Kinfu_Params as OpenCVTypeExternContainer>::ExternSendMut
Return the underlying mutable raw pointer Read more
Source§impl Debug for Kinfu_Params
impl Debug for Kinfu_Params
Source§impl Drop for Kinfu_Params
impl Drop for Kinfu_Params
Source§impl Kinfu_ParamsTrait for Kinfu_Params
impl Kinfu_ParamsTrait for Kinfu_Params
fn as_raw_mut_Kinfu_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_volume_type(&mut self, val: Kinfu_VolumeType)
fn set_volume_type(&mut self, val: Kinfu_VolumeType)
rgb 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 Read more
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_volume_dims(&mut self, val: Vec3i)
fn set_volume_dims(&mut self, val: Vec3i)
Resolution of voxel space Read more
Source§fn set_voxel_size(&mut self, val: f32)
fn set_voxel_size(&mut self, val: f32)
Size of voxel in meters
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 Read more
Source§fn set_volume_pose(&mut self, val: Affine3f)
fn set_volume_pose(&mut self, val: Affine3f)
initial volume pose in meters
Source§fn set_tsdf_trunc_dist(&mut self, val: f32)
fn set_tsdf_trunc_dist(&mut self, val: f32)
distance to truncate in meters Read more
Source§fn set_tsdf_max_weight(&mut self, val: i32)
fn set_tsdf_max_weight(&mut self, val: i32)
max number of frames per voxel Read more
Source§fn set_raycast_step_factor(&mut self, val: f32)
fn set_raycast_step_factor(&mut self, val: f32)
A length of one raycast step Read more
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 Read more
Source§impl Kinfu_ParamsTraitConst for Kinfu_Params
impl Kinfu_ParamsTraitConst for Kinfu_Params
fn as_raw_Kinfu_Params(&self) -> *const c_void
Source§fn frame_size(&self) -> Size
fn frame_size(&self) -> Size
frame size in pixels
Source§fn volume_type(&self) -> Kinfu_VolumeType
fn volume_type(&self) -> Kinfu_VolumeType
rgb frame size in pixels
Source§fn depth_factor(&self) -> f32
fn depth_factor(&self) -> f32
pre-scale per 1 meter for input values Read more
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 volume_dims(&self) -> Vec3i
fn volume_dims(&self) -> Vec3i
Resolution of voxel space Read more
Source§fn voxel_size(&self) -> f32
fn voxel_size(&self) -> f32
Size of voxel in meters
Source§fn tsdf_min_camera_movement(&self) -> f32
fn tsdf_min_camera_movement(&self) -> f32
Minimal camera movement in meters Read more
Source§fn volume_pose(&self) -> Affine3f
fn volume_pose(&self) -> Affine3f
initial volume pose in meters
Source§fn tsdf_trunc_dist(&self) -> f32
fn tsdf_trunc_dist(&self) -> f32
distance to truncate in meters Read more
Source§fn tsdf_max_weight(&self) -> i32
fn tsdf_max_weight(&self) -> i32
max number of frames per voxel Read more
Source§fn raycast_step_factor(&self) -> f32
fn raycast_step_factor(&self) -> f32
A length of one raycast step Read more
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 Read more
impl Send for Kinfu_Params
Auto Trait Implementations§
impl Freeze for Kinfu_Params
impl RefUnwindSafe for Kinfu_Params
impl !Sync for Kinfu_Params
impl Unpin for Kinfu_Params
impl UnwindSafe for Kinfu_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
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 unsafe in a general case as it leads to having non-exclusive mutable access to the internal data,
but it can be useful for some performance sensitive operations. One example of an OpenCV function that allows such in-place
modification is imgproc::threshold
. Read more