ReduceTypes
import { ReduceTypes } 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.
Native enum entries for reduce types. Pass an entry to enum-typed arguments or its .value to numeric arguments.
Constructors and members
static REDUCE_SUM
the output is the sum of all rows/columns of the matrix.
REDUCE_SUM: ReduceTypesValue<0>,static REDUCE_AVG
the output is the mean vector of all rows/columns of the matrix.
REDUCE_AVG: ReduceTypesValue<1>,static REDUCE_MAX
the output is the maximum (column/row-wise) of all rows/columns of the matrix.
REDUCE_MAX: ReduceTypesValue<2>,static REDUCE_MIN
the output is the minimum (column/row-wise) of all rows/columns of the matrix.
REDUCE_MIN: ReduceTypesValue<3>,static REDUCE_SUM2
the output is the sum of all squared rows/columns of the matrix.
REDUCE_SUM2: ReduceTypesValue<4>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.