transform function

Mat transform(
  1. InputArray src,
  2. InputArray m, {
  3. OutputArray? dst,
})

Transform performs the matrix transformation of every array element.

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga393164aa54bb9169ce0a8cc44e08ff22

Implementation

Mat transform(InputArray src, InputArray m, {OutputArray? dst}) {
  dst ??= Mat.empty();
  cvRun(() => cffi.Mat_Transform(src.ref, dst!.ref, m.ref));
  return dst;
}