Sorts each row or each column of a matrix. The function cv::sort sorts each matrix row or each matrix column in ascending or descending order. So you should pass two operation flags to get desired behaviour. If you want to sort matrix rows or columns lexicographically, you can use STL std::sort gen
(Mat src, Mat dst, int flags)
| 5295 | * SEE: sortIdx, randShuffle |
| 5296 | */ |
| 5297 | public static void sort(Mat src, Mat dst, int flags) { |
| 5298 | sort_0(src.nativeObj, dst.nativeObj, flags); |
| 5299 | } |
| 5300 | |
| 5301 | |
| 5302 | // |
no test coverage detected