OpenCvSharp.Cv2.Sort C# (CSharp) Method

Sort() public static method

sorts independently each matrix row or each matrix column
public static Sort ( InputArray src, OutputArray dst, SortFlags flags ) : void
src InputArray The source single-channel array
dst OutputArray The destination array of the same size and the same type as src
flags SortFlags The operation flags, a combination of the SortFlag values
return void
        public static void Sort(InputArray src, OutputArray dst, SortFlags flags)
        {
            if (src == null)
                throw new ArgumentNullException(nameof(src));
            if (dst == null)
                throw new ArgumentNullException(nameof(dst));
            src.ThrowIfDisposed();
            dst.ThrowIfNotReady();
            NativeMethods.core_sort(src.CvPtr, dst.CvPtr, (int)flags);
            GC.KeepAlive(src);
            dst.Fix();
        }
        #endregion
Cv2