[][src]Struct opencv::rgbd::RgbdPlane

pub struct RgbdPlane { /* fields omitted */ }

Object that can compute planes in an image

Implementations

impl RgbdPlane[src]

impl RgbdPlane[src]

pub fn new(method: i32) -> Result<RgbdPlane>[src]

C++ default parameters

  • method: RgbdPlane::RGBD_PLANE_METHOD_DEFAULT

pub fn new_1(
    method: i32,
    block_size: i32,
    min_size: i32,
    threshold: f64,
    sensor_error_a: f64,
    sensor_error_b: f64,
    sensor_error_c: f64
) -> Result<RgbdPlane>
[src]

Constructor

Parameters

  • block_size: The size of the blocks to look at for a stable MSE
  • min_size: The minimum size of a cluster to be considered a plane
  • threshold: The maximum distance of a point from a plane to belong to it (in meters)
  • sensor_error_a: coefficient of the sensor error. 0 by default, 0.0075 for a Kinect
  • sensor_error_b: coefficient of the sensor error. 0 by default
  • sensor_error_c: coefficient of the sensor error. 0 by default
  • method: The method to use to compute the planes.

C++ default parameters

  • sensor_error_a: 0
  • sensor_error_b: 0
  • sensor_error_c: 0

pub fn create(
    method: i32,
    block_size: i32,
    min_size: i32,
    threshold: f64,
    sensor_error_a: f64,
    sensor_error_b: f64,
    sensor_error_c: f64
) -> Result<Ptr<RgbdPlane>>
[src]

C++ default parameters

  • sensor_error_a: 0
  • sensor_error_b: 0
  • sensor_error_c: 0

Trait Implementations

impl AlgorithmTrait for RgbdPlane[src]

impl Boxed for RgbdPlane[src]

impl Drop for RgbdPlane[src]

impl RgbdPlaneTrait for RgbdPlane[src]

impl Send for RgbdPlane[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.