diff --git a/unet/hungarian.py b/unet/hungarian.py index 13d72848dd0cb283cc0c8ab9d5fb783568fbd5c5..5d1574f2d1ec5c7cf9480a235941d182cd5a97eb 100644 --- a/unet/hungarian.py +++ b/unet/hungarian.py @@ -5,7 +5,6 @@ from sklearn.preprocessing import scale from sklearn.metrics.pairwise import euclidean_distances - def correspondance(prev, curr): """ Corrects correspondance between previous and current mask, returns current @@ -32,6 +31,7 @@ def correspondance(prev, curr): return new + def hungarian_align(m1, m2): """ Aligns the cells using the hungarian algorithm using the euclidean distance as