[][src]Enum opencv::imgproc::HoughModes

#[repr(C)]pub enum HoughModes {
    HOUGH_STANDARD,
    HOUGH_PROBABILISTIC,
    HOUGH_MULTI_SCALE,
    HOUGH_GRADIENT,
    HOUGH_GRADIENT_ALT,
}

Variants of a Hough transform

Variants

HOUGH_STANDARD

classical or standard Hough transform. Every line is represented by two floating-point numbers inline formula , where inline formula is a distance between (0,0) point and the line, and inline formula is the angle between x-axis and the normal to the line. Thus, the matrix must be (the created sequence will be) of CV_32FC2 type

HOUGH_PROBABILISTIC

probabilistic Hough transform (more efficient in case if the picture contains a few long linear segments). It returns line segments rather than the whole line. Each segment is represented by starting and ending points, and the matrix must be (the created sequence will be) of the CV_32SC4 type.

HOUGH_MULTI_SCALE

multi-scale variant of the classical Hough transform. The lines are encoded the same way as HOUGH_STANDARD.

HOUGH_GRADIENT

basically 21HT, described in Yuen90

HOUGH_GRADIENT_ALT

variation of HOUGH_GRADIENT to get better accuracy

Trait Implementations

impl Clone for HoughModes[src]

impl Copy for HoughModes[src]

impl Debug for HoughModes[src]

impl PartialEq<HoughModes> for HoughModes[src]

impl StructuralPartialEq for HoughModes[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.