Trait opencv::hub_prelude::GeneralizedHoughBallard
source · pub trait GeneralizedHoughBallard: GeneralizedHough + GeneralizedHoughBallardConst {
// Required method
fn as_raw_mut_GeneralizedHoughBallard(&mut self) -> *mut c_void;
// Provided methods
fn set_levels(&mut self, levels: i32) -> Result<()> { ... }
fn set_votes_threshold(&mut self, votes_threshold: i32) -> Result<()> { ... }
}
Expand description
finds arbitrary template in the grayscale image using Generalized Hough Transform
Detects position only without translation and rotation Ballard1981 .
Required Methods§
fn as_raw_mut_GeneralizedHoughBallard(&mut self) -> *mut c_void
Provided Methods§
sourcefn set_levels(&mut self, levels: i32) -> Result<()>
fn set_levels(&mut self, levels: i32) -> Result<()>
R-Table levels.
sourcefn set_votes_threshold(&mut self, votes_threshold: i32) -> Result<()>
fn set_votes_threshold(&mut self, votes_threshold: i32) -> Result<()>
The accumulator threshold for the template centers at the detection stage. The smaller it is, the more false positions may be detected.