Skip to content

cornerMinEigenVal

Image processingfunctionOpenCV 5.0.0
import { cornerMinEigenVal } from '@banou/opencv-wasm'

Use after await initOpenCV(). See the initialization and named imports guide.

Calculates the minimal eigenvalue of gradient matrices for corner detection.

The function is similar to cornerEigenValsAndVecs but it calculates and stores only the minimal eigenvalue of the covariance matrix of derivatives, that is, \min(\lambda_1, \lambda_2) in terms of the formulae in the cornerEigenValsAndVecs description.

cornerMinEigenVal(src: Mat, dst: Mat, blockSize: number, ksize: number, borderType: number): void;
3 available overloads
cornerMinEigenVal(src: Mat, dst: Mat, blockSize: number): void;
cornerMinEigenVal(src: Mat, dst: Mat, blockSize: number, ksize: number): void;
cornerMinEigenVal(src: Mat, dst: Mat, blockSize: number, ksize: number, borderType: number): void;
src

Input single-channel 8-bit or floating-point image.

dst

Output destination, filled by the native operation. Image to store the minimal eigenvalues. It has the type CV_32FC1 and the same size as src .

blockSize

Neighborhood size (see the details on #cornerEigenValsAndVecs ).

ksize

Aperture parameter for the Sobel operator.

borderType

Pixel extrapolation method. See #BorderTypes. #BORDER_WRAP is not supported.

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.