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}) {
  T ??= Mat.empty();
  cvRun(() => ccontrib.cv_ximgproc_PeiLinNormalization(I.ref, T!.ref, ffi.nullptr));
  return T;
}