Struct opencv::cudaimgproc::CUDA_HoughLinesDetector
source · pub struct CUDA_HoughLinesDetector { /* private fields */ }Expand description
Base class for lines detector algorithm. :
Trait Implementations§
source§impl AlgorithmTraitConst for CUDA_HoughLinesDetector
impl AlgorithmTraitConst for CUDA_HoughLinesDetector
fn as_raw_Algorithm(&self) -> *const c_void
source§fn write(&self, fs: &mut FileStorage) -> Result<()>
fn write(&self, fs: &mut FileStorage) -> Result<()>
Stores algorithm parameters in a file storage
source§fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>
fn write_1(&self, fs: &mut FileStorage, name: &str) -> Result<()>
Stores algorithm parameters in a file storage Read more
source§fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
fn write_with_name(&self, fs: &Ptr<FileStorage>, name: &str) -> Result<()>
@deprecated Read more
source§fn empty(&self) -> Result<bool>
fn empty(&self) -> Result<bool>
Returns true if the Algorithm is empty (e.g. in the very beginning or after unsuccessful read
source§fn save(&self, filename: &str) -> Result<()>
fn save(&self, filename: &str) -> Result<()>
Saves the algorithm to a file.
In order to make this method work, the derived class must implement Algorithm::write(FileStorage& fs).
source§fn get_default_name(&self) -> Result<String>
fn get_default_name(&self) -> Result<String>
Returns the algorithm string identifier.
This string is used as top level xml/yml node tag when the object is saved to a file or string.
source§impl Boxed for CUDA_HoughLinesDetector
impl Boxed for CUDA_HoughLinesDetector
source§impl CUDA_HoughLinesDetectorTrait for CUDA_HoughLinesDetector
impl CUDA_HoughLinesDetectorTrait for CUDA_HoughLinesDetector
fn as_raw_mut_CUDA_HoughLinesDetector(&mut self) -> *mut c_void
source§fn detect(
&mut self,
src: &impl ToInputArray,
lines: &mut impl ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn detect( &mut self, src: &impl ToInputArray, lines: &mut impl ToOutputArray, stream: &mut Stream ) -> Result<()>
Finds lines in a binary image using the classical Hough transform. Read more
source§fn download_results(
&mut self,
d_lines: &impl ToInputArray,
h_lines: &mut impl ToOutputArray,
h_votes: &mut impl ToOutputArray,
stream: &mut Stream
) -> Result<()>
fn download_results( &mut self, d_lines: &impl ToInputArray, h_lines: &mut impl ToOutputArray, h_votes: &mut impl ToOutputArray, stream: &mut Stream ) -> Result<()>
Downloads results from cuda::HoughLinesDetector::detect to host memory. Read more
fn set_rho(&mut self, rho: f32) -> Result<()>
fn set_theta(&mut self, theta: f32) -> Result<()>
fn set_threshold(&mut self, threshold: i32) -> Result<()>
fn set_do_sort(&mut self, do_sort: bool) -> Result<()>
fn set_max_lines(&mut self, max_lines: i32) -> Result<()>
source§impl Debug for CUDA_HoughLinesDetector
impl Debug for CUDA_HoughLinesDetector
source§impl Drop for CUDA_HoughLinesDetector
impl Drop for CUDA_HoughLinesDetector
source§impl From<CUDA_HoughLinesDetector> for Algorithm
impl From<CUDA_HoughLinesDetector> for Algorithm
source§fn from(s: CUDA_HoughLinesDetector) -> Self
fn from(s: CUDA_HoughLinesDetector) -> Self
Converts to this type from the input type.
impl Send for CUDA_HoughLinesDetector
Auto Trait Implementations§
impl RefUnwindSafe for CUDA_HoughLinesDetector
impl !Sync for CUDA_HoughLinesDetector
impl Unpin for CUDA_HoughLinesDetector
impl UnwindSafe for CUDA_HoughLinesDetector
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more