Skip to content

GeneralizedHoughGuil

Image processingclassOpenCV 5.0.0
import { GeneralizedHoughGuil } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSGeneralizedHoughGuil
RETURN TYPEOwned native handle
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Native object: release it with using or delete(). Factories can return null; check before calling methods. Inherits GeneralizedHough.

finds arbitrary template in the grayscale image using Generalized Hough Transform

Detects position, translation and rotation [Guil1999] .

Constructors and members

clone

Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.

clone(): this;
Returns

The this result.

setXi

Angle difference in degrees between two points in feature.

setXi(xi: number): void;
xi

xi argument (number).

getXi

Read the xi.

Angle difference in degrees between two points in feature.

getXi(): number;
Returns

The number result.

setLevels

Feature table levels.

setLevels(levels: number): void;
levels

levels argument (number).

getLevels

Read the levels.

Feature table levels.

getLevels(): number;
Returns

The number result.

setAngleEpsilon

Maximal difference between angles that treated as equal.

setAngleEpsilon(angleEpsilon: number): void;
angleEpsilon

angle epsilon argument (number).

getAngleEpsilon

Read the angle epsilon.

Maximal difference between angles that treated as equal.

getAngleEpsilon(): number;
Returns

The number result.

setMinAngle

Minimal rotation angle to detect in degrees.

setMinAngle(minAngle: number): void;
minAngle

min angle argument (number).

getMinAngle

Read the min angle.

Minimal rotation angle to detect in degrees.

getMinAngle(): number;
Returns

The number result.

setMaxAngle

Maximal rotation angle to detect in degrees.

setMaxAngle(maxAngle: number): void;
maxAngle

max angle argument (number).

getMaxAngle

Read the max angle.

Maximal rotation angle to detect in degrees.

getMaxAngle(): number;
Returns

The number result.

setAngleStep

Angle step in degrees.

setAngleStep(angleStep: number): void;
angleStep

angle step argument (number).

getAngleStep

Read the angle step.

Angle step in degrees.

getAngleStep(): number;
Returns

The number result.

setAngleThresh

Angle votes threshold.

setAngleThresh(angleThresh: number): void;
angleThresh

angle thresh argument (number).

getAngleThresh

Read the angle thresh.

Angle votes threshold.

getAngleThresh(): number;
Returns

The number result.

setMinScale

Minimal scale to detect.

setMinScale(minScale: number): void;
minScale

min scale argument (number).

getMinScale

Read the min scale.

Minimal scale to detect.

getMinScale(): number;
Returns

The number result.

setMaxScale

Maximal scale to detect.

setMaxScale(maxScale: number): void;
maxScale

max scale argument (number).

getMaxScale

Read the max scale.

Maximal scale to detect.

getMaxScale(): number;
Returns

The number result.

setScaleStep

GeneralizedHoughGuil.setScaleStep: Scale step.

setScaleStep(scaleStep: number): void;
scaleStep

scale step argument (number).

getScaleStep

Read the scale step.

Scale step.

getScaleStep(): number;
Returns

The number result.

setScaleThresh

Scale votes threshold.

setScaleThresh(scaleThresh: number): void;
scaleThresh

scale thresh argument (number).

getScaleThresh

Read the scale thresh.

Scale votes threshold.

getScaleThresh(): number;
Returns

The number result.

setPosThresh

Position votes threshold.

setPosThresh(posThresh: number): void;
posThresh

pos thresh argument (number).

getPosThresh

Read the pos thresh.

Position votes threshold.

getPosThresh(): number;
Returns

The number result.

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.