[][src]Struct opencv::rgbd::FastICPOdometry

pub struct FastICPOdometry { /* fields omitted */ }

A faster version of ICPOdometry which is used in KinectFusion implementation Partial list of differences:

  • Works in parallel
  • Written in universal intrinsics
  • Filters points by angle
  • Interpolates points and normals
  • Doesn't use masks or min/max depth filtering
  • Doesn't use random subsets of points
  • Supports only Rt transform type
  • Supports only 4-float vectors as input type

Implementations

impl FastICPOdometry[src]

impl FastICPOdometry[src]

pub fn default() -> Result<FastICPOdometry>[src]

pub fn new(
    camera_matrix: &Mat,
    max_dist_diff: f32,
    angle_threshold: f32,
    sigma_depth: f32,
    sigma_spatial: f32,
    kernel_size: i32,
    iter_counts: &Vector<i32>
) -> Result<FastICPOdometry>
[src]

Constructor.

Parameters

  • cameraMatrix: Camera matrix
  • maxDistDiff: Correspondences between pixels of two given frames will be filtered out if their depth difference is larger than maxDepthDiff
  • angleThreshold: Correspondence will be filtered out if an angle between their normals is bigger than threshold
  • sigmaDepth: Depth sigma in meters for bilateral smooth
  • sigmaSpatial: Spatial sigma in pixels for bilateral smooth
  • kernelSize: Kernel size in pixels for bilateral smooth
  • iterCounts: Count of iterations on each pyramid level

C++ default parameters

  • max_dist_diff: Odometry::DEFAULT_MAX_DEPTH_DIFF()
  • angle_threshold: (float)(30.*CV_PI/180.)
  • sigma_depth: 0.04f
  • sigma_spatial: 4.5f
  • kernel_size: 7
  • iter_counts: std::vector()

pub fn create(
    camera_matrix: &Mat,
    max_dist_diff: f32,
    angle_threshold: f32,
    sigma_depth: f32,
    sigma_spatial: f32,
    kernel_size: i32,
    iter_counts: &Vector<i32>
) -> Result<Ptr<FastICPOdometry>>
[src]

C++ default parameters

  • max_dist_diff: Odometry::DEFAULT_MAX_DEPTH_DIFF()
  • angle_threshold: (float)(30.*CV_PI/180.)
  • sigma_depth: 0.04f
  • sigma_spatial: 4.5f
  • kernel_size: 7
  • iter_counts: std::vector()

Trait Implementations

impl AlgorithmTrait for FastICPOdometry[src]

impl Boxed for FastICPOdometry[src]

impl Drop for FastICPOdometry[src]

impl FastICPOdometryTrait for FastICPOdometry[src]

impl Odometry for FastICPOdometry[src]

impl Send for FastICPOdometry[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.