From 2a2384510ab6856e0774965b47772e339c89cb3d Mon Sep 17 00:00:00 2001 From: Nick Tustison Date: Tue, 21 May 2024 11:07:55 -0700 Subject: [PATCH] BUG: copy-and-paste. --- antspynet/utilities/deep_flash.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/antspynet/utilities/deep_flash.py b/antspynet/utilities/deep_flash.py index 608ae3a..99ba26f 100644 --- a/antspynet/utilities/deep_flash.py +++ b/antspynet/utilities/deep_flash.py @@ -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)):