rapid_extractLineBundle
import { rapid_extractLineBundle } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Extract the line bundle from an image
rapid_extractLineBundle(len: number, ctl2d: Mat, img: Mat, bundle: Mat, srcLocations: Mat): void;lenthe search radius. The bundle will have
2*len + 1columns.ctl2dthe search lines will be centered at this points and orthogonal to the contour defined by them. The bundle will have as many rows.
imgthe image to read the pixel intensities values from
bundleOutput destination, filled by the native operation. line bundle image with size
ctl2d.rows() x (2 * len + 1)and the same type asimgsrcLocationsOutput destination, filled by the native operation. the source pixel locations of
bundleinimgas CV_16SC2
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.