[][src]Trait opencv::hub_prelude::Kinfu_ParamsTrait

pub trait Kinfu_ParamsTrait {
    pub fn as_raw_Kinfu_Params(&self) -> *const c_void;
pub fn as_raw_mut_Kinfu_Params(&mut self) -> *mut c_void; pub fn frame_size(&self) -> Size { ... }
pub fn set_frame_size(&mut self, val: Size) { ... }
pub fn volume_type(&self) -> Kinfu_VolumeType { ... }
pub fn set_volume_type(&mut self, val: Kinfu_VolumeType) { ... }
pub fn intr(&self) -> Matx33f { ... }
pub fn set_intr(&mut self, val: Matx33f) { ... }
pub fn depth_factor(&self) -> f32 { ... }
pub fn set_depth_factor(&mut self, val: f32) { ... }
pub fn bilateral_sigma_depth(&self) -> f32 { ... }
pub fn set_bilateral_sigma_depth(&mut self, val: f32) { ... }
pub fn bilateral_sigma_spatial(&self) -> f32 { ... }
pub fn set_bilateral_sigma_spatial(&mut self, val: f32) { ... }
pub fn bilateral_kernel_size(&self) -> i32 { ... }
pub fn set_bilateral_kernel_size(&mut self, val: i32) { ... }
pub fn pyramid_levels(&self) -> i32 { ... }
pub fn set_pyramid_levels(&mut self, val: i32) { ... }
pub fn volume_dims(&self) -> Vec3i { ... }
pub fn set_volume_dims(&mut self, val: Vec3i) { ... }
pub fn voxel_size(&self) -> f32 { ... }
pub fn set_voxel_size(&mut self, val: f32) { ... }
pub fn tsdf_min_camera_movement(&self) -> f32 { ... }
pub fn set_tsdf_min_camera_movement(&mut self, val: f32) { ... }
pub fn volume_pose(&self) -> Affine3f { ... }
pub fn set_volume_pose(&mut self, val: Affine3f) { ... }
pub fn tsdf_trunc_dist(&self) -> f32 { ... }
pub fn set_tsdf_trunc_dist(&mut self, val: f32) { ... }
pub fn tsdf_max_weight(&self) -> i32 { ... }
pub fn set_tsdf_max_weight(&mut self, val: i32) { ... }
pub fn raycast_step_factor(&self) -> f32 { ... }
pub fn set_raycast_step_factor(&mut self, val: f32) { ... }
pub fn light_pose(&self) -> Vec3f { ... }
pub fn set_light_pose(&mut self, val: Vec3f) { ... }
pub fn icp_dist_thresh(&self) -> f32 { ... }
pub fn set_icp_dist_thresh(&mut self, val: f32) { ... }
pub fn icp_angle_thresh(&self) -> f32 { ... }
pub fn set_icp_angle_thresh(&mut self, val: f32) { ... }
pub fn icp_iterations(&mut self) -> Vector<i32> { ... }
pub fn set_icp_iterations(&mut self, val: Vector<i32>) { ... }
pub fn truncate_threshold(&self) -> f32 { ... }
pub fn set_truncate_threshold(&mut self, val: f32) { ... }
pub fn set_initial_volume_pose(
        &mut self,
        r: Matx33f,
        t: Vec3f
    ) -> Result<()> { ... }
pub fn set_initial_volume_pose_1(
        &mut self,
        homogen_tf: Matx44f
    ) -> Result<()> { ... } }

Required methods

Loading content...

Provided methods

pub fn frame_size(&self) -> Size[src]

frame size in pixels

pub fn set_frame_size(&mut self, val: Size)[src]

frame size in pixels

pub fn volume_type(&self) -> Kinfu_VolumeType[src]

pub fn set_volume_type(&mut self, val: Kinfu_VolumeType)[src]

pub fn intr(&self) -> Matx33f[src]

camera intrinsics

pub fn set_intr(&mut self, val: Matx33f)[src]

camera intrinsics

pub fn depth_factor(&self) -> f32[src]

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

pub fn set_depth_factor(&mut self, val: f32)[src]

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

pub fn bilateral_sigma_depth(&self) -> f32[src]

Depth sigma in meters for bilateral smooth

pub fn set_bilateral_sigma_depth(&mut self, val: f32)[src]

Depth sigma in meters for bilateral smooth

pub fn bilateral_sigma_spatial(&self) -> f32[src]

Spatial sigma in pixels for bilateral smooth

pub fn set_bilateral_sigma_spatial(&mut self, val: f32)[src]

Spatial sigma in pixels for bilateral smooth

pub fn bilateral_kernel_size(&self) -> i32[src]

Kernel size in pixels for bilateral smooth

pub fn set_bilateral_kernel_size(&mut self, val: i32)[src]

Kernel size in pixels for bilateral smooth

pub fn pyramid_levels(&self) -> i32[src]

Number of pyramid levels for ICP

pub fn set_pyramid_levels(&mut self, val: i32)[src]

Number of pyramid levels for ICP

pub fn volume_dims(&self) -> Vec3i[src]

Resolution of voxel space

Number of voxels in each dimension.

pub fn set_volume_dims(&mut self, val: Vec3i)[src]

Resolution of voxel space

Number of voxels in each dimension.

pub fn voxel_size(&self) -> f32[src]

Size of voxel in meters

pub fn set_voxel_size(&mut self, val: f32)[src]

Size of voxel in meters

pub fn tsdf_min_camera_movement(&self) -> f32[src]

Minimal camera movement in meters

Integrate new depth frame only if camera movement exceeds this value.

pub fn set_tsdf_min_camera_movement(&mut self, val: f32)[src]

Minimal camera movement in meters

Integrate new depth frame only if camera movement exceeds this value.

pub fn volume_pose(&self) -> Affine3f[src]

initial volume pose in meters

pub fn set_volume_pose(&mut self, val: Affine3f)[src]

initial volume pose in meters

pub fn tsdf_trunc_dist(&self) -> f32[src]

distance to truncate in meters

Distances to surface that exceed this value will be truncated to 1.0.

pub fn set_tsdf_trunc_dist(&mut self, val: f32)[src]

distance to truncate in meters

Distances to surface that exceed this value will be truncated to 1.0.

pub fn tsdf_max_weight(&self) -> i32[src]

max number of frames per voxel

Each voxel keeps running average of distances no longer than this value.

pub fn set_tsdf_max_weight(&mut self, val: i32)[src]

max number of frames per voxel

Each voxel keeps running average of distances no longer than this value.

pub fn raycast_step_factor(&self) -> f32[src]

A length of one raycast step

How much voxel sizes we skip each raycast step

pub fn set_raycast_step_factor(&mut self, val: f32)[src]

A length of one raycast step

How much voxel sizes we skip each raycast step

pub fn light_pose(&self) -> Vec3f[src]

light pose for rendering in meters

pub fn set_light_pose(&mut self, val: Vec3f)[src]

light pose for rendering in meters

pub fn icp_dist_thresh(&self) -> f32[src]

distance theshold for ICP in meters

pub fn set_icp_dist_thresh(&mut self, val: f32)[src]

distance theshold for ICP in meters

pub fn icp_angle_thresh(&self) -> f32[src]

angle threshold for ICP in radians

pub fn set_icp_angle_thresh(&mut self, val: f32)[src]

angle threshold for ICP in radians

pub fn icp_iterations(&mut self) -> Vector<i32>[src]

number of ICP iterations for each pyramid level

pub fn set_icp_iterations(&mut self, val: Vector<i32>)[src]

number of ICP iterations for each pyramid level

pub fn truncate_threshold(&self) -> f32[src]

Threshold for depth truncation in meters

All depth values beyond this threshold will be set to zero

pub fn set_truncate_threshold(&mut self, val: f32)[src]

Threshold for depth truncation in meters

All depth values beyond this threshold will be set to zero

pub fn set_initial_volume_pose(&mut self, r: Matx33f, t: Vec3f) -> Result<()>[src]

Set Initial Volume Pose Sets the initial pose of the TSDF volume.

Parameters

  • R: rotation matrix
  • t: translation vector

pub fn set_initial_volume_pose_1(&mut self, homogen_tf: Matx44f) -> Result<()>[src]

Set Initial Volume Pose Sets the initial pose of the TSDF volume.

Parameters

  • homogen_tf: 4 by 4 Homogeneous Transform matrix to set the intial pose of TSDF volume
Loading content...

Implementors

impl Kinfu_ParamsTrait for Kinfu_Params[src]

impl Kinfu_ParamsTrait for PtrOfKinfu_Params[src]

Loading content...