Skip to content

ximgproc_FastHoughTransform

Extended image processingfunctionOpenCV 5.0.0
import { ximgproc_FastHoughTransform } from '@banou/opencv-wasm'

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

ARGUMENTSsrc, dst, dstMatDepth, angleRange
FUNCTIONximgproc_FastHoughTransform
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Calculates 2D Fast Hough transform of an image.

ximgproc_FastHoughTransform(src: Mat, dst: Mat, dstMatDepth: number, angleRange: number, op: number, makeSkew: number): void;
4 available overloads
ximgproc_FastHoughTransform(src: Mat, dst: Mat, dstMatDepth: number): void;
ximgproc_FastHoughTransform(src: Mat, dst: Mat, dstMatDepth: number, angleRange: number): void;
ximgproc_FastHoughTransform(src: Mat, dst: Mat, dstMatDepth: number, angleRange: number, op: number): void;
ximgproc_FastHoughTransform(src: Mat, dst: Mat, dstMatDepth: number, angleRange: number, op: number, makeSkew: number): void;
src

The source (input) image.

dst

Output destination, filled by the native operation. The destination image, result of transformation.

dstMatDepth

The depth of destination image

angleRange

The part of Hough space to calculate, see cv::AngleRangeOption

op

The operation to be applied, see cv::HoughOp

makeSkew

Specifies to do or not to do image skewing, see cv::HoughDeskewOption

The function calculates the fast Hough transform for full, half or quarter range of angles.

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.