http://www.emgu.com
Sorts each matrix row or each matrix column in the
ascending or descending order.So you should pass two operation flags to
get desired behaviour. Instead of reordering the elements themselves, it
stores the indices of sorted elements in the output array.
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static void SortIdx(
IInputArray src,
IOutputArray dst,
SortFlags flags
)
Public Shared Sub SortIdx (
src As IInputArray,
dst As IOutputArray,
flags As SortFlags
)
public:
static void SortIdx(
IInputArray^ src,
IOutputArray^ dst,
SortFlags flags
)
static member SortIdx :
src : IInputArray *
dst : IOutputArray *
flags : SortFlags -> unit
Parameters
- src
- Type: Emgu.CVIInputArray
input single-channel array. - dst
- Type: Emgu.CVIOutputArray
output integer array of the same size as src. - flags
- Type: Emgu.CV.CvEnumSortFlags
operation flags
See Also