andreped commited on
Commit
9921695
1 Parent(s): fd5a329

Threshold default 0.5 + morphology post-processing smoothing step

Browse files
Files changed (1) hide show
  1. lungtumormask/__main__.py +1 -1
lungtumormask/__main__.py CHANGED
@@ -14,7 +14,7 @@ def main():
14
  parser.add_argument('input', metavar='input', type=path, help='Path to the input image, should be .nifti')
15
  parser.add_argument('output', metavar='output', type=str, help='Filepath for output tumormask')
16
  parser.add_argument('--lung-filter', action='store_true', help='whether to apply lungmask postprocessing.')
17
- parser.add_argument('--threshold', metavar='threshold', type=float, default=0.4,
18
  help='which threshold to use for assigning voxel-wise classes.')
19
 
20
  argsin = sys.argv[1:]
 
14
  parser.add_argument('input', metavar='input', type=path, help='Path to the input image, should be .nifti')
15
  parser.add_argument('output', metavar='output', type=str, help='Filepath for output tumormask')
16
  parser.add_argument('--lung-filter', action='store_true', help='whether to apply lungmask postprocessing.')
17
+ parser.add_argument('--threshold', metavar='threshold', type=float, default=0.5,
18
  help='which threshold to use for assigning voxel-wise classes.')
19
 
20
  argsin = sys.argv[1:]