Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 3
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()
Exemplo n.º 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()
Exemplo n.º 5
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()