PeiLinNormalization static method

Mat PeiLinNormalization(
  1. InputArray I, {
  2. OutputArray? T,
})

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

https://docs.opencv.org/4.x/df/d2d/group__ximgproc.html#ga50d064b92f63916f4162474eea22d656

Implementation

static Mat PeiLinNormalization(InputArray I, {OutputArray? T}) {
  final p = T?.ptr ?? calloc<ccontrib.Mat>();
  cvRun(() => ccontrib.ximgproc_PeiLinNormalization(I.ref, p));
  return T ?? Mat.fromPointer(p);
}