From 2e055b9632616d2d1444c051311c4517f9e64ae4 Mon Sep 17 00:00:00 2001 From: Tom Birdsong Date: Sat, 20 Mar 2021 12:53:40 -0400 Subject: [PATCH] WIP: Revert to reading UC images --- src/Core/Transform/MutualInformationAffine/Code.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Core/Transform/MutualInformationAffine/Code.py b/src/Core/Transform/MutualInformationAffine/Code.py index 40c5ea6a1..bc20138cd 100644 --- a/src/Core/Transform/MutualInformationAffine/Code.py +++ b/src/Core/Transform/MutualInformationAffine/Code.py @@ -27,8 +27,8 @@ raise Exception(f"Usage: {sys.argv[0]} fixed_image moving_image output_image") # Import images -fixed_image = itk.imread(sys.argv[1], itk.SS) -moving_image = itk.imread(sys.argv[2], itk.SS) +fixed_image = itk.imread(sys.argv[1], itk.UC) +moving_image = itk.imread(sys.argv[2], itk.UC) # Preprocess images fixed_normalized_image = itk.normalize_image_filter(fixed_image)