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

ImageSort

Sort image data

SYNOPSIS

#include "dip_sort.h"

dip_Error dip_ImageSort ( in, out, algorithm )

FUNCTION

Produces an image (out) with the sorted pixel values of in.

ARGUMENTS

Data typeNameDescription
dip_ImageinInput
dip_ImageoutOutput
dip_SortalgorithmSort algorithm

The sortType parameter is one of:

NameDescription
DIP_SORT_DEFAULTDefault sort algorithm
DIP_SORT_QUICK_SORTQuick sort
DIP_SORT_DISTRIBUTION_SORTDistribution sort
DIP_SORT_INSERTION_SORTInsertion sort

SEE ALSO

General information about sorting

DistributionSort, InsertionSort, QuickSort, Sort, SortIndices, SortIndices16, ImageSortIndices

DIPlib on-line documentation | Function reference | Global function index