[−][src]Struct opencv::rgbd::RgbdPlane
Object that can compute planes in an image
Implementations
impl RgbdPlane
[src]
pub fn as_raw_RgbdPlane(&self) -> *const c_void
[src]
pub fn as_raw_mut_RgbdPlane(&mut self) -> *mut c_void
[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]
method: i32,
block_size: i32,
min_size: i32,
threshold: f64,
sensor_error_a: f64,
sensor_error_b: f64,
sensor_error_c: f64
) -> Result<RgbdPlane>
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]
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>>
C++ default parameters
- sensor_error_a: 0
- sensor_error_b: 0
- sensor_error_c: 0
Trait Implementations
impl AlgorithmTrait for RgbdPlane
[src]
pub fn as_raw_Algorithm(&self) -> *const c_void
[src]
pub fn as_raw_mut_Algorithm(&mut self) -> *mut c_void
[src]
pub fn clear(&mut self) -> Result<()>
[src]
pub fn write(&self, fs: &mut FileStorage) -> Result<()>
[src]
pub fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
[src]
pub fn read(&mut self, fn_: &FileNode) -> Result<()>
[src]
pub fn empty(&self) -> Result<bool>
[src]
pub fn save(&self, filename: &str) -> Result<()>
[src]
pub fn get_default_name(&self) -> Result<String>
[src]
impl Boxed for RgbdPlane
[src]
pub unsafe fn from_raw(ptr: *mut c_void) -> Self
[src]
pub fn into_raw(self) -> *mut c_void
[src]
pub fn as_raw(&self) -> *const c_void
[src]
pub fn as_raw_mut(&mut self) -> *mut c_void
[src]
impl Drop for RgbdPlane
[src]
impl RgbdPlaneTrait for RgbdPlane
[src]
pub fn as_raw_RgbdPlane(&self) -> *const c_void
[src]
pub fn as_raw_mut_RgbdPlane(&mut self) -> *mut c_void
[src]
pub fn get_block_size(&self) -> Result<i32>
[src]
pub fn set_block_size(&mut self, val: i32) -> Result<()>
[src]
pub fn get_min_size(&self) -> Result<i32>
[src]
pub fn set_min_size(&mut self, val: i32) -> Result<()>
[src]
pub fn get_method(&self) -> Result<i32>
[src]
pub fn set_method(&mut self, val: i32) -> Result<()>
[src]
pub fn get_threshold(&self) -> Result<f64>
[src]
pub fn set_threshold(&mut self, val: f64) -> Result<()>
[src]
pub fn get_sensor_error_a(&self) -> Result<f64>
[src]
pub fn set_sensor_error_a(&mut self, val: f64) -> Result<()>
[src]
pub fn get_sensor_error_b(&self) -> Result<f64>
[src]
pub fn set_sensor_error_b(&mut self, val: f64) -> Result<()>
[src]
pub fn get_sensor_error_c(&self) -> Result<f64>
[src]
pub fn set_sensor_error_c(&mut self, val: f64) -> Result<()>
[src]
impl Send for RgbdPlane
[src]
Auto Trait Implementations
impl RefUnwindSafe for RgbdPlane
[src]
impl !Sync for RgbdPlane
[src]
impl Unpin for RgbdPlane
[src]
impl UnwindSafe for RgbdPlane
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,