Commit 0d5fab65a709d402b601e710e375f3d1893ee4ef

Authored by Paulo Henrique Junqueira Amorim
1 parent e3a213af

FIX: Error open with original resolution

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
invesalius/reader/dicom_reader.py
... ... @@ -105,7 +105,7 @@ def LoadImages(dir_):
105 105  
106 106 image_data = vtk.vtkImageData()
107 107 image_data.DeepCopy(read.GetOutput())
108   - image_data.SetSpacing(spacing, spacing, spacing_z)
  108 + image_data.SetSpacing(spacing, spacing, dicom.image.spacing[2])
109 109 else:
110 110 for x in xrange(len(files)):
111 111 #SIf the resolution of the
... ...