CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

euclideanDistanceFromLabelCentroidMap

Takes a label map, determines the centroids of all labels and writes the distance of all labelled pixels to their centroid in the result image. Background pixels stay zero.

Categories: Measurements, Labels

Usage in ImageJ macro

Ext.CLIJx_euclideanDistanceFromLabelCentroidMap(Image labelmap_input, Image destination);

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint