line_descriptor_LSDDetector
import { line_descriptor_LSDDetector } 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. Inherits Algorithm.
line descriptor lsddetector value in the OpenCV API.
Constructors and members
static new
line_descriptor_LSDDetector.new: constructor
new(_params: line_descriptor_LSDParam): line_descriptor_LSDDetector;2 available overloads
new(): line_descriptor_LSDDetector;new(_params: line_descriptor_LSDParam): line_descriptor_LSDDetector;_paramsparams argument (line_descriptor_LSDParam).
The line_descriptor_LSDDetector result.
static createLSDDetector
Creates ad LSDDetector object, using smart pointers.
createLSDDetector(): line_descriptor_LSDDetector | null;The line_descriptor_LSDDetector | null result.
static createLSDDetectorWithParams
Creates ad LSDDetector object, using smart pointers.
createLSDDetectorWithParams(params: line_descriptor_LSDParam): line_descriptor_LSDDetector | null;paramsparams argument (line_descriptor_LSDParam).
The line_descriptor_LSDDetector | null result.
clone
Create another handle to the same native object. This retains the object without copying its pixels or algorithm state; dispose both handles separately.
clone(): this;The this result.
detect
Detect lines inside an image.
detect(image: Mat, keypoints: line_descriptor__KeyLineVector, scale: number, numOctaves: number, mask: Mat): void;2 available overloads
detect(image: Mat, keypoints: line_descriptor__KeyLineVector, scale: number, numOctaves: number): void;detect(image: Mat, keypoints: line_descriptor__KeyLineVector, scale: number, numOctaves: number, mask: Mat): void;imageinput image
keypointsOutput destination, filled by the native operation. vector that will store extracted lines for one or more images
scalescale factor used in pyramids generation
numOctavesnumber of octaves inside pyramid
maskmask matrix to detect only KeyLines of interest
detect1
Detect lines inside an image.
detect1(images: MatVector, keylines: std__vector_cv__line_descriptor__KeyLineVector, scale: number, numOctaves: number, masks: MatVector): void;2 available overloads
detect1(images: MatVector, keylines: std__vector_cv__line_descriptor__KeyLineVector, scale: number, numOctaves: number): void;detect1(images: MatVector, keylines: std__vector_cv__line_descriptor__KeyLineVector, scale: number, numOctaves: number, masks: MatVector): void;imagesinput images
keylinesset of vectors that will store extracted lines for one or more images
scalescale factor used in pyramids generation
numOctavesnumber of octaves inside pyramid
masksvector of mask matrices to detect only KeyLines of interest from each input image
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.