Skip to content

ximgproc_AngleRangeOption

Extended image processingclassOpenCV 5.0.0
import { ximgproc_AngleRangeOption } from '@banou/opencv-wasm'

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

ARGUMENTSConstructor or factory
CLASSximgproc_AngleRangeOption
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.

Specifies the part of Hough space to calculate The enum specifies the part of Hough space to calculate. Each member specifies primarily direction of lines (horizontal or vertical) and the direction of angle changes. Direction of angle changes is from multiples of 90 to odd multiples of 45. The image considered to be written top-down and left-to-right. Angles are started from vertical line and go clockwise. Separate quarters and halves are written in orientation they should be in full Hough space.

Constructors and members

static ARO_0_45

Vertical primarily direction and clockwise angle changes

ARO_0_45: ximgproc_AngleRangeOptionValue<0>,

static ARO_45_90

Horizontal primarily direction and counterclockwise angle changes

ARO_45_90: ximgproc_AngleRangeOptionValue<1>,

static ARO_90_135

Horizontal primarily direction and clockwise angle changes

ARO_90_135: ximgproc_AngleRangeOptionValue<2>,

static ARO_315_0

Vertical primarily direction and counterclockwise angle changes

ARO_315_0: ximgproc_AngleRangeOptionValue<3>,

static ARO_315_45

Vertical primarily direction

ARO_315_45: ximgproc_AngleRangeOptionValue<4>,

static ARO_45_135

Horizontal primarily direction

ARO_45_135: ximgproc_AngleRangeOptionValue<5>,

static ARO_315_135

Full set of directions

ARO_315_135: ximgproc_AngleRangeOptionValue<6>,

static ARO_CTR_HOR

90 +/- atan(0.5), interval approximately from 64.5 to 116.5 degrees.

ARO_CTR_HOR: ximgproc_AngleRangeOptionValue<7>,

static ARO_CTR_VER

+/- atan(0.5), interval approximately from 333.5(-26.5) to 26.5 degrees

ARO_CTR_VER: ximgproc_AngleRangeOptionValue<8>

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.