Commit 59db08fab89c08aea0611ecd25798eb52f5ad650
1 parent
177c1a6e
Exists in
master
and in
6 other branches
FIX: Bug in open analyze
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/control.py
@@ -159,7 +159,7 @@ class Controller(): | @@ -159,7 +159,7 @@ class Controller(): | ||
159 | proj.original_orientation = const.AXIAL | 159 | proj.original_orientation = const.AXIAL |
160 | proj.threshold_range = imagedata.GetScalarRange() | 160 | proj.threshold_range = imagedata.GetScalarRange() |
161 | proj.window = proj.threshold_range[1] - proj.threshold_range[0] | 161 | proj.window = proj.threshold_range[1] - proj.threshold_range[0] |
162 | - proj.level (0.5 * (proj.threshold_range[1] + proj.threshold_range[0])) | 162 | + proj.level = (0.5 * (proj.threshold_range[1] + proj.threshold_range[0])) |
163 | 163 | ||
164 | const.THRESHOLD_OUTVALUE = proj.threshold_range[0] | 164 | const.THRESHOLD_OUTVALUE = proj.threshold_range[0] |
165 | const.THRESHOLD_INVALUE = proj.threshold_range[1] | 165 | const.THRESHOLD_INVALUE = proj.threshold_range[1] |