GPU accelerated image processing for everyone

CLIJ2 home


Determine the n point indices with shortest distance for all points in a distance matrix.

This corresponds to the n row indices with minimum values for each column of the distance matrix.Returns the n shortest distances in one image and the point indices in another image.

nClosestDistances often follows after

nClosestDistances is often followed by

Usage in ImageJ macro

Ext.CLIJ2_nClosestDistances(Image distance_matrix, Image distances_destination, Image indexlist_destination, Number nClosestPointsTofind);

Back to CLIJ2 reference Back to CLIJ2 documentation