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> [-d <file>] [-thinning {0,1}]
[-resampling <float>] [-o <str>] [-h]
[-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.
Default:
0.1- -o
Name of the output file.
Default:
'hausdorff_distance.txt'
MISC ARGUMENTS¶
- -v
Possible choices: 0, 1, 2
Verbosity. 0: Display only errors/warnings, 1: Errors/warnings + info messages, 2: Debug mode.
Default:
1