Struct opencv::rgbd::ColoredKinfu_Params
source · [−]pub struct ColoredKinfu_Params { /* private fields */ }
Implementations
sourceimpl ColoredKinfu_Params
impl ColoredKinfu_Params
pub fn default() -> Result<ColoredKinfu_Params>
sourcepub fn new(
volume_initial_pose_rot: Matx33f,
volume_initial_pose_transl: Vec3f
) -> Result<ColoredKinfu_Params>
pub fn new(
volume_initial_pose_rot: Matx33f,
volume_initial_pose_transl: Vec3f
) -> Result<ColoredKinfu_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<ColoredKinfu_Params>
pub fn new_1(volume_initial_pose: Matx44f) -> Result<ColoredKinfu_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<ColoredKinfu_Params>>
pub fn default_params() -> Result<Ptr<ColoredKinfu_Params>>
Default parameters A set of parameters which provides better model quality, can be very slow.
sourcepub fn coarse_params() -> Result<Ptr<ColoredKinfu_Params>>
pub fn coarse_params() -> Result<Ptr<ColoredKinfu_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<ColoredKinfu_Params>>
pub fn hash_tsdf_params(is_coarse: bool) -> Result<Ptr<ColoredKinfu_Params>>
HashTSDF parameters A set of parameters suitable for use with HashTSDFVolume
sourcepub fn colored_tsdf_params(is_coarse: bool) -> Result<Ptr<ColoredKinfu_Params>>
pub fn colored_tsdf_params(is_coarse: bool) -> Result<Ptr<ColoredKinfu_Params>>
ColoredTSDF parameters A set of parameters suitable for use with HashTSDFVolume
Trait Implementations
sourceimpl Boxed for ColoredKinfu_Params
impl Boxed for ColoredKinfu_Params
sourceimpl ColoredKinfu_ParamsTrait for ColoredKinfu_Params
impl ColoredKinfu_ParamsTrait for ColoredKinfu_Params
fn as_raw_mut_ColoredKinfu_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_frame_size(&mut self, val: Size)
fn set_rgb_frame_size(&mut self, val: Size)
rgb frame size in pixels
fn set_volume_type(&mut self, val: Kinfu_VolumeType)
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 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_volume_dims(&mut self, val: Vec3i)
fn set_volume_dims(&mut self, val: Vec3i)
Resolution of voxel space Read more
sourcefn set_voxel_size(&mut self, val: f32)
fn set_voxel_size(&mut self, val: f32)
Size of voxel in meters
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 Read more
sourcefn set_volume_pose(&mut self, val: Affine3f)
fn set_volume_pose(&mut self, val: Affine3f)
initial volume pose in meters
sourcefn set_tsdf_trunc_dist(&mut self, val: f32)
fn set_tsdf_trunc_dist(&mut self, val: f32)
distance to truncate in meters Read more
sourcefn 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
sourcefn 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
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 Read more
sourceimpl ColoredKinfu_ParamsTraitConst for ColoredKinfu_Params
impl ColoredKinfu_ParamsTraitConst for ColoredKinfu_Params
fn as_raw_ColoredKinfu_Params(&self) -> *const c_void
sourcefn frame_size(&self) -> Size
fn frame_size(&self) -> Size
frame size in pixels
sourcefn rgb_frame_size(&self) -> Size
fn rgb_frame_size(&self) -> Size
rgb frame size in pixels
fn volume_type(&self) -> Kinfu_VolumeType
sourcefn depth_factor(&self) -> f32
fn depth_factor(&self) -> f32
pre-scale per 1 meter for input values 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 volume_dims(&self) -> Vec3i
fn volume_dims(&self) -> Vec3i
Resolution of voxel space Read more
sourcefn voxel_size(&self) -> f32
fn voxel_size(&self) -> f32
Size of voxel in meters
sourcefn tsdf_min_camera_movement(&self) -> f32
fn tsdf_min_camera_movement(&self) -> f32
Minimal camera movement in meters Read more
sourcefn volume_pose(&self) -> Affine3f
fn volume_pose(&self) -> Affine3f
initial volume pose in meters
sourcefn tsdf_trunc_dist(&self) -> f32
fn tsdf_trunc_dist(&self) -> f32
distance to truncate in meters Read more
sourcefn tsdf_max_weight(&self) -> i32
fn tsdf_max_weight(&self) -> i32
max number of frames per voxel Read more
sourcefn raycast_step_factor(&self) -> f32
fn raycast_step_factor(&self) -> f32
A length of one raycast step 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 Read more
sourceimpl Drop for ColoredKinfu_Params
impl Drop for ColoredKinfu_Params
impl Send for ColoredKinfu_Params
Auto Trait Implementations
impl RefUnwindSafe for ColoredKinfu_Params
impl !Sync for ColoredKinfu_Params
impl Unpin for ColoredKinfu_Params
impl UnwindSafe for ColoredKinfu_Params
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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