sct_compute_hausdorff_distance¶
Compute the Hausdorff’s distance between two binary images which can be thinned (ie skeletonized). If only one image is inputted, it will be only thinned
usage: sct_compute_hausdorff_distance -i <file> [-h] [-d <file>]
[-thinning {0,1}] [-resampling <float>]
[-o <str>] [-v <int>]
MANDATORY ARGUMENTS¶
- -i
First Image on which you want to find the skeleton Example: t2star_manual_gmseg.nii.gz
OPTIONAL ARGUMENTS¶
- -d
Second Image on which you want to find the skeleton Example: t2star_manual_gmseg.nii.gz
- -thinning
Possible choices: 0, 1
Thinning : find the skeleton of the binary images using the Zhang-Suen algorithm (1984) and use it to compute the hausdorff’s distance
Default: 1
- -resampling
pixel size in mm to resample to Example: 0.5
Default: 0.1
- -o
Name of the output file Example: my_hausdorff_dist.txt
Default: “hausdorff_distance.txt”
- -v
Possible choices: 0, 1, 2
Verbosity. 0: Display only errors/warnings, 1: Errors/warnings + info messages, 2: Debug mode
Default: 1