CLIJ2

Logo

GPU accelerated image processing for everyone

CLIJ2 home

getSorensenDiceCoefficient

Determines the overlap of two binary images using the Sorensen-Dice coefficent.

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

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

Categories: Measurements, Binary

getSorensenDiceCoefficient often follows after

Usage in ImageJ macro

Ext.CLIJ2_getSorensenDiceCoefficient(Image source1, Image source2, Number sorensen_dice_coefficient);

Example notebooks

measure_overlap

Example scripts

measure_overlap.ijm

Back to CLIJ2 reference Back to CLIJ2 documentation

Imprint