pub fn sort(src: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray, flags: i32) -> Result<()> {
	input_array_arg!(src);
	output_array_arg!(dst);
	unsafe { sys::cv_sort_const__InputArrayX_const__OutputArrayX_int(src.as_raw__InputArray(), dst.as_raw__OutputArray(), flags) }.into_result()
}
/// 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 generic function with the
/// proper comparison predicate.
/// 
/// ## Parameters
/// * src: input single-channel array.
/// * dst: output array of the same size and type as src.
/// * flags: operation flags, a combination of #SortFlags
/// ## See also
/// sortIdx, randShuffle
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 generic function with the
proper comparison predicate.
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 generic function with the proper comparison predicate .
pub fn sort(src: &dyn core::ToInputArray, dst: &mut dyn core::ToOutputArray, flags: i32) -> Result<()> {
	input_array_arg!(src);
	output_array_arg!(dst);
	unsafe { sys::cv_sort_const__InputArrayX_const__OutputArrayX_int(src.as_raw__InputArray(), dst.as_raw__OutputArray(), flags) }.into_result()
}
pub fn sort ( src : & dyn core :: ToInputArray , dst : & mut dyn core :: ToOutputArray , flags : i32 ) -> Result < ( ) > { input_array_arg ! ( src ) ; output_array_arg ! ( dst ) ; unsafe { sys :: cv_sort_const__InputArrayX_const__OutputArrayX_int ( src . as_raw__InputArray ( ) , dst . as_raw__OutputArray ( ) , flags ) } . into_result ( ) }
Sorts each row or each column of a matrix.
Sorts each row or each column of a matrix .
src
&dyn core::ToInputArray
dst
&mut dyn core::ToOutputArray
flags
i32
see also
None