Skip to content

ximgproc_PeiLinNormalization

Extended image processingfunctionOpenCV 5.0.0
import { ximgproc_PeiLinNormalization } from '@banou/opencv-wasm'

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

ARGUMENTSI, T
FUNCTIONximgproc_PeiLinNormalization
RETURN TYPEvoid
Call structure. A void return can still write to destination arguments. The parameter descriptions define inputs, outputs and ownership.

Calculates an affine transformation that normalize given image using Pei&Lin Normalization.

Assume given image I=T(\bar{I}) where \bar{I} is a normalized image and T is an affine transformation distorting this image by translation, rotation, scaling and skew. The function returns an affine transformation matrix corresponding to the transformation T^{-1} described in [PeiLin95]. For more details about this implementation, please see [PeiLin95] Soo-Chang Pei and Chao-Nan Lin. Image normalization for pattern recognition. Image and Vision Computing, Vol. 13, N.10, pp. 711-723, 1995.

ximgproc_PeiLinNormalization(I: Mat, T: Mat): void;
I

Given transformed image.

T

Output destination, filled by the native operation. t argument (Mat).

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.