[][src]Trait opencv::hub_prelude::CUDA_HoughSegmentDetector

pub trait CUDA_HoughSegmentDetector: AlgorithmTrait {
    pub fn as_raw_CUDA_HoughSegmentDetector(&self) -> *const c_void;
pub fn as_raw_mut_CUDA_HoughSegmentDetector(&mut self) -> *mut c_void; pub fn detect(
        &mut self,
        src: &dyn ToInputArray,
        lines: &mut dyn ToOutputArray,
        stream: &mut Stream
    ) -> Result<()> { ... }
pub fn set_rho(&mut self, rho: f32) -> Result<()> { ... }
pub fn get_rho(&self) -> Result<f32> { ... }
pub fn set_theta(&mut self, theta: f32) -> Result<()> { ... }
pub fn get_theta(&self) -> Result<f32> { ... }
pub fn set_min_line_length(&mut self, min_line_length: i32) -> Result<()> { ... }
pub fn get_min_line_length(&self) -> Result<i32> { ... }
pub fn set_max_line_gap(&mut self, max_line_gap: i32) -> Result<()> { ... }
pub fn get_max_line_gap(&self) -> Result<i32> { ... }
pub fn set_max_lines(&mut self, max_lines: i32) -> Result<()> { ... }
pub fn get_max_lines(&self) -> Result<i32> { ... } }

Base class for line segments detector algorithm. :

Required methods

Loading content...

Provided methods

pub fn detect(
    &mut self,
    src: &dyn ToInputArray,
    lines: &mut dyn ToOutputArray,
    stream: &mut Stream
) -> Result<()>
[src]

Finds line segments in a binary image using the probabilistic Hough transform.

Parameters

  • src: 8-bit, single-channel binary source image.
  • lines: Output vector of lines. Each line is represented by a 4-element vector inline formula , where inline formula and inline formula are the ending points of each detected line segment.
  • stream: Stream for the asynchronous version.

See also

HoughLinesP

C++ default parameters

  • stream: Stream::Null()

pub fn set_rho(&mut self, rho: f32) -> Result<()>[src]

pub fn get_rho(&self) -> Result<f32>[src]

pub fn set_theta(&mut self, theta: f32) -> Result<()>[src]

pub fn get_theta(&self) -> Result<f32>[src]

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

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

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

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

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

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

Loading content...

Implementors

Loading content...