[−][src]Trait opencv::prelude::CUDA_HoughSegmentDetector
Base class for line segments detector algorithm. :
Required methods
pub fn as_raw_CUDA_HoughSegmentDetector(&self) -> *const c_void
[src]
pub fn as_raw_mut_CUDA_HoughSegmentDetector(&mut self) -> *mut c_void
[src]
Provided methods
pub fn detect(
&mut self,
src: &dyn ToInputArray,
lines: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
[src]
&mut self,
src: &dyn ToInputArray,
lines: &mut dyn ToOutputArray,
stream: &mut Stream
) -> Result<()>
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 , where and are the ending points of each detected line segment.
- stream: Stream for the asynchronous version.
See also
HoughLinesP
C++ default parameters
- stream: Stream::Null()