GeneralizedHoughGuil
import { GeneralizedHoughGuil } 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. 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;The this result.
setXi
Angle difference in degrees between two points in feature.
setXi(xi: number): void;xixi argument (number).
getXi
Read the xi.
Angle difference in degrees between two points in feature.
getXi(): number;The number result.
setLevels
Feature table levels.
setLevels(levels: number): void;levelslevels argument (number).
getLevels
Read the levels.
Feature table levels.
getLevels(): number;The number result.
setAngleEpsilon
Maximal difference between angles that treated as equal.
setAngleEpsilon(angleEpsilon: number): void;angleEpsilonangle epsilon argument (number).
getAngleEpsilon
Read the angle epsilon.
Maximal difference between angles that treated as equal.
getAngleEpsilon(): number;The number result.
setMinAngle
Minimal rotation angle to detect in degrees.
setMinAngle(minAngle: number): void;minAnglemin angle argument (number).
getMinAngle
Read the min angle.
Minimal rotation angle to detect in degrees.
getMinAngle(): number;The number result.
setMaxAngle
Maximal rotation angle to detect in degrees.
setMaxAngle(maxAngle: number): void;maxAnglemax angle argument (number).
getMaxAngle
Read the max angle.
Maximal rotation angle to detect in degrees.
getMaxAngle(): number;The number result.
setAngleStep
Angle step in degrees.
setAngleStep(angleStep: number): void;angleStepangle step argument (number).
getAngleStep
Read the angle step.
Angle step in degrees.
getAngleStep(): number;The number result.
setAngleThresh
Angle votes threshold.
setAngleThresh(angleThresh: number): void;angleThreshangle thresh argument (number).
getAngleThresh
Read the angle thresh.
Angle votes threshold.
getAngleThresh(): number;The number result.
setMinScale
Minimal scale to detect.
setMinScale(minScale: number): void;minScalemin scale argument (number).
getMinScale
Read the min scale.
Minimal scale to detect.
getMinScale(): number;The number result.
setMaxScale
Maximal scale to detect.
setMaxScale(maxScale: number): void;maxScalemax scale argument (number).
getMaxScale
Read the max scale.
Maximal scale to detect.
getMaxScale(): number;The number result.
setScaleStep
GeneralizedHoughGuil.setScaleStep: Scale step.
setScaleStep(scaleStep: number): void;scaleStepscale step argument (number).
getScaleStep
Read the scale step.
Scale step.
getScaleStep(): number;The number result.
setScaleThresh
Scale votes threshold.
setScaleThresh(scaleThresh: number): void;scaleThreshscale thresh argument (number).
getScaleThresh
Read the scale thresh.
Scale votes threshold.
getScaleThresh(): number;The number result.
setPosThresh
Position votes threshold.
setPosThresh(posThresh: number): void;posThreshpos thresh argument (number).
getPosThresh
Read the pos thresh.
Position votes threshold.
getPosThresh(): number;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.