Struct opencv::rgbd::Params

source ·
pub struct Params { /* private fields */ }

Implementations§

source§

impl Params

source

pub fn default_params() -> Result<Ptr<Params>>

Default parameters A set of parameters which provides better model quality, can be very slow.

source

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.

source

pub fn hash_tsdf_params(is_coarse: bool) -> Result<Ptr<Params>>

HashTSDF parameters A set of parameters suitable for use with HashTSDFVolume

Trait Implementations§

source§

impl Boxed for Params

source§

unsafe fn from_raw(ptr: *mut c_void) -> Self

Wrap the specified raw pointer Read more
source§

fn into_raw(self) -> *mut c_void

Return an the underlying raw pointer while consuming this wrapper. Read more
source§

fn as_raw(&self) -> *const c_void

Return the underlying raw pointer. Read more
source§

fn as_raw_mut(&mut self) -> *mut c_void

Return the underlying mutable raw pointer Read more
source§

impl Debug for Params

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Drop for Params

source§

fn drop(&mut self)

Executes the destructor for this type. Read more
source§

impl ParamsTrait for Params

source§

fn as_raw_mut_Params(&mut self) -> *mut c_void

source§

fn set_frame_size(&mut self, val: Size)

frame size in pixels
source§

fn set_intr(&mut self, val: Matx33f)

camera intrinsics
source§

fn set_rgb_intr(&mut self, val: Matx33f)

rgb camera intrinsics
source§

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
source§

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)

Spatial sigma in pixels for bilateral smooth
source§

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)

Number of pyramid levels for ICP
source§

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.
source§

fn set_light_pose(&mut self, val: Vec3f)

light pose for rendering in meters
source§

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)

angle threshold for ICP in radians
source§

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)

Threshold for depth truncation in meters All depth values beyond this threshold will be set to zero
source§

fn set_volume_params(&mut self, val: Kinfu_VolumeParams)

Volume parameters
source§

impl ParamsTraitConst for Params

source§

fn as_raw_Params(&self) -> *const c_void

source§

fn frame_size(&self) -> Size

frame size in pixels
source§

fn intr(&self) -> Matx33f

camera intrinsics
source§

fn rgb_intr(&self) -> Matx33f

rgb camera intrinsics
source§

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
source§

fn bilateral_sigma_depth(&self) -> f32

Depth sigma in meters for bilateral smooth
source§

fn bilateral_sigma_spatial(&self) -> f32

Spatial sigma in pixels for bilateral smooth
source§

fn bilateral_kernel_size(&self) -> i32

Kernel size in pixels for bilateral smooth
source§

fn pyramid_levels(&self) -> i32

Number of pyramid levels for ICP
source§

fn tsdf_min_camera_movement(&self) -> f32

Minimal camera movement in meters Integrate new depth frame only if camera movement exceeds this value.
source§

fn light_pose(&self) -> Vec3f

light pose for rendering in meters
source§

fn icp_dist_thresh(&self) -> f32

distance theshold for ICP in meters
source§

fn icp_angle_thresh(&self) -> f32

angle threshold for ICP in radians
source§

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

number of ICP iterations for each pyramid level
source§

fn truncate_threshold(&self) -> f32

Threshold for depth truncation in meters All depth values beyond this threshold will be set to zero
source§

fn volume_params(&self) -> Kinfu_VolumeParams

Volume parameters
source§

impl Send for Params

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.