Skip to content

Commit ed82a17

Browse files
committed
BUG: Too much bias.
1 parent ab74a53 commit ed82a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ants/deeplearn/data_augmentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ def data_augmentation(input_image_list,
272272
number_of_fitting_levels=2,
273273
mesh_size=10)
274274
log_field = log_field.iMath("Normalize")
275-
bias_field_array = np.power(np.exp(log_field.numpy()), random.sample((1, 1.5), 1)[0])
275+
bias_field_array = np.exp(log_field.numpy())
276276
image = image * ants.from_numpy_like(bias_field_array, image)
277277

278278
# Histogram intensity warping

0 commit comments

Comments
 (0)