Trait opencv::imgproc::GeneralizedHough [] [src]

pub trait GeneralizedHough: Algorithm {
    fn as_raw_GeneralizedHough(&self) -> *mut c_void;

    fn create(&mut self, method: i32) -> Result<PtrOfGeneralizedHough, String> { ... }
    fn set_template(&mut self, edges: &Mat, dx: &Mat, dy: &Mat, templCenter: Point) -> Result<(), String> { ... }
    fn detect(&mut self, image: &Mat, positions: &Mat, votes: &Mat, cannyThreshold: i32) -> Result<(), String> { ... }
    fn detect_edges(&mut self, edges: &Mat, dx: &Mat, dy: &Mat, positions: &Mat, votes: &Mat) -> Result<(), String> { ... }
    fn release(&mut self) -> Result<(), String> { ... }
}

Required Methods

fn as_raw_GeneralizedHough(&self) -> *mut c_void

Provided Methods

fn create(&mut self, method: i32) -> Result<PtrOfGeneralizedHough, String>

fn set_template(&mut self, edges: &Mat, dx: &Mat, dy: &Mat, templCenter: Point) -> Result<(), String>

fault value for arguments: - templCenter: default Point(-1, -1)

fn detect(&mut self, image: &Mat, positions: &Mat, votes: &Mat, cannyThreshold: i32) -> Result<(), String>

find template on image

default value for arguments: - votes: default cv::noArray() - cannyThreshold: default 100

fn detect_edges(&mut self, edges: &Mat, dx: &Mat, dy: &Mat, positions: &Mat, votes: &Mat) -> Result<(), String>

fault value for arguments: - votes: default cv::noArray()

fn release(&mut self) -> Result<(), String>

Implementors