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

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.