示例#1
0
 def test_create_image_reader_with_py2_unicode_string(self):
     filename = mr_name.decode('utf-8')
     image_reader = gdcm_handler.create_image_reader(filename)
     assert image_reader is not None
     assert image_reader.Read()
示例#2
0
 def test_create_image_reader_with_string(self):
     image_reader = gdcm_handler.create_image_reader(mr_name)
     assert image_reader is not None
     assert image_reader.Read()
 def test_create_image_reader_with_py2_unicode_string(self):
     filename = mr_name.decode('utf-8')
     image_reader = gdcm_handler.create_image_reader(filename)
     assert image_reader is not None
     assert image_reader.Read()
示例#4
0
 def test_create_image_reader(self):
     ds = dcmread(mr_name)
     image_reader = gdcm_handler.create_image_reader(ds)
     assert image_reader is not None
     assert image_reader.Read()
 def test_create_image_reader_with_string(self):
     image_reader = gdcm_handler.create_image_reader(mr_name)
     assert image_reader is not None
     assert image_reader.Read()