Skip to content

Commit

Permalink
ENH: Expose parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntustison committed Dec 8, 2023
1 parent bfd3f9a commit 41e79bf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions antspynet/utilities/data_augmentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ def data_augmentation(input_image_list,
sd_simulated_bias_field=1.0,
sd_histogram_warping=0.05,
sd_affine=0.05,
sd_deformation=0.2,
output_numpy_file_prefix=None,
verbose=False
):
Expand Down Expand Up @@ -80,7 +81,10 @@ def data_augmentation(input_image_list,
Determines the strength of the bias field.
sd_affine : float
Determines the amount of transformation based change.
Determines the amount of affine transformation.
sd_deformation : float
Determines the amount of deformable transformation.
output_numpy_file_prefix : string
Filename of output numpy array containing all the simulated images and segmentations.
Expand Down Expand Up @@ -152,7 +156,7 @@ def data_augmentation(input_image_list,
sd_affine=sd_affine,
deformation_transform_type="bspline",
number_of_random_points=1000,
sd_noise=2.0,
sd_noise=sd_deformation,
number_of_fitting_levels=4,
mesh_size=1,
sd_smoothing=4.0,
Expand Down

0 comments on commit 41e79bf

Please sign in to comment.