Enum opencv::imgproc::LineSegmentDetectorModes
source · #[repr(C)]pub enum LineSegmentDetectorModes {
LSD_REFINE_NONE = 0,
LSD_REFINE_STD = 1,
LSD_REFINE_ADV = 2,
}
Expand description
Variants of Line Segment %Detector
Variants§
LSD_REFINE_NONE = 0
No refinement applied
LSD_REFINE_STD = 1
Standard refinement is applied. E.g. breaking arches into smaller straighter line approximations.
LSD_REFINE_ADV = 2
Advanced refinement. Number of false alarms is calculated, lines are refined through increase of precision, decrement in size, etc.
Trait Implementations§
source§impl Clone for LineSegmentDetectorModes
impl Clone for LineSegmentDetectorModes
source§fn clone(&self) -> LineSegmentDetectorModes
fn clone(&self) -> LineSegmentDetectorModes
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for LineSegmentDetectorModes
impl Debug for LineSegmentDetectorModes
source§impl From<LineSegmentDetectorModes> for i32
impl From<LineSegmentDetectorModes> for i32
source§fn from(v: LineSegmentDetectorModes) -> Self
fn from(v: LineSegmentDetectorModes) -> Self
Converts to this type from the input type.
source§impl PartialEq for LineSegmentDetectorModes
impl PartialEq for LineSegmentDetectorModes
source§fn eq(&self, other: &LineSegmentDetectorModes) -> bool
fn eq(&self, other: &LineSegmentDetectorModes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<i32> for LineSegmentDetectorModes
impl TryFrom<i32> for LineSegmentDetectorModes
impl Copy for LineSegmentDetectorModes
impl Eq for LineSegmentDetectorModes
impl StructuralPartialEq for LineSegmentDetectorModes
Auto Trait Implementations§
impl Freeze for LineSegmentDetectorModes
impl RefUnwindSafe for LineSegmentDetectorModes
impl Send for LineSegmentDetectorModes
impl Sync for LineSegmentDetectorModes
impl Unpin for LineSegmentDetectorModes
impl UnwindSafe for LineSegmentDetectorModes
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