Visceral-Project / EvaluateSegmentation

A program to evaluate the quality of image segmentations.
Apache License 2.0
313 stars 87 forks source link

Ubuntu build crashes when -xml argument is missing #11

Open itan1 opened 2 years ago

itan1 commented 2 years ago

I noticed the Ubuntu build in EvaluateSegmentation-2020.08.28-Ubuntu.zip crashes when comparing two .nii volumes without providing the -xml argument. When providing the -xml argument it executes successfully. I am using Ubuntu 20.04.2.

./EvaluateSegmentation femur_left_manual.nii femur_left_automatic.nii -help -use DICE returns:

Similarity:
Segmentation fault (core dumped)

./EvaluateSegmentation femur_left_manual.nii femur_left_automatic.nii -help -use DICE -xml results.xml returns:

Similarity:
DICE    = 0.942233  Dice Coefficient (F1-Measure) 

Distance:

Classic Measures:

Total execution time= 1671 milliseconds

  ---** VISCERAL 2013, www.visceral.eu **---