RgbdNormals_create
import { RgbdNormals_create } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
ARGUMENTSrows, cols, depth, K
FUNCTIONRgbdNormals_create
RETURN TYPERgbdNormals | null
Creates new RgbdNormals object
RgbdNormals_create(rows: number, cols: number, depth: number, K: Mat, window_size: number, diff_threshold: number, method: number): RgbdNormals | null;8 available overloads
RgbdNormals_create(): RgbdNormals | null;RgbdNormals_create(rows: number): RgbdNormals | null;RgbdNormals_create(rows: number, cols: number): RgbdNormals | null;RgbdNormals_create(rows: number, cols: number, depth: number): RgbdNormals | null;RgbdNormals_create(rows: number, cols: number, depth: number, K: Mat): RgbdNormals | null;RgbdNormals_create(rows: number, cols: number, depth: number, K: Mat, window_size: number): RgbdNormals | null;RgbdNormals_create(rows: number, cols: number, depth: number, K: Mat, window_size: number, diff_threshold: number): RgbdNormals | null;RgbdNormals_create(rows: number, cols: number, depth: number, K: Mat, window_size: number, diff_threshold: number, method: number): RgbdNormals | null;rowsthe number of rows of the depth image normals will be computed on
colsthe number of cols of the depth image normals will be computed on
depththe depth of the normals (only CV_32F or CV_64F)
Kthe calibration matrix to use
window_sizethe window size to compute the normals: can only be 1,3,5 or 7
diff_thresholdthreshold in depth difference, used in LINEMOD algirithm
methodone of the methods to use: RGBD_NORMALS_METHOD_SRI, RGBD_NORMALS_METHOD_FALS
Returns
The RgbdNormals | 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.