Commit 897e159b22d5d3936bfe00b733435f85c6d1b1e7
1 parent
750ab452
Exists in
master
Invesalius was generating a disproportional image when the image was resized
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
invesalius/data/imagedata_utils.py
... | ... | @@ -101,7 +101,7 @@ def ResampleImage2D(imagedata, px=None, py=None, resolution_percentage = None, |
101 | 101 | resample.SetInputData(imagedata) |
102 | 102 | resample.SetAxisMagnificationFactor(0, factor_x) |
103 | 103 | resample.SetAxisMagnificationFactor(1, factor_y) |
104 | - resample.SetOutputSpacing(spacing[0] * factor_x, spacing[1] * factor_y, spacing[2]) | |
104 | + # resample.SetOutputSpacing(spacing[0] * factor_x, spacing[1] * factor_y, spacing[2]) | |
105 | 105 | if (update_progress): |
106 | 106 | message = _("Generating multiplanar visualization...") |
107 | 107 | resample.AddObserver("ProgressEvent", lambda obj, | ... | ... |