From 0d5fab65a709d402b601e710e375f3d1893ee4ef Mon Sep 17 00:00:00 2001 From: paulojamorim Date: Wed, 2 Sep 2009 13:40:36 +0000 Subject: [PATCH] FIX: Error open with original resolution --- invesalius/reader/dicom_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invesalius/reader/dicom_reader.py b/invesalius/reader/dicom_reader.py index 5cb10c2..2ad6285 100644 --- a/invesalius/reader/dicom_reader.py +++ b/invesalius/reader/dicom_reader.py @@ -105,7 +105,7 @@ def LoadImages(dir_): image_data = vtk.vtkImageData() image_data.DeepCopy(read.GetOutput()) - image_data.SetSpacing(spacing, spacing, spacing_z) + image_data.SetSpacing(spacing, spacing, dicom.image.spacing[2]) else: for x in xrange(len(files)): #SIf the resolution of the -- libgit2 0.21.2