Spaces:
Sleeping
Sleeping
Threshold default 0.5 + morphology post-processing smoothing step
Browse files
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.
|
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:]
|