Skip to content

HoughLinesWithAccumulator

Image processingfunctionOpenCV 5.0.0
import { HoughLinesWithAccumulator } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

ARGUMENTSimage, lines, rho, theta
FUNCTIONHoughLinesWithAccumulator
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Finds lines in a binary image using the standard Hough transform and get accumulator.

Note: This function is for bindings use only. Use original function in C++ code

See: HoughLines

HoughLinesWithAccumulator(image: Mat, lines: Mat, rho: number, theta: number, threshold: number, srn: number, stn: number, min_theta: number, max_theta: number, use_edgeval: boolean): void;
6 available overloads
HoughLinesWithAccumulator(image: Mat, lines: Mat, rho: number, theta: number, threshold: number): void;
HoughLinesWithAccumulator(image: Mat, lines: Mat, rho: number, theta: number, threshold: number, srn: number): void;
HoughLinesWithAccumulator(image: Mat, lines: Mat, rho: number, theta: number, threshold: number, srn: number, stn: number): void;
HoughLinesWithAccumulator(image: Mat, lines: Mat, rho: number, theta: number, threshold: number, srn: number, stn: number, min_theta: number): void;
HoughLinesWithAccumulator(image: Mat, lines: Mat, rho: number, theta: number, threshold: number, srn: number, stn: number, min_theta: number, max_theta: number): void;
HoughLinesWithAccumulator(image: Mat, lines: Mat, rho: number, theta: number, threshold: number, srn: number, stn: number, min_theta: number, max_theta: number, use_edgeval: boolean): void;
image

image argument (Mat).

lines

Output destination, filled by the native operation. lines argument (Mat).

rho

rho argument (number).

theta

theta argument (number).

threshold

threshold argument (number).

srn

srn argument (number).

stn

stn argument (number).

min_theta

min theta argument (number).

max_theta

max theta argument (number).

use_edgeval

use edgeval argument (boolean).

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.