[−][src]Trait opencv::hub_prelude::RansacParamsTrait
Describes RANSAC method parameters.
Required methods
fn as_raw_RansacParams(&self) -> *mut c_void
Provided methods
fn size(&self) -> i32
subset size
fn set_size(&mut self, val: i32)
subset size
fn thresh(&self) -> f32
max error to classify as inlier
fn set_thresh(&mut self, val: f32)
max error to classify as inlier
fn eps(&self) -> f32
max outliers ratio
fn set_eps(&mut self, val: f32)
max outliers ratio
fn prob(&self) -> f32
probability of success
fn set_prob(&mut self, val: f32)
probability of success
fn niters(&self) -> Result<i32>
Returns
Number of iterations that'll be performed by RANSAC method.