MCPcopy Create free account
hub / github.com/HuTianQi/SmartOpenCV / sort

Method sort

openCVLibrary411/src/main/java/org/opencv/core/Core.java:5297–5299  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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 //

Callers 1

Calls 1

sort_0Method · 0.95

Tested by

no test coverage detected