HoughModes
import { HoughModes } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Native object: release it with using or delete(). Factories can return null; check before calling methods.
imgproc_shape
Variants of a Hough transform
Constructors and members
static HOUGH_STANDARD
probabilistic Hough transform (more efficient in case if the picture contains a few long
HOUGH_STANDARD: HoughModesValue<0>,static 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_PROBABILISTIC: HoughModesValue<1>,static HOUGH_MULTI_SCALE
multi-scale variant of the classical Hough transform. The lines are encoded the same way as HOUGH_STANDARD.
HOUGH_MULTI_SCALE: HoughModesValue<2>,static HOUGH_GRADIENT
variation of HOUGH_GRADIENT to get better accuracy
HOUGH_GRADIENT: HoughModesValue<3>,static HOUGH_GRADIENT_ALT
variation of HOUGH_GRADIENT to get better accuracy
HOUGH_GRADIENT_ALT: HoughModesValue<4>These signatures describe this package. Upstream documentation can mention optional backends that are absent from this build. Check runtime compatibility before choosing a backend or file format.