CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

getJaccardIndex

Determines the overlap of two binary images using the Jaccard index.

A value of 0 suggests no overlap, 1 means perfect overlap. The resulting Jaccard index is saved to the results table in the ‘Jaccard_Index’ column. Note that the Sorensen-Dice coefficient can be calculated from the Jaccard index j using this formula:

s = f(j) = 2 j / (j + 1)

Usage in ImageJ macro

Ext.CLIJ2_getJaccardIndex(Image source1, Image source2, Number jaccard_index);

Example notebooks

measure_overlap

Example scripts

measure_overlap.ijm

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint