[][src]Trait opencv::prelude::Dynafu_ParamsTrait

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

Required methods

Loading content...

Provided methods

fn frame_size(&self) -> Size

frame size in pixels

fn set_frame_size(&mut self, val: Size)

frame size in pixels

fn intr(&self) -> Matx33f

camera intrinsics

fn set_intr(&mut self, val: Matx33f)

camera intrinsics

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

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

fn bilateral_sigma_depth(&self) -> f32

Depth sigma in meters for bilateral smooth

fn set_bilateral_sigma_depth(&mut self, val: f32)

Depth sigma in meters for bilateral smooth

fn bilateral_sigma_spatial(&self) -> f32

Spatial sigma in pixels for bilateral smooth

fn set_bilateral_sigma_spatial(&mut self, val: f32)

Spatial sigma in pixels for bilateral smooth

fn bilateral_kernel_size(&self) -> i32

Kernel size in pixels for bilateral smooth

fn set_bilateral_kernel_size(&mut self, val: i32)

Kernel size in pixels for bilateral smooth

fn pyramid_levels(&self) -> i32

Number of pyramid levels for ICP

fn set_pyramid_levels(&mut self, val: i32)

Number of pyramid levels for ICP

fn volume_dims(&self) -> Vec3i

Resolution of voxel space

Number of voxels in each dimension.

fn set_volume_dims(&mut self, val: Vec3i)

Resolution of voxel space

Number of voxels in each dimension.

fn voxel_size(&self) -> f32

Size of voxel in meters

fn set_voxel_size(&mut self, val: f32)

Size of voxel in meters

fn tsdf_min_camera_movement(&self) -> f32

Minimal camera movement in meters

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

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.

fn volume_pose(&self) -> Affine3f

initial volume pose in meters

fn set_volume_pose(&mut self, val: Affine3f)

initial volume pose in meters

fn tsdf_trunc_dist(&self) -> f32

distance to truncate in meters

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

fn set_tsdf_trunc_dist(&mut self, val: f32)

distance to truncate in meters

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

fn tsdf_max_weight(&self) -> i32

max number of frames per voxel

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

fn set_tsdf_max_weight(&mut self, val: i32)

max number of frames per voxel

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

fn raycast_step_factor(&self) -> f32

A length of one raycast step

How much voxel sizes we skip each raycast step

fn set_raycast_step_factor(&mut self, val: f32)

A length of one raycast step

How much voxel sizes we skip each raycast step

fn light_pose(&self) -> Vec3f

light pose for rendering in meters

fn set_light_pose(&mut self, val: Vec3f)

light pose for rendering in meters

fn icp_dist_thresh(&self) -> f32

distance theshold for ICP in meters

fn set_icp_dist_thresh(&mut self, val: f32)

distance theshold for ICP in meters

fn icp_angle_thresh(&self) -> f32

angle threshold for ICP in radians

fn set_icp_angle_thresh(&mut self, val: f32)

angle threshold for ICP in radians

fn icp_iterations(&mut self) -> Vector<i32>

number of ICP iterations for each pyramid level

fn set_icp_iterations(&mut self, val: Vector<i32>)

number of ICP iterations for each pyramid level

fn truncate_threshold(&self) -> f32

Threshold for depth truncation in meters

All depth values beyond this threshold will be set to zero

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

Loading content...

Implementors

Loading content...