Skip to content

Commit

Permalink
BUG: copy-and-paste.
Browse files Browse the repository at this point in the history
  • Loading branch information
ntustison committed May 21, 2024
1 parent 8fd1d6c commit 2a23845
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions antspynet/utilities/deep_flash.py
Original file line number Diff line number Diff line change
Expand Up @@ -892,10 +892,7 @@ def deep_flash(t1,
batchX[0,:,:,:,0] = t1_cropped.numpy()
if use_contralaterality:
t1_cropped = ants.crop_indices(t1_preprocessed_flipped, lower_bound_right, upper_bound_right)
if use_rank_intensity:
t1_cropped = ants.rank_intensity(t1_cropped)
else:
t1_cropped = ants.histogram_match_image(t1_cropped, t1_template_roi_right, 255, 64, False)
t1_cropped = ants.histogram_match_image(t1_cropped, t1_template_roi_right, 255, 64, False)
batchX[1,:,:,:,0] = t1_cropped.numpy()

for i in range(len(priors_image_right_list)):
Expand Down

0 comments on commit 2a23845

Please sign in to comment.