Skip to main content
. 2019 May 23;8(5):499. doi: 10.3390/cells8050499
Algorithm 1 AJI computation
Require: A series of images containing real annotations and predictive segmentation results; Gi is indexed by i for each real nucleus; Each prediction segmentation result Sk is indexed by k;
Ensure: AJI Score
 1: Initialize the number of intersections and union between the real labeled area and the predicted segmentation result area, and count them
 2: C0,U0
 3: for all Gi do
 4:  jargmaxk(|GiSk|/|GiSk|)
 5:  Refresh the counting: CC+|GiSj|,UU+|GiSj|
 6:  Mark Gi
 7: end for
 8: for all Si do
 9:  jargmaxk(|GiSk|/|GiSk|)
 10:  Refresh the counting: CC+|GiSj|,UU+|GiSj|
 11:  Mark Si
 12: end for
 13: AJIC/U