Skip to content

Commit

Permalink
WIP: Revert to reading UC images
Browse files Browse the repository at this point in the history
  • Loading branch information
tbirdso committed Mar 24, 2021
1 parent de1f204 commit 2e055b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/Transform/MutualInformationAffine/Code.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2e055b9

Please sign in to comment.