sort function

Mat sort(
  1. InputArray src,
  2. int flags, {
  3. OutputArray? dst,
})

Sort sorts each row or each column of a matrix.

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

Implementation

Mat sort(InputArray src, int flags, {OutputArray? dst}) {
  dst ??= Mat.empty();
  cvRun(() => ccore.Mat_Sort(src.ref, dst!.ref, flags));
  return dst;
}