ppf_match_3d_samplePCByQuantization
import { ppf_match_3d_samplePCByQuantization } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Sample a point cloud using uniform steps
ppf_match_3d_samplePCByQuantization(pc: Mat, xrange: Vec2f, yrange: Vec2f, zrange: Vec2f, sample_step_relative: number, weightByCenter: number): Mat;2 available overloads
ppf_match_3d_samplePCByQuantization(pc: Mat, xrange: Vec2f, yrange: Vec2f, zrange: Vec2f, sample_step_relative: number): Mat;ppf_match_3d_samplePCByQuantization(pc: Mat, xrange: Vec2f, yrange: Vec2f, zrange: Vec2f, sample_step_relative: number, weightByCenter: number): Mat;pcInput point cloud
xrangeX components (min and max) of the bounding box of the model
yrangeY components (min and max) of the bounding box of the model
zrangeZ components (min and max) of the bounding box of the model
sample_step_relativeThe point cloud is sampled such that all points have a certain minimum distance. This minimum distance is determined relatively using the parameter sample_step_relative.
weightByCenterThe contribution of the quantized data points can be weighted by the distance to the origin. This parameter enables/disables the use of weighting.
Sampled point cloud Release returned native handles with using or delete(), including handles nested in results.
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.