Skip to content

SortFlags

Core and matricesclassOpenCV 5.0.0
import { SortFlags } from '@banou/opencv-wasm'

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

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

Native enum entries for sort flags. Pass an entry to enum-typed arguments or its .value to numeric arguments.

Constructors and members

static SORT_EVERY_ROW

each matrix row is sorted independently

SORT_EVERY_ROW: SortFlagsValue<0>,

static SORT_EVERY_COLUMN

each matrix column is sorted

SORT_EVERY_COLUMN: SortFlagsValue<1>,

static SORT_ASCENDING

each matrix row is sorted in the ascending

SORT_ASCENDING: SortFlagsValue<0>,

static SORT_DESCENDING

each matrix row is sorted in the

SORT_DESCENDING: SortFlagsValue<16>

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.