[][src]Trait opencv::hub_prelude::GeneralizedHough

pub trait GeneralizedHough: AlgorithmTrait {
    pub fn as_raw_GeneralizedHough(&self) -> *const c_void;
pub fn as_raw_mut_GeneralizedHough(&mut self) -> *mut c_void; pub fn set_template(
        &mut self,
        templ: &dyn ToInputArray,
        templ_center: Point
    ) -> Result<()> { ... }
pub fn set_template_1(
        &mut self,
        edges: &dyn ToInputArray,
        dx: &dyn ToInputArray,
        dy: &dyn ToInputArray,
        templ_center: Point
    ) -> Result<()> { ... }
pub fn detect(
        &mut self,
        image: &dyn ToInputArray,
        positions: &mut dyn ToOutputArray,
        votes: &mut dyn ToOutputArray
    ) -> Result<()> { ... }
pub fn detect_with_edges(
        &mut self,
        edges: &dyn ToInputArray,
        dx: &dyn ToInputArray,
        dy: &dyn ToInputArray,
        positions: &mut dyn ToOutputArray,
        votes: &mut dyn ToOutputArray
    ) -> Result<()> { ... }
pub fn set_canny_low_thresh(&mut self, canny_low_thresh: i32) -> Result<()> { ... }
pub fn get_canny_low_thresh(&self) -> Result<i32> { ... }
pub fn set_canny_high_thresh(
        &mut self,
        canny_high_thresh: i32
    ) -> Result<()> { ... }
pub fn get_canny_high_thresh(&self) -> Result<i32> { ... }
pub fn set_min_dist(&mut self, min_dist: f64) -> Result<()> { ... }
pub fn get_min_dist(&self) -> Result<f64> { ... }
pub fn set_dp(&mut self, dp: f64) -> Result<()> { ... }
pub fn get_dp(&self) -> Result<f64> { ... }
pub fn set_max_buffer_size(&mut self, max_buffer_size: i32) -> Result<()> { ... }
pub fn get_max_buffer_size(&self) -> Result<i32> { ... } }

finds arbitrary template in the grayscale image using Generalized Hough Transform

Required methods

Loading content...

Provided methods

pub fn set_template(
    &mut self,
    templ: &dyn ToInputArray,
    templ_center: Point
) -> Result<()>
[src]

set template to search

C++ default parameters

  • templ_center: Point(-1,-1)

pub fn set_template_1(
    &mut self,
    edges: &dyn ToInputArray,
    dx: &dyn ToInputArray,
    dy: &dyn ToInputArray,
    templ_center: Point
) -> Result<()>
[src]

C++ default parameters

  • templ_center: Point(-1,-1)

pub fn detect(
    &mut self,
    image: &dyn ToInputArray,
    positions: &mut dyn ToOutputArray,
    votes: &mut dyn ToOutputArray
) -> Result<()>
[src]

find template on image

C++ default parameters

  • votes: noArray()

pub fn detect_with_edges(
    &mut self,
    edges: &dyn ToInputArray,
    dx: &dyn ToInputArray,
    dy: &dyn ToInputArray,
    positions: &mut dyn ToOutputArray,
    votes: &mut dyn ToOutputArray
) -> Result<()>
[src]

C++ default parameters

  • votes: noArray()

pub fn set_canny_low_thresh(&mut self, canny_low_thresh: i32) -> Result<()>[src]

Canny low threshold.

pub fn get_canny_low_thresh(&self) -> Result<i32>[src]

pub fn set_canny_high_thresh(&mut self, canny_high_thresh: i32) -> Result<()>[src]

Canny high threshold.

pub fn get_canny_high_thresh(&self) -> Result<i32>[src]

pub fn set_min_dist(&mut self, min_dist: f64) -> Result<()>[src]

Minimum distance between the centers of the detected objects.

pub fn get_min_dist(&self) -> Result<f64>[src]

pub fn set_dp(&mut self, dp: f64) -> Result<()>[src]

Inverse ratio of the accumulator resolution to the image resolution.

pub fn get_dp(&self) -> Result<f64>[src]

pub fn set_max_buffer_size(&mut self, max_buffer_size: i32) -> Result<()>[src]

Maximal size of inner buffers.

pub fn get_max_buffer_size(&self) -> Result<i32>[src]

Loading content...

Implementors

Loading content...