Commit 5f522db49ffdae607b37efc9f5e85e6bfc4b1428

Authored by tatiana
1 parent 70d41721

ENH: Default zpacing is 1

Showing 1 changed file with 1 additions and 2 deletions   Show diff stats
invesalius/reader/dicom_grouper.py
... ... @@ -65,7 +65,7 @@ class DicomGroup:
65 65 # IDEA (13/10): Represent internally as dictionary,
66 66 # externally as list
67 67 self.nslices = 0
68   - self.zspacing = 0
  68 + self.zspacing = 1
69 69  
70 70 def AddSlice(self, dicom):
71 71 pos = tuple(dicom.image.position)
... ... @@ -98,7 +98,6 @@ class DicomGroup:
98 98 if (len(list_) > 1):
99 99 dicom = list_[0]
100 100 axis = ORIENT_MAP[dicom.image.orientation_label]
101   - #print dicom.image.orientation_label
102 101 p1 = dicom.image.position[axis]
103 102  
104 103 dicom = list_[1]
... ...