Skip to content

xfeatures2d_TEBLID_create

xfeatures2dfunctionOpenCV 5.0.0
import { xfeatures2d_TEBLID_create } from '@banou/opencv-wasm'

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

ARGUMENTSscale_factor, n_bits
FUNCTIONxfeatures2d_TEBLID_create
RETURN TYPExfeatures2d_TEBLID | null
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Creates the TEBLID descriptor.

xfeatures2d_TEBLID_create(scale_factor: number, n_bits: number): xfeatures2d_TEBLID | null;
2 available overloads
xfeatures2d_TEBLID_create(scale_factor: number): xfeatures2d_TEBLID | null;
xfeatures2d_TEBLID_create(scale_factor: number, n_bits: number): xfeatures2d_TEBLID | null;
scale_factor

Adjust the sampling window around detected keypoints:

  • <b> 1.00f </b> should be the scale for ORB keypoints
  • <b> 6.75f </b> should be the scale for SIFT detected keypoints
  • <b> 6.25f </b> is default and fits for KAZE, SURF detected keypoints
  • <b> 5.00f </b> should be the scale for AKAZE, MSD, AGAST, FAST, BRISK keypoints
n_bits

Determine the number of bits in the descriptor. Should be either TEBLID::SIZE_256_BITS or TEBLID::SIZE_512_BITS.

Returns

The xfeatures2d_TEBLID | null 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.