Skip to content

Commit

Permalink
Change back default smoothing to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jcohenadad committed May 10, 2023
1 parent e878ea5 commit 4570942
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ def main():
"specified, the function will use the file(s) 'best_metric_model*.pth' in the local "
"directory.")
# add parameter to specify sigma for Gaussian smoothing filter
parser.add_argument("-s", "--sigma", type=float, required=False, default=2,
help="Standard deviation of the Gaussian kernel for smoothing the input volume (default is 2)."
"Try higher values (e.g. 2.5, 3) if the segmentation is too coarse, or lower values (1.5, "
"1) if the segmentation is inaccurate, which could occur if adjacent slices look very "
parser.add_argument("-s", "--sigma", type=float, required=False, default=1,
help="Standard deviation of the Gaussian kernel for smoothing the input volume (default is 1)."
"Try higher values (e.g. 2, 3) if the segmentation is too coarse, or lower values (0.5) "
"if the segmentation is inaccurate, which could occur if adjacent slices look very "
"different due to high curvature.")
# add optional argument in case user wants to save smoothed volume (write with default filename)
parser.add_argument("-o", "--output-smooth", required=False, default=None, action='store_true',
Expand Down

0 comments on commit 4570942

Please sign in to comment.