diff --git a/pymialsrtk/interfaces/preprocess.py b/pymialsrtk/interfaces/preprocess.py index bade0c86c..2848ec2a9 100644 --- a/pymialsrtk/interfaces/preprocess.py +++ b/pymialsrtk/interfaces/preprocess.py @@ -1276,8 +1276,6 @@ def _extractBrain(self, dataPath, modelCkptLoc, thresholdLoc, modelCkptSeg, thre if normalize: if normalize == "local_max": images[slice_counter, :, :, 0] = img_patch / np.max(img_patch) - elif normalize == "global_max": - images[slice_counter, :, :, 0] = img_patch / max_val elif normalize == "mean_std": images[slice_counter, :, :, 0] = (img_patch-np.mean(img_patch))/np.std(img_patch) else: