DIPlib Documentation - ©1995-2017 Quantitative Imaging Group, Delft University of Technology.

InsertionSortIndices

Sort indices to a block of data

SYNOPSIS

#include "dip_sort.h"

dip_Error dip_InsertionSortIndices ( data, indices, size, dataType )

FUNCTION

Sorts a list of indices rather than the data itself using the insertion sort algorithm.

ARGUMENTS

Data typeNameDescription
void *dataData
dip_sint32 *indicesIndices
dip_intsizeSize
dip_DataTypedataTypeData type, See DIPlib's data types

SEE ALSO

General information about sorting

InsertionSort, InsertionSortIndices16, Sort, ImageSort, SortIndices, SortIndices16, ImageSortIndices