X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=gdcmPython%2FtestSuite.py;h=8dcc6007f1fa3bba861f1a4d89bd10666aa03e28;hb=ab62b1a706df8e2ab1fbf26fa5037d6c22293655;hp=3f0ccd3af30485d8498f3ce41108fafa775d77be;hpb=9f596ccd6001b165eca959c6a7b104eb10ff9911;p=gdcm.git diff --git a/gdcmPython/testSuite.py b/gdcmPython/testSuite.py index 3f0ccd3a..8dcc6007 100644 --- a/gdcmPython/testSuite.py +++ b/gdcmPython/testSuite.py @@ -12,37 +12,8 @@ class gdcmTestCase(unittest.TestCase): # http://www.barre.nom.fr/medical/samples/index.html BarreFiles = [ #################################### - # CR modality examples: - #################################### - ["CR-MONO1-10-chest.dcm", - [ ["Modality", "CR"], - #"Transfer Syntax UID" is absent. - ["Rows", "440"], - ["Columns", "440"], - ["Bits Stored", "10"], - ["Bits Allocated", "16"], - ["High Bit", "9"], - ["Pixel Representation", "0"], - ["Manufacturer", "FUJI PHOTO FILM CO. LTD."], - ["Manufacturer's Model Name", "9000"], - ["Pixel Data", "gdcm::NotLoaded. Address:776 Length:387200 x(5e880)"] - ] ], - #################################### # CT modality examples: #################################### - ["CT-MONO2-16-brain.dcm", - [ ["Transfer Syntax UID", "1.2.840.10008.1.2.1"], # Explicit VR, LE - ["Modality", "CT"], - ["Rows", "512"], - ["Columns", "512"], - ["Bits Stored", "16"], - ["Bits Allocated", "16"], - ["High Bit", "15"], - ["Pixel Representation", "1"], - ["Manufacturer", "Picker International, Inc."], - ["Manufacturer's Model Name", "PQ5000"], - ["Pixel Data", "gdcm::NotLoaded. Address:1680 Length:524288 x(80000)"] - ] ], ["CT-MONO2-16-ort.dcm", [ ["Transfer Syntax UID", "1.2.840.10008.1.2"], # Implicit VR, LE ["Modality", "CT"], @@ -81,7 +52,7 @@ class gdcmTestCase(unittest.TestCase): ["Manufacturer", "FUJI"], ["Pixel Data", "gdcm::NotLoaded. Address:796 Length:262144 x(40000)"] ] ], - ["CT-MONO2-12-lomb-an2.acr2", + ["CT-MONO2-12-lomb-an2.acr", [ ["Modality", "CT"], #"Transfer Syntax UID" and "Photometric Interpretation" are absent. ["Rows", "512"], @@ -109,7 +80,7 @@ class gdcmTestCase(unittest.TestCase): #################################### ### MR modality examples: #################################### - ["MR-MONO2-12-angio-an1.acr1", + ["MR-MONO2-12-angio-an1.acr", [ ["Recognition Code (RET)", "ACR-NEMA 1.0"], ["Modality", "MR"], #"Transfer Syntax UID" and "Photometric Interpretation" are absent. @@ -123,7 +94,7 @@ class gdcmTestCase(unittest.TestCase): # Note: 256*256*12/8 = 98304 ["Pixel Data", "gdcm::NotLoaded. Address:650 Length:98304 x(18000)"] ] ], - ["MR-MONO2-12-an2.acr2", + ["MR-MONO2-12-an2.acr", [ ["Modality", "MR"], ["Photometric Interpretation", "MONOCHROME2"], ["Rows", "256"], @@ -310,7 +281,7 @@ class gdcmTestCase(unittest.TestCase): ] GdcmFiles = [ - ["gdcm-MR-SIEMENS-16.acr1", + ["gdcm-MR-SIEMENS-16-1.acr", # Interest: good old Acr-Nema Version 1, see also Oddities below [ ["Recognition Code (RET)", "ACR-NEMA 1.0"], ["Modality", "MR"], @@ -329,7 +300,7 @@ class gdcmTestCase(unittest.TestCase): ["Study ID", ""], ["Series Number", ""] ] ], # Oddities: "Study" and "Serie Instance UID" are not present - ["gdcm-MR-SIEMENS-16.acr2", + ["gdcm-MR-SIEMENS-16-2.acr", # Interest: Acr-Nema Version 2 [ ["Recognition Code (RET)", "ACR-NEMA 2.0"], ["Modality", "MR"],