pub trait GeneralizedHough: AlgorithmTrait + GeneralizedHoughConst {
    fn as_raw_mut_GeneralizedHough(&mut self) -> *mut c_void;

    fn set_template(
        &mut self,
        templ: &dyn ToInputArray,
        templ_center: Point
    ) -> Result<()> { ... } fn set_template_1(
        &mut self,
        edges: &dyn ToInputArray,
        dx: &dyn ToInputArray,
        dy: &dyn ToInputArray,
        templ_center: Point
    ) -> Result<()> { ... } fn detect(
        &mut self,
        image: &dyn ToInputArray,
        positions: &mut dyn ToOutputArray,
        votes: &mut dyn ToOutputArray
    ) -> Result<()> { ... } fn detect_with_edges(
        &mut self,
        edges: &dyn ToInputArray,
        dx: &dyn ToInputArray,
        dy: &dyn ToInputArray,
        positions: &mut dyn ToOutputArray,
        votes: &mut dyn ToOutputArray
    ) -> Result<()> { ... } fn set_canny_low_thresh(&mut self, canny_low_thresh: i32) -> Result<()> { ... } fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()> { ... } fn set_min_dist(&mut self, min_dist: f64) -> Result<()> { ... } fn set_dp(&mut self, dp: f64) -> Result<()> { ... } fn set_max_buffer_size(&mut self, max_buffer_size: i32) -> Result<()> { ... } }

Required Methods§

Provided Methods§

set template to search

C++ default parameters
  • templ_center: Point(-1,-1)
C++ default parameters
  • templ_center: Point(-1,-1)

find template on image

C++ default parameters
  • votes: noArray()
C++ default parameters
  • votes: noArray()

Canny low threshold.

Canny high threshold.

Minimum distance between the centers of the detected objects.

Inverse ratio of the accumulator resolution to the image resolution.

Maximal size of inner buffers.

Implementors§