goodFeaturesToTrackWithQuality
import { goodFeaturesToTrackWithQuality } from '@banou/opencv-wasm'Use after await initOpenCV(). See the initialization and named imports guide.
Same as above, but returns also quality measure of the detected corners.
goodFeaturesToTrackWithQuality(image: Mat, corners: Mat, maxCorners: number, qualityLevel: number, minDistance: number, mask: Mat, cornersQuality: Mat, blockSize: number, gradientSize: number, useHarrisDetector: boolean, k: number): void;5 available overloads
goodFeaturesToTrackWithQuality(image: Mat, corners: Mat, maxCorners: number, qualityLevel: number, minDistance: number, mask: Mat, cornersQuality: Mat): void;goodFeaturesToTrackWithQuality(image: Mat, corners: Mat, maxCorners: number, qualityLevel: number, minDistance: number, mask: Mat, cornersQuality: Mat, blockSize: number): void;goodFeaturesToTrackWithQuality(image: Mat, corners: Mat, maxCorners: number, qualityLevel: number, minDistance: number, mask: Mat, cornersQuality: Mat, blockSize: number, gradientSize: number): void;goodFeaturesToTrackWithQuality(image: Mat, corners: Mat, maxCorners: number, qualityLevel: number, minDistance: number, mask: Mat, cornersQuality: Mat, blockSize: number, gradientSize: number, useHarrisDetector: boolean): void;goodFeaturesToTrackWithQuality(image: Mat, corners: Mat, maxCorners: number, qualityLevel: number, minDistance: number, mask: Mat, cornersQuality: Mat, blockSize: number, gradientSize: number, useHarrisDetector: boolean, k: number): void;imageInput 8-bit or floating-point 32-bit, single-channel image.
cornersOutput destination, filled by the native operation. Output vector of detected corners.
maxCornersMaximum number of corners to return. If there are more corners than are found, the strongest of them is returned.
maxCorners <= 0implies that no limit on the maximum is set and all detected corners are returned.qualityLevelParameter characterizing the minimal accepted quality of image corners. The parameter value is multiplied by the best corner quality measure, which is the minimal eigenvalue (see #cornerMinEigenVal ) or the Harris function response (see #cornerHarris ). The corners with the quality measure less than the product are rejected. For example, if the best corner has the quality measure = 1500, and the qualityLevel=0.01 , then all the corners with the quality measure less than 15 are rejected.
minDistanceMinimum possible Euclidean distance between the returned corners.
maskRegion of interest. If the image is not empty (it needs to have the type CV_8UC1 and the same size as image ), it specifies the region in which the corners are detected.
cornersQualityOutput destination, filled by the native operation. Output vector of quality measure of the detected corners.
blockSizeSize of an average block for computing a derivative covariation matrix over each pixel neighborhood. See cornerEigenValsAndVecs .
gradientSizeAperture parameter for the Sobel operator used for derivatives computation. See cornerEigenValsAndVecs .
useHarrisDetectorParameter indicating whether to use a Harris detector (see #cornerHarris) or #cornerMinEigenVal.
kFree parameter of the Harris detector.
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.