示例#1
0
 def ReadDICOMDirectory(self):
     if (self.InputDirectoryName == ''):
         self.PrintError('Error: no InputDirectoryName.')
     self.PrintLog('Reading DICOM directory.')
     reader = vtkvmtk.vtkvmtkDICOMImageReader()
     reader.SetDirectoryName(self.InputDirectoryName)
     reader.SetAutoOrientImage(self.AutoOrientDICOMImage)
     reader.Update()
     self.Image = reader.GetOutput()
示例#2
0
 def ReadDICOMDirectory(self):
     if (self.InputDirectoryName == ''):
         self.PrintError('Error: no InputDirectoryName.')
     self.PrintLog('Reading DICOM directory.')
     reader = vtkvmtk.vtkvmtkDICOMImageReader()
     reader.SetDirectoryName(self.InputDirectoryName)
     reader.SetAutoOrientImage(self.AutoOrientDICOMImage)
     reader.Update()
     self.Image = reader.GetOutput()