/usr/lib/python2.7/dist-packages/gdcmswig.py is in python-gdcm 2.2.4-1.1ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.11
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
"""
A DICOM library
"""
from sys import version_info
if version_info >= (2,6,0):
def swig_import_helper():
from os.path import dirname
import imp
fp = None
try:
fp, pathname, description = imp.find_module('_gdcmswig', [dirname(__file__)])
except ImportError:
import _gdcmswig
return _gdcmswig
if fp is not None:
try:
_mod = imp.load_module('_gdcmswig', fp, pathname, description)
finally:
fp.close()
return _mod
_gdcmswig = swig_import_helper()
del swig_import_helper
else:
import _gdcmswig
del version_info
try:
_swig_property = property
except NameError:
pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "thisown"): return self.this.own(value)
if (name == "this"):
if type(value).__name__ == 'SwigPyObject':
self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
if (not static):
self.__dict__[name] = value
else:
raise AttributeError("You cannot add attributes to %s" % self)
def _swig_setattr(self,class_type,name,value):
return _swig_setattr_nondynamic(self,class_type,name,value,0)
def _swig_getattr(self,class_type,name):
if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError(name)
def _swig_repr(self):
try: strthis = "proxy of " + self.this.__repr__()
except: strthis = ""
return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
try:
_object = object
_newclass = 1
except AttributeError:
class _object : pass
_newclass = 0
try:
import weakref
weakref_proxy = weakref.proxy
except:
weakref_proxy = lambda x: x
class SwigPyIterator(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SwigPyIterator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SwigPyIterator, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_SwigPyIterator
__del__ = lambda self : None;
def value(self): return _gdcmswig.SwigPyIterator_value(self)
def incr(self, n=1): return _gdcmswig.SwigPyIterator_incr(self, n)
def decr(self, n=1): return _gdcmswig.SwigPyIterator_decr(self, n)
def distance(self, *args): return _gdcmswig.SwigPyIterator_distance(self, *args)
def equal(self, *args): return _gdcmswig.SwigPyIterator_equal(self, *args)
def copy(self): return _gdcmswig.SwigPyIterator_copy(self)
def next(self): return _gdcmswig.SwigPyIterator_next(self)
def __next__(self): return _gdcmswig.SwigPyIterator___next__(self)
def previous(self): return _gdcmswig.SwigPyIterator_previous(self)
def advance(self, *args): return _gdcmswig.SwigPyIterator_advance(self, *args)
def __eq__(self, *args): return _gdcmswig.SwigPyIterator___eq__(self, *args)
def __ne__(self, *args): return _gdcmswig.SwigPyIterator___ne__(self, *args)
def __iadd__(self, *args): return _gdcmswig.SwigPyIterator___iadd__(self, *args)
def __isub__(self, *args): return _gdcmswig.SwigPyIterator___isub__(self, *args)
def __add__(self, *args): return _gdcmswig.SwigPyIterator___add__(self, *args)
def __sub__(self, *args): return _gdcmswig.SwigPyIterator___sub__(self, *args)
def __iter__(self): return self
SwigPyIterator_swigregister = _gdcmswig.SwigPyIterator_swigregister
SwigPyIterator_swigregister(SwigPyIterator)
PUB_DICT_PATH = _gdcmswig.PUB_DICT_PATH
GDCM_SOURCE_DIR = _gdcmswig.GDCM_SOURCE_DIR
GDCM_EXECUTABLE_OUTPUT_PATH = _gdcmswig.GDCM_EXECUTABLE_OUTPUT_PATH
GDCM_LIBRARY_OUTPUT_PATH = _gdcmswig.GDCM_LIBRARY_OUTPUT_PATH
OPENJPEG_MAJOR_VERSION = _gdcmswig.OPENJPEG_MAJOR_VERSION
GDCM_CMAKE_INSTALL_PREFIX = _gdcmswig.GDCM_CMAKE_INSTALL_PREFIX
GDCM_INSTALL_INCLUDE_DIR = _gdcmswig.GDCM_INSTALL_INCLUDE_DIR
GDCM_INSTALL_DATA_DIR = _gdcmswig.GDCM_INSTALL_DATA_DIR
GDCM_PVRG_JPEG_EXECUTABLE = _gdcmswig.GDCM_PVRG_JPEG_EXECUTABLE
GDCM_KAKADU_EXPAND_EXECUTABLE = _gdcmswig.GDCM_KAKADU_EXPAND_EXECUTABLE
GDCM_MAJOR_VERSION = _gdcmswig.GDCM_MAJOR_VERSION
GDCM_MINOR_VERSION = _gdcmswig.GDCM_MINOR_VERSION
GDCM_BUILD_VERSION = _gdcmswig.GDCM_BUILD_VERSION
GDCM_VERSION = _gdcmswig.GDCM_VERSION
GDCM_API_VERSION = _gdcmswig.GDCM_API_VERSION
class SwapCode(_object):
"""
SwapCode representation.
C++ includes: gdcmSwapCode.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SwapCode, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SwapCode, name)
__repr__ = _swig_repr
Unknown = _gdcmswig.SwapCode_Unknown
LittleEndian = _gdcmswig.SwapCode_LittleEndian
BigEndian = _gdcmswig.SwapCode_BigEndian
BadLittleEndian = _gdcmswig.SwapCode_BadLittleEndian
BadBigEndian = _gdcmswig.SwapCode_BadBigEndian
def __init__(self, *args):
"""gdcm::SwapCode::SwapCode(SwapCodeType sc=Unknown) """
this = _gdcmswig.new_SwapCode(*args)
try: self.this.append(this)
except: self.this = this
__swig_getmethods__["GetSwapCodeString"] = lambda x: _gdcmswig.SwapCode_GetSwapCodeString
if _newclass:GetSwapCodeString = staticmethod(_gdcmswig.SwapCode_GetSwapCodeString)
__swig_destroy__ = _gdcmswig.delete_SwapCode
__del__ = lambda self : None;
SwapCode_swigregister = _gdcmswig.SwapCode_swigregister
SwapCode_swigregister(SwapCode)
def SwapCode_GetSwapCodeString(*args):
return _gdcmswig.SwapCode_GetSwapCodeString(*args)
SwapCode_GetSwapCodeString = _gdcmswig.SwapCode_GetSwapCodeString
class Event(_object):
"""
superclass for callback/observer methods
See: Command Subject
C++ includes: gdcmEvent.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Event, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Event, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_Event
__del__ = lambda self : None;
def MakeObject(self):
"""
virtual Event*
gdcm::Event::MakeObject() const =0
Create an Event of this type This method work as a Factory for
creating events of each particular type.
"""
return _gdcmswig.Event_MakeObject(self)
def Print(self, *args):
"""
virtual void
gdcm::Event::Print(std::ostream &os) const
Print Event information. This method can be overridden by specific
Event subtypes. The default is to print out the type of the event.
"""
return _gdcmswig.Event_Print(self, *args)
def GetEventName(self):
"""
virtual const char*
gdcm::Event::GetEventName(void) const =0
Return the StringName associated with the event.
"""
return _gdcmswig.Event_GetEventName(self)
def CheckEvent(self, *args):
"""
virtual bool
gdcm::Event::CheckEvent(const Event *) const =0
Check if given event matches or derives from this event.
"""
return _gdcmswig.Event_CheckEvent(self, *args)
Event_swigregister = _gdcmswig.Event_swigregister
Event_swigregister(Event)
class NoEvent(Event):
"""
Define some common GDCM events
C++ includes: gdcmEvent.h
"""
__swig_setmethods__ = {}
for _s in [Event]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, NoEvent, name, value)
__swig_getmethods__ = {}
for _s in [Event]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, NoEvent, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_NoEvent
__del__ = lambda self : None;
def GetEventName(self):
"""
virtual const char*
gdcm::Event::GetEventName(void) const =0
Return the StringName associated with the event.
"""
return _gdcmswig.NoEvent_GetEventName(self)
def CheckEvent(self, *args):
"""
virtual bool
gdcm::Event::CheckEvent(const Event *) const =0
Check if given event matches or derives from this event.
"""
return _gdcmswig.NoEvent_CheckEvent(self, *args)
def MakeObject(self):
"""
virtual Event*
gdcm::Event::MakeObject() const =0
Create an Event of this type This method work as a Factory for
creating events of each particular type.
"""
return _gdcmswig.NoEvent_MakeObject(self)
NoEvent_swigregister = _gdcmswig.NoEvent_swigregister
NoEvent_swigregister(NoEvent)
class AnyEvent(Event):
"""C++ includes: gdcmEvent.h """
__swig_setmethods__ = {}
for _s in [Event]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, AnyEvent, name, value)
__swig_getmethods__ = {}
for _s in [Event]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, AnyEvent, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_AnyEvent
__del__ = lambda self : None;
def GetEventName(self):
"""
virtual const char*
gdcm::Event::GetEventName(void) const =0
Return the StringName associated with the event.
"""
return _gdcmswig.AnyEvent_GetEventName(self)
def CheckEvent(self, *args):
"""
virtual bool
gdcm::Event::CheckEvent(const Event *) const =0
Check if given event matches or derives from this event.
"""
return _gdcmswig.AnyEvent_CheckEvent(self, *args)
def MakeObject(self):
"""
virtual Event*
gdcm::Event::MakeObject() const =0
Create an Event of this type This method work as a Factory for
creating events of each particular type.
"""
return _gdcmswig.AnyEvent_MakeObject(self)
AnyEvent_swigregister = _gdcmswig.AnyEvent_swigregister
AnyEvent_swigregister(AnyEvent)
class StartEvent(AnyEvent):
"""C++ includes: gdcmEvent.h """
__swig_setmethods__ = {}
for _s in [AnyEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, StartEvent, name, value)
__swig_getmethods__ = {}
for _s in [AnyEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, StartEvent, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_StartEvent
__del__ = lambda self : None;
def GetEventName(self):
"""
virtual const char*
gdcm::Event::GetEventName(void) const =0
Return the StringName associated with the event.
"""
return _gdcmswig.StartEvent_GetEventName(self)
def CheckEvent(self, *args):
"""
virtual bool
gdcm::Event::CheckEvent(const Event *) const =0
Check if given event matches or derives from this event.
"""
return _gdcmswig.StartEvent_CheckEvent(self, *args)
def MakeObject(self):
"""
virtual Event*
gdcm::Event::MakeObject() const =0
Create an Event of this type This method work as a Factory for
creating events of each particular type.
"""
return _gdcmswig.StartEvent_MakeObject(self)
StartEvent_swigregister = _gdcmswig.StartEvent_swigregister
StartEvent_swigregister(StartEvent)
class EndEvent(AnyEvent):
"""C++ includes: gdcmEvent.h """
__swig_setmethods__ = {}
for _s in [AnyEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, EndEvent, name, value)
__swig_getmethods__ = {}
for _s in [AnyEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, EndEvent, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_EndEvent
__del__ = lambda self : None;
def GetEventName(self):
"""
virtual const char*
gdcm::Event::GetEventName(void) const =0
Return the StringName associated with the event.
"""
return _gdcmswig.EndEvent_GetEventName(self)
def CheckEvent(self, *args):
"""
virtual bool
gdcm::Event::CheckEvent(const Event *) const =0
Check if given event matches or derives from this event.
"""
return _gdcmswig.EndEvent_CheckEvent(self, *args)
def MakeObject(self):
"""
virtual Event*
gdcm::Event::MakeObject() const =0
Create an Event of this type This method work as a Factory for
creating events of each particular type.
"""
return _gdcmswig.EndEvent_MakeObject(self)
EndEvent_swigregister = _gdcmswig.EndEvent_swigregister
EndEvent_swigregister(EndEvent)
class ExitEvent(AnyEvent):
"""C++ includes: gdcmEvent.h """
__swig_setmethods__ = {}
for _s in [AnyEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ExitEvent, name, value)
__swig_getmethods__ = {}
for _s in [AnyEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ExitEvent, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_ExitEvent
__del__ = lambda self : None;
def GetEventName(self):
"""
virtual const char*
gdcm::Event::GetEventName(void) const =0
Return the StringName associated with the event.
"""
return _gdcmswig.ExitEvent_GetEventName(self)
def CheckEvent(self, *args):
"""
virtual bool
gdcm::Event::CheckEvent(const Event *) const =0
Check if given event matches or derives from this event.
"""
return _gdcmswig.ExitEvent_CheckEvent(self, *args)
def MakeObject(self):
"""
virtual Event*
gdcm::Event::MakeObject() const =0
Create an Event of this type This method work as a Factory for
creating events of each particular type.
"""
return _gdcmswig.ExitEvent_MakeObject(self)
ExitEvent_swigregister = _gdcmswig.ExitEvent_swigregister
ExitEvent_swigregister(ExitEvent)
class AbortEvent(AnyEvent):
"""C++ includes: gdcmEvent.h """
__swig_setmethods__ = {}
for _s in [AnyEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, AbortEvent, name, value)
__swig_getmethods__ = {}
for _s in [AnyEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, AbortEvent, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_AbortEvent
__del__ = lambda self : None;
def GetEventName(self):
"""
virtual const char*
gdcm::Event::GetEventName(void) const =0
Return the StringName associated with the event.
"""
return _gdcmswig.AbortEvent_GetEventName(self)
def CheckEvent(self, *args):
"""
virtual bool
gdcm::Event::CheckEvent(const Event *) const =0
Check if given event matches or derives from this event.
"""
return _gdcmswig.AbortEvent_CheckEvent(self, *args)
def MakeObject(self):
"""
virtual Event*
gdcm::Event::MakeObject() const =0
Create an Event of this type This method work as a Factory for
creating events of each particular type.
"""
return _gdcmswig.AbortEvent_MakeObject(self)
AbortEvent_swigregister = _gdcmswig.AbortEvent_swigregister
AbortEvent_swigregister(AbortEvent)
class ModifiedEvent(AnyEvent):
"""
C++ includes: gdcmEvent.h
"""
__swig_setmethods__ = {}
for _s in [AnyEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ModifiedEvent, name, value)
__swig_getmethods__ = {}
for _s in [AnyEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ModifiedEvent, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_ModifiedEvent
__del__ = lambda self : None;
def GetEventName(self):
"""
virtual const char*
gdcm::Event::GetEventName(void) const =0
Return the StringName associated with the event.
"""
return _gdcmswig.ModifiedEvent_GetEventName(self)
def CheckEvent(self, *args):
"""
virtual bool
gdcm::Event::CheckEvent(const Event *) const =0
Check if given event matches or derives from this event.
"""
return _gdcmswig.ModifiedEvent_CheckEvent(self, *args)
def MakeObject(self):
"""
virtual Event*
gdcm::Event::MakeObject() const =0
Create an Event of this type This method work as a Factory for
creating events of each particular type.
"""
return _gdcmswig.ModifiedEvent_MakeObject(self)
ModifiedEvent_swigregister = _gdcmswig.ModifiedEvent_swigregister
ModifiedEvent_swigregister(ModifiedEvent)
class InitializeEvent(AnyEvent):
"""
C++ includes:
gdcmEvent.h
"""
__swig_setmethods__ = {}
for _s in [AnyEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, InitializeEvent, name, value)
__swig_getmethods__ = {}
for _s in [AnyEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, InitializeEvent, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_InitializeEvent
__del__ = lambda self : None;
def GetEventName(self):
"""
virtual const char*
gdcm::Event::GetEventName(void) const =0
Return the StringName associated with the event.
"""
return _gdcmswig.InitializeEvent_GetEventName(self)
def CheckEvent(self, *args):
"""
virtual bool
gdcm::Event::CheckEvent(const Event *) const =0
Check if given event matches or derives from this event.
"""
return _gdcmswig.InitializeEvent_CheckEvent(self, *args)
def MakeObject(self):
"""
virtual Event*
gdcm::Event::MakeObject() const =0
Create an Event of this type This method work as a Factory for
creating events of each particular type.
"""
return _gdcmswig.InitializeEvent_MakeObject(self)
InitializeEvent_swigregister = _gdcmswig.InitializeEvent_swigregister
InitializeEvent_swigregister(InitializeEvent)
class IterationEvent(AnyEvent):
"""
C++ includes: gdcmEvent.h
"""
__swig_setmethods__ = {}
for _s in [AnyEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, IterationEvent, name, value)
__swig_getmethods__ = {}
for _s in [AnyEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, IterationEvent, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_IterationEvent
__del__ = lambda self : None;
def GetEventName(self):
"""
virtual const char*
gdcm::Event::GetEventName(void) const =0
Return the StringName associated with the event.
"""
return _gdcmswig.IterationEvent_GetEventName(self)
def CheckEvent(self, *args):
"""
virtual bool
gdcm::Event::CheckEvent(const Event *) const =0
Check if given event matches or derives from this event.
"""
return _gdcmswig.IterationEvent_CheckEvent(self, *args)
def MakeObject(self):
"""
virtual Event*
gdcm::Event::MakeObject() const =0
Create an Event of this type This method work as a Factory for
creating events of each particular type.
"""
return _gdcmswig.IterationEvent_MakeObject(self)
IterationEvent_swigregister = _gdcmswig.IterationEvent_swigregister
IterationEvent_swigregister(IterationEvent)
class UserEvent(AnyEvent):
"""C++ includes: gdcmEvent.h """
__swig_setmethods__ = {}
for _s in [AnyEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, UserEvent, name, value)
__swig_getmethods__ = {}
for _s in [AnyEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, UserEvent, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_UserEvent
__del__ = lambda self : None;
def GetEventName(self):
"""
virtual const char*
gdcm::Event::GetEventName(void) const =0
Return the StringName associated with the event.
"""
return _gdcmswig.UserEvent_GetEventName(self)
def CheckEvent(self, *args):
"""
virtual bool
gdcm::Event::CheckEvent(const Event *) const =0
Check if given event matches or derives from this event.
"""
return _gdcmswig.UserEvent_CheckEvent(self, *args)
def MakeObject(self):
"""
virtual Event*
gdcm::Event::MakeObject() const =0
Create an Event of this type This method work as a Factory for
creating events of each particular type.
"""
return _gdcmswig.UserEvent_MakeObject(self)
UserEvent_swigregister = _gdcmswig.UserEvent_swigregister
UserEvent_swigregister(UserEvent)
class PixelFormat(_object):
"""
PixelFormat.
By default the Pixel Type will be instanciated with the following
parameters: SamplesPerPixel : 1
BitsAllocated : 8
BitsStored : 8
HighBit : 7
PixelRepresentation : 0
C++ includes: gdcmPixelFormat.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PixelFormat, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PixelFormat, name)
__repr__ = _swig_repr
UINT8 = _gdcmswig.PixelFormat_UINT8
INT8 = _gdcmswig.PixelFormat_INT8
UINT12 = _gdcmswig.PixelFormat_UINT12
INT12 = _gdcmswig.PixelFormat_INT12
UINT16 = _gdcmswig.PixelFormat_UINT16
INT16 = _gdcmswig.PixelFormat_INT16
UINT32 = _gdcmswig.PixelFormat_UINT32
INT32 = _gdcmswig.PixelFormat_INT32
FLOAT16 = _gdcmswig.PixelFormat_FLOAT16
FLOAT32 = _gdcmswig.PixelFormat_FLOAT32
FLOAT64 = _gdcmswig.PixelFormat_FLOAT64
SINGLEBIT = _gdcmswig.PixelFormat_SINGLEBIT
UNKNOWN = _gdcmswig.PixelFormat_UNKNOWN
def __init__(self, *args):
"""gdcm::PixelFormat::PixelFormat(ScalarType st) """
this = _gdcmswig.new_PixelFormat(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_PixelFormat
__del__ = lambda self : None;
def GetSamplesPerPixel(self):
"""
unsigned short gdcm::PixelFormat::GetSamplesPerPixel() const
Samples Per Pixel see (0028,0002) US Samples Per Pixel DICOM - only
allows 1, 3 and 4 as valid value. Other value are undefined behavior.
"""
return _gdcmswig.PixelFormat_GetSamplesPerPixel(self)
def SetSamplesPerPixel(self, *args):
"""
void
gdcm::PixelFormat::SetSamplesPerPixel(unsigned short spp)
"""
return _gdcmswig.PixelFormat_SetSamplesPerPixel(self, *args)
def GetBitsAllocated(self):
"""
unsigned
short gdcm::PixelFormat::GetBitsAllocated() const
BitsAllocated see Tag (0028,0100) US Bits Allocated.
"""
return _gdcmswig.PixelFormat_GetBitsAllocated(self)
def SetBitsAllocated(self, *args):
"""
void
gdcm::PixelFormat::SetBitsAllocated(unsigned short ba)
"""
return _gdcmswig.PixelFormat_SetBitsAllocated(self, *args)
def GetBitsStored(self):
"""
unsigned
short gdcm::PixelFormat::GetBitsStored() const
BitsStored see Tag (0028,0101) US Bits Stored.
"""
return _gdcmswig.PixelFormat_GetBitsStored(self)
def SetBitsStored(self, *args):
"""
void
gdcm::PixelFormat::SetBitsStored(unsigned short bs)
"""
return _gdcmswig.PixelFormat_SetBitsStored(self, *args)
def GetHighBit(self):
"""
unsigned short
gdcm::PixelFormat::GetHighBit() const
HighBit see Tag (0028,0102) US High Bit.
"""
return _gdcmswig.PixelFormat_GetHighBit(self)
def SetHighBit(self, *args):
"""
void
gdcm::PixelFormat::SetHighBit(unsigned short hb)
"""
return _gdcmswig.PixelFormat_SetHighBit(self, *args)
def GetPixelRepresentation(self):
"""
unsigned short gdcm::PixelFormat::GetPixelRepresentation() const
PixelRepresentation: 0 or 1, see Tag (0028,0103) US Pixel
Representation.
"""
return _gdcmswig.PixelFormat_GetPixelRepresentation(self)
def SetPixelRepresentation(self, *args):
"""void gdcm::PixelFormat::SetPixelRepresentation(unsigned short pr) """
return _gdcmswig.PixelFormat_SetPixelRepresentation(self, *args)
def GetScalarType(self):
"""
ScalarType
gdcm::PixelFormat::GetScalarType() const
ScalarType does not take into account the sample per pixel.
"""
return _gdcmswig.PixelFormat_GetScalarType(self)
def SetScalarType(self, *args):
"""
void
gdcm::PixelFormat::SetScalarType(ScalarType st)
Set PixelFormat based only on the ScalarType WARNING: : You need to
call SetScalarType *before* SetSamplesPerPixel
"""
return _gdcmswig.PixelFormat_SetScalarType(self, *args)
def GetScalarTypeAsString(self):
"""const char* gdcm::PixelFormat::GetScalarTypeAsString() const """
return _gdcmswig.PixelFormat_GetScalarTypeAsString(self)
def GetPixelSize(self):
"""
uint8_t
gdcm::PixelFormat::GetPixelSize() const
return the size of the pixel This is the number of words it would take
to store one pixel WARNING: the return value takes into account the
SamplesPerPixel
in the rare case when BitsAllocated == 12, the function assume word
padding and value returned will be identical as if BitsAllocated == 16
"""
return _gdcmswig.PixelFormat_GetPixelSize(self)
def Print(self, *args):
"""
void
gdcm::PixelFormat::Print(std::ostream &os) const
Print.
"""
return _gdcmswig.PixelFormat_Print(self, *args)
def GetMin(self):
"""
int64_t
gdcm::PixelFormat::GetMin() const
return the min possible of the pixel
"""
return _gdcmswig.PixelFormat_GetMin(self)
def GetMax(self):
"""
int64_t
gdcm::PixelFormat::GetMax() const
return the max possible of the pixel
"""
return _gdcmswig.PixelFormat_GetMax(self)
def IsValid(self):
"""
bool
gdcm::PixelFormat::IsValid() const
return IsValid
"""
return _gdcmswig.PixelFormat_IsValid(self)
def __eq__(self, *args): return _gdcmswig.PixelFormat___eq__(self, *args)
def __ne__(self, *args): return _gdcmswig.PixelFormat___ne__(self, *args)
def __str__(self): return _gdcmswig.PixelFormat___str__(self)
PixelFormat_swigregister = _gdcmswig.PixelFormat_swigregister
PixelFormat_swigregister(PixelFormat)
class MediaStorage(_object):
"""
MediaStorage.
FIXME There should not be any notion of Image and/or PDF at that point
Only the codec can answer yes I support this Media Storage or not...
For instance an ImageCodec will answer yes to most of them while a
PDFCodec will answer only for the Encapsulated PDF
See: UIDs
C++ includes: gdcmMediaStorage.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, MediaStorage, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, MediaStorage, name)
__repr__ = _swig_repr
MediaStorageDirectoryStorage = _gdcmswig.MediaStorage_MediaStorageDirectoryStorage
ComputedRadiographyImageStorage = _gdcmswig.MediaStorage_ComputedRadiographyImageStorage
DigitalXRayImageStorageForPresentation = _gdcmswig.MediaStorage_DigitalXRayImageStorageForPresentation
DigitalXRayImageStorageForProcessing = _gdcmswig.MediaStorage_DigitalXRayImageStorageForProcessing
DigitalMammographyImageStorageForPresentation = _gdcmswig.MediaStorage_DigitalMammographyImageStorageForPresentation
DigitalMammographyImageStorageForProcessing = _gdcmswig.MediaStorage_DigitalMammographyImageStorageForProcessing
DigitalIntraoralXrayImageStorageForPresentation = _gdcmswig.MediaStorage_DigitalIntraoralXrayImageStorageForPresentation
DigitalIntraoralXRayImageStorageForProcessing = _gdcmswig.MediaStorage_DigitalIntraoralXRayImageStorageForProcessing
CTImageStorage = _gdcmswig.MediaStorage_CTImageStorage
EnhancedCTImageStorage = _gdcmswig.MediaStorage_EnhancedCTImageStorage
UltrasoundImageStorageRetired = _gdcmswig.MediaStorage_UltrasoundImageStorageRetired
UltrasoundImageStorage = _gdcmswig.MediaStorage_UltrasoundImageStorage
UltrasoundMultiFrameImageStorageRetired = _gdcmswig.MediaStorage_UltrasoundMultiFrameImageStorageRetired
UltrasoundMultiFrameImageStorage = _gdcmswig.MediaStorage_UltrasoundMultiFrameImageStorage
MRImageStorage = _gdcmswig.MediaStorage_MRImageStorage
EnhancedMRImageStorage = _gdcmswig.MediaStorage_EnhancedMRImageStorage
MRSpectroscopyStorage = _gdcmswig.MediaStorage_MRSpectroscopyStorage
NuclearMedicineImageStorageRetired = _gdcmswig.MediaStorage_NuclearMedicineImageStorageRetired
SecondaryCaptureImageStorage = _gdcmswig.MediaStorage_SecondaryCaptureImageStorage
MultiframeSingleBitSecondaryCaptureImageStorage = _gdcmswig.MediaStorage_MultiframeSingleBitSecondaryCaptureImageStorage
MultiframeGrayscaleByteSecondaryCaptureImageStorage = _gdcmswig.MediaStorage_MultiframeGrayscaleByteSecondaryCaptureImageStorage
MultiframeGrayscaleWordSecondaryCaptureImageStorage = _gdcmswig.MediaStorage_MultiframeGrayscaleWordSecondaryCaptureImageStorage
MultiframeTrueColorSecondaryCaptureImageStorage = _gdcmswig.MediaStorage_MultiframeTrueColorSecondaryCaptureImageStorage
StandaloneOverlayStorage = _gdcmswig.MediaStorage_StandaloneOverlayStorage
StandaloneCurveStorage = _gdcmswig.MediaStorage_StandaloneCurveStorage
LeadECGWaveformStorage = _gdcmswig.MediaStorage_LeadECGWaveformStorage
GeneralECGWaveformStorage = _gdcmswig.MediaStorage_GeneralECGWaveformStorage
AmbulatoryECGWaveformStorage = _gdcmswig.MediaStorage_AmbulatoryECGWaveformStorage
HemodynamicWaveformStorage = _gdcmswig.MediaStorage_HemodynamicWaveformStorage
CardiacElectrophysiologyWaveformStorage = _gdcmswig.MediaStorage_CardiacElectrophysiologyWaveformStorage
BasicVoiceAudioWaveformStorage = _gdcmswig.MediaStorage_BasicVoiceAudioWaveformStorage
StandaloneModalityLUTStorage = _gdcmswig.MediaStorage_StandaloneModalityLUTStorage
StandaloneVOILUTStorage = _gdcmswig.MediaStorage_StandaloneVOILUTStorage
GrayscaleSoftcopyPresentationStateStorageSOPClass = _gdcmswig.MediaStorage_GrayscaleSoftcopyPresentationStateStorageSOPClass
XRayAngiographicImageStorage = _gdcmswig.MediaStorage_XRayAngiographicImageStorage
XRayRadiofluoroscopingImageStorage = _gdcmswig.MediaStorage_XRayRadiofluoroscopingImageStorage
XRayAngiographicBiPlaneImageStorageRetired = _gdcmswig.MediaStorage_XRayAngiographicBiPlaneImageStorageRetired
NuclearMedicineImageStorage = _gdcmswig.MediaStorage_NuclearMedicineImageStorage
RawDataStorage = _gdcmswig.MediaStorage_RawDataStorage
SpacialRegistrationStorage = _gdcmswig.MediaStorage_SpacialRegistrationStorage
SpacialFiducialsStorage = _gdcmswig.MediaStorage_SpacialFiducialsStorage
PETImageStorage = _gdcmswig.MediaStorage_PETImageStorage
RTImageStorage = _gdcmswig.MediaStorage_RTImageStorage
RTDoseStorage = _gdcmswig.MediaStorage_RTDoseStorage
RTStructureSetStorage = _gdcmswig.MediaStorage_RTStructureSetStorage
RTPlanStorage = _gdcmswig.MediaStorage_RTPlanStorage
CSANonImageStorage = _gdcmswig.MediaStorage_CSANonImageStorage
Philips3D = _gdcmswig.MediaStorage_Philips3D
EnhancedSR = _gdcmswig.MediaStorage_EnhancedSR
BasicTextSR = _gdcmswig.MediaStorage_BasicTextSR
HardcopyGrayscaleImageStorage = _gdcmswig.MediaStorage_HardcopyGrayscaleImageStorage
ComprehensiveSR = _gdcmswig.MediaStorage_ComprehensiveSR
DetachedStudyManagementSOPClass = _gdcmswig.MediaStorage_DetachedStudyManagementSOPClass
EncapsulatedPDFStorage = _gdcmswig.MediaStorage_EncapsulatedPDFStorage
EncapsulatedCDAStorage = _gdcmswig.MediaStorage_EncapsulatedCDAStorage
StudyComponentManagementSOPClass = _gdcmswig.MediaStorage_StudyComponentManagementSOPClass
DetachedVisitManagementSOPClass = _gdcmswig.MediaStorage_DetachedVisitManagementSOPClass
DetachedPatientManagementSOPClass = _gdcmswig.MediaStorage_DetachedPatientManagementSOPClass
VideoEndoscopicImageStorage = _gdcmswig.MediaStorage_VideoEndoscopicImageStorage
GeneralElectricMagneticResonanceImageStorage = _gdcmswig.MediaStorage_GeneralElectricMagneticResonanceImageStorage
GEPrivate3DModelStorage = _gdcmswig.MediaStorage_GEPrivate3DModelStorage
ToshibaPrivateDataStorage = _gdcmswig.MediaStorage_ToshibaPrivateDataStorage
MammographyCADSR = _gdcmswig.MediaStorage_MammographyCADSR
KeyObjectSelectionDocument = _gdcmswig.MediaStorage_KeyObjectSelectionDocument
HangingProtocolStorage = _gdcmswig.MediaStorage_HangingProtocolStorage
ModalityPerformedProcedureStepSOPClass = _gdcmswig.MediaStorage_ModalityPerformedProcedureStepSOPClass
PhilipsPrivateMRSyntheticImageStorage = _gdcmswig.MediaStorage_PhilipsPrivateMRSyntheticImageStorage
VLPhotographicImageStorage = _gdcmswig.MediaStorage_VLPhotographicImageStorage
SegmentationStorage = _gdcmswig.MediaStorage_SegmentationStorage
RTIonPlanStorage = _gdcmswig.MediaStorage_RTIonPlanStorage
XRay3DAngiographicImageStorage = _gdcmswig.MediaStorage_XRay3DAngiographicImageStorage
EnhancedXAImageStorage = _gdcmswig.MediaStorage_EnhancedXAImageStorage
RTIonBeamsTreatmentRecordStorage = _gdcmswig.MediaStorage_RTIonBeamsTreatmentRecordStorage
SurfaceSegmentationStorage = _gdcmswig.MediaStorage_SurfaceSegmentationStorage
VLWholeSlideMicroscopyImageStorage = _gdcmswig.MediaStorage_VLWholeSlideMicroscopyImageStorage
RTTreatmentSummaryRecordStorage = _gdcmswig.MediaStorage_RTTreatmentSummaryRecordStorage
EnhancedUSVolumeStorage = _gdcmswig.MediaStorage_EnhancedUSVolumeStorage
XRayRadiationDoseSR = _gdcmswig.MediaStorage_XRayRadiationDoseSR
VLEndoscopicImageStorage = _gdcmswig.MediaStorage_VLEndoscopicImageStorage
BreastTomosynthesisImageStorage = _gdcmswig.MediaStorage_BreastTomosynthesisImageStorage
FujiPrivateCRImageStorage = _gdcmswig.MediaStorage_FujiPrivateCRImageStorage
OphthalmicPhotography8BitImageStorage = _gdcmswig.MediaStorage_OphthalmicPhotography8BitImageStorage
OphthalmicTomographyImageStorage = _gdcmswig.MediaStorage_OphthalmicTomographyImageStorage
MS_END = _gdcmswig.MediaStorage_MS_END
NoObject = _gdcmswig.MediaStorage_NoObject
Video = _gdcmswig.MediaStorage_Video
Waveform = _gdcmswig.MediaStorage_Waveform
Audio = _gdcmswig.MediaStorage_Audio
PDF = _gdcmswig.MediaStorage_PDF
URI = _gdcmswig.MediaStorage_URI
Segmentation = _gdcmswig.MediaStorage_Segmentation
ObjectEnd = _gdcmswig.MediaStorage_ObjectEnd
__swig_getmethods__["GetMSString"] = lambda x: _gdcmswig.MediaStorage_GetMSString
if _newclass:GetMSString = staticmethod(_gdcmswig.MediaStorage_GetMSString)
def GetString(self):
"""
const char*
gdcm::MediaStorage::GetString() const
Return the Media String of the object.
"""
return _gdcmswig.MediaStorage_GetString(self)
__swig_getmethods__["GetMSType"] = lambda x: _gdcmswig.MediaStorage_GetMSType
if _newclass:GetMSType = staticmethod(_gdcmswig.MediaStorage_GetMSType)
def __init__(self, *args):
"""gdcm::MediaStorage::MediaStorage(MSType type=MS_END) """
this = _gdcmswig.new_MediaStorage(*args)
try: self.this.append(this)
except: self.this = this
__swig_getmethods__["IsImage"] = lambda x: _gdcmswig.MediaStorage_IsImage
if _newclass:IsImage = staticmethod(_gdcmswig.MediaStorage_IsImage)
def GetModality(self):
"""
const char*
gdcm::MediaStorage::GetModality() const
"""
return _gdcmswig.MediaStorage_GetModality(self)
def GetModalityDimension(self):
"""unsigned int gdcm::MediaStorage::GetModalityDimension() const """
return _gdcmswig.MediaStorage_GetModalityDimension(self)
__swig_getmethods__["GetNumberOfMSType"] = lambda x: _gdcmswig.MediaStorage_GetNumberOfMSType
if _newclass:GetNumberOfMSType = staticmethod(_gdcmswig.MediaStorage_GetNumberOfMSType)
__swig_getmethods__["GetNumberOfMSString"] = lambda x: _gdcmswig.MediaStorage_GetNumberOfMSString
if _newclass:GetNumberOfMSString = staticmethod(_gdcmswig.MediaStorage_GetNumberOfMSString)
__swig_getmethods__["GetNumberOfModality"] = lambda x: _gdcmswig.MediaStorage_GetNumberOfModality
if _newclass:GetNumberOfModality = staticmethod(_gdcmswig.MediaStorage_GetNumberOfModality)
def SetFromFile(self, *args):
"""
bool
gdcm::MediaStorage::SetFromFile(File const &file)
Attempt to set the MediaStorage from afile: WARNING: When no
MediaStorage & Modality are found BUT a PixelData element is found
then MediaStorage is set to the default SecondaryCaptureImageStorage
(return value is false in this case)
"""
return _gdcmswig.MediaStorage_SetFromFile(self, *args)
def SetFromDataSet(self, *args):
"""
bool
gdcm::MediaStorage::SetFromDataSet(DataSet const &ds)
Advanced user only (functions should be protected level...) Those
function are lower level than SetFromFile
"""
return _gdcmswig.MediaStorage_SetFromDataSet(self, *args)
def SetFromHeader(self, *args):
"""
bool
gdcm::MediaStorage::SetFromHeader(FileMetaInformation const &fmi)
"""
return _gdcmswig.MediaStorage_SetFromHeader(self, *args)
def SetFromModality(self, *args):
"""
bool
gdcm::MediaStorage::SetFromModality(DataSet const &ds)
"""
return _gdcmswig.MediaStorage_SetFromModality(self, *args)
def GuessFromModality(self, *args):
"""
void
gdcm::MediaStorage::GuessFromModality(const char *modality, unsigned
int dimension=2)
"""
return _gdcmswig.MediaStorage_GuessFromModality(self, *args)
def IsUndefined(self):
"""
bool
gdcm::MediaStorage::IsUndefined() const
"""
return _gdcmswig.MediaStorage_IsUndefined(self)
def __str__(self): return _gdcmswig.MediaStorage___str__(self)
__swig_destroy__ = _gdcmswig.delete_MediaStorage
__del__ = lambda self : None;
MediaStorage_swigregister = _gdcmswig.MediaStorage_swigregister
MediaStorage_swigregister(MediaStorage)
def MediaStorage_GetMSString(*args):
return _gdcmswig.MediaStorage_GetMSString(*args)
MediaStorage_GetMSString = _gdcmswig.MediaStorage_GetMSString
def MediaStorage_GetMSType(*args):
return _gdcmswig.MediaStorage_GetMSType(*args)
MediaStorage_GetMSType = _gdcmswig.MediaStorage_GetMSType
def MediaStorage_IsImage(*args):
return _gdcmswig.MediaStorage_IsImage(*args)
MediaStorage_IsImage = _gdcmswig.MediaStorage_IsImage
def MediaStorage_GetNumberOfMSType():
return _gdcmswig.MediaStorage_GetNumberOfMSType()
MediaStorage_GetNumberOfMSType = _gdcmswig.MediaStorage_GetNumberOfMSType
def MediaStorage_GetNumberOfMSString():
return _gdcmswig.MediaStorage_GetNumberOfMSString()
MediaStorage_GetNumberOfMSString = _gdcmswig.MediaStorage_GetNumberOfMSString
def MediaStorage_GetNumberOfModality():
return _gdcmswig.MediaStorage_GetNumberOfModality()
MediaStorage_GetNumberOfModality = _gdcmswig.MediaStorage_GetNumberOfModality
class Tag(_object):
"""
Class to represent a DICOM Data Element ( Attribute) Tag (Group,
Element). Basically an uint32_t which can also be expressed as two
uint16_t (group and element).
DATA ELEMENT TAG: A unique identifier for a Data Element composed of
an ordered pair of numbers (a Group Number followed by an Element
Number). GROUP NUMBER: The first number in the ordered pair of numbers
that makes up a Data Element Tag. ELEMENT NUMBER: The second number in
the ordered pair of numbers that makes up a Data Element Tag.
C++ includes: gdcmTag.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Tag, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Tag, name)
__repr__ = _swig_repr
def GetGroup(self):
"""
uint16_t
gdcm::Tag::GetGroup() const
Returns the 'Group number' of the given Tag.
"""
return _gdcmswig.Tag_GetGroup(self)
def GetElement(self):
"""
uint16_t
gdcm::Tag::GetElement() const
Returns the 'Element number' of the given Tag.
"""
return _gdcmswig.Tag_GetElement(self)
def SetGroup(self, *args):
"""
void
gdcm::Tag::SetGroup(uint16_t group)
Sets the 'Group number' of the given Tag.
"""
return _gdcmswig.Tag_SetGroup(self, *args)
def SetElement(self, *args):
"""
void
gdcm::Tag::SetElement(uint16_t element)
Sets the 'Element number' of the given Tag.
"""
return _gdcmswig.Tag_SetElement(self, *args)
def GetElementTag(self):
"""
uint32_t
gdcm::Tag::GetElementTag() const
Returns the full tag value of the given Tag.
"""
return _gdcmswig.Tag_GetElementTag(self)
def SetElementTag(self, *args):
"""
void
gdcm::Tag::SetElementTag(uint32_t tag)
Sets the full tag value of the given Tag.
"""
return _gdcmswig.Tag_SetElementTag(self, *args)
def __getitem__(self, *args): return _gdcmswig.Tag___getitem__(self, *args)
def __eq__(self, *args): return _gdcmswig.Tag___eq__(self, *args)
def __ne__(self, *args): return _gdcmswig.Tag___ne__(self, *args)
def __lt__(self, *args): return _gdcmswig.Tag___lt__(self, *args)
def __le__(self, *args): return _gdcmswig.Tag___le__(self, *args)
def __init__(self, *args):
"""
gdcm::Tag::Tag(const Tag
&_val)
"""
this = _gdcmswig.new_Tag(*args)
try: self.this.append(this)
except: self.this = this
def GetLength(self):
"""
uint32_t
gdcm::Tag::GetLength() const
return the length of tag (read: size on disk)
"""
return _gdcmswig.Tag_GetLength(self)
def IsPublic(self):
"""
bool
gdcm::Tag::IsPublic() const
STANDARD DATA ELEMENT: A Data Element defined in the DICOM Standard,
and therefore listed in the DICOM Data Element Dictionary in PS 3.6.
Is the Tag from the Public dict...well the implementation is buggy it
does not prove the element is indeed in the dict...
"""
return _gdcmswig.Tag_IsPublic(self)
def IsPrivate(self):
"""
bool
gdcm::Tag::IsPrivate() const
PRIVATE DATA ELEMENT: Additional Data Element, defined by an
implementor, to communicate information that is not contained in
Standard Data Elements. Private Data elements have odd Group Numbers.
"""
return _gdcmswig.Tag_IsPrivate(self)
def GetPrivateCreator(self):
"""
Tag
gdcm::Tag::GetPrivateCreator() const
Return the Private Creator Data Element tag of a private data element.
"""
return _gdcmswig.Tag_GetPrivateCreator(self)
def SetPrivateCreator(self, *args):
"""
void
gdcm::Tag::SetPrivateCreator(Tag const &t)
Set private creator:
"""
return _gdcmswig.Tag_SetPrivateCreator(self, *args)
def IsPrivateCreator(self):
"""
bool
gdcm::Tag::IsPrivateCreator() const
Returns if tag is a Private Creator (xxxx,00yy), where xxxx is odd
number and yy in [0x10,0xFF]
"""
return _gdcmswig.Tag_IsPrivateCreator(self)
def IsIllegal(self):
"""
bool
gdcm::Tag::IsIllegal() const
return if the tag is considered to be an illegal tag
"""
return _gdcmswig.Tag_IsIllegal(self)
def IsGroupLength(self):
"""
bool
gdcm::Tag::IsGroupLength() const
return whether the tag correspond to a group length tag:
"""
return _gdcmswig.Tag_IsGroupLength(self)
def IsGroupXX(self, *args):
"""
bool
gdcm::Tag::IsGroupXX(const Tag &t) const
e.g 6002,3000 belong to groupXX: 6000,3000
"""
return _gdcmswig.Tag_IsGroupXX(self, *args)
def ReadFromCommaSeparatedString(self, *args):
"""
bool
gdcm::Tag::ReadFromCommaSeparatedString(const char *str)
Read from a comma separated string. This is a highly user oriented
function, the string should be formated as: 1234,5678 to specify the
tag (0x1234,0x5678) The notation comes from the DICOM standard, and is
handy to use from a command line program
"""
return _gdcmswig.Tag_ReadFromCommaSeparatedString(self, *args)
def ReadFromPipeSeparatedString(self, *args):
"""
bool
gdcm::Tag::ReadFromPipeSeparatedString(const char *str)
Read from a pipe separated string (GDCM 1.x compat only). Do not use
in newer code See: ReadFromCommaSeparatedString
"""
return _gdcmswig.Tag_ReadFromPipeSeparatedString(self, *args)
def PrintAsPipeSeparatedString(self):
"""
std::string gdcm::Tag::PrintAsPipeSeparatedString() const
Print as a pipe separated string (GDCM 1.x compat only). Do not use in
newer code See: ReadFromPipeSeparatedString
"""
return _gdcmswig.Tag_PrintAsPipeSeparatedString(self)
def __str__(self): return _gdcmswig.Tag___str__(self)
__swig_destroy__ = _gdcmswig.delete_Tag
__del__ = lambda self : None;
Tag_swigregister = _gdcmswig.Tag_swigregister
Tag_swigregister(Tag)
def __rshift__(*args):
return _gdcmswig.__rshift__(*args)
__rshift__ = _gdcmswig.__rshift__
class PrivateTag(Tag):
"""
Class to represent a Private DICOM Data Element ( Attribute) Tag
(Group, Element, Owner).
private tag have element value in: [0x10,0xff], for instance
0x0009,0x0000 is NOT a private tag
C++ includes: gdcmPrivateTag.h
"""
__swig_setmethods__ = {}
for _s in [Tag]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, PrivateTag, name, value)
__swig_getmethods__ = {}
for _s in [Tag]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, PrivateTag, name)
__repr__ = _swig_repr
def __init__(self, group=0, element=0, owner=""):
"""
gdcm::PrivateTag::PrivateTag(uint16_t group=0, uint16_t element=0,
const char *owner="")
"""
this = _gdcmswig.new_PrivateTag(group, element, owner)
try: self.this.append(this)
except: self.this = this
def GetOwner(self):
"""
const char*
gdcm::PrivateTag::GetOwner() const
"""
return _gdcmswig.PrivateTag_GetOwner(self)
def SetOwner(self, *args):
"""
void
gdcm::PrivateTag::SetOwner(const char *owner)
"""
return _gdcmswig.PrivateTag_SetOwner(self, *args)
def __lt__(self, *args): return _gdcmswig.PrivateTag___lt__(self, *args)
def ReadFromCommaSeparatedString(self, *args):
"""
bool gdcm::PrivateTag::ReadFromCommaSeparatedString(const char *str)
Read PrivateTag from a string. Element number will be truncated to
8bits. Eg: "1234,5678,GDCM" is private tag: (1234,78,"GDCM")
"""
return _gdcmswig.PrivateTag_ReadFromCommaSeparatedString(self, *args)
def __str__(self): return _gdcmswig.PrivateTag___str__(self)
__swig_destroy__ = _gdcmswig.delete_PrivateTag
__del__ = lambda self : None;
PrivateTag_swigregister = _gdcmswig.PrivateTag_swigregister
PrivateTag_swigregister(PrivateTag)
class ProgressEvent(AnyEvent):
"""
ProgressEvent Special type of event triggered during.
See: AnyEvent
C++ includes: gdcmProgressEvent.h
"""
__swig_setmethods__ = {}
for _s in [AnyEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ProgressEvent, name, value)
__swig_getmethods__ = {}
for _s in [AnyEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ProgressEvent, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_ProgressEvent
__del__ = lambda self : None;
def GetEventName(self):
"""
virtual
const char* gdcm::ProgressEvent::GetEventName() const
Return the StringName associated with the event.
"""
return _gdcmswig.ProgressEvent_GetEventName(self)
def CheckEvent(self, *args):
"""
virtual bool
gdcm::ProgressEvent::CheckEvent(const ::gdcm::Event *e) const
"""
return _gdcmswig.ProgressEvent_CheckEvent(self, *args)
def MakeObject(self):
"""
virtual
::gdcm::Event* gdcm::ProgressEvent::MakeObject() const
Create an Event of this type This method work as a Factory for
creating events of each particular type.
"""
return _gdcmswig.ProgressEvent_MakeObject(self)
def SetProgress(self, *args):
"""
void
gdcm::ProgressEvent::SetProgress(double p)
"""
return _gdcmswig.ProgressEvent_SetProgress(self, *args)
def GetProgress(self):
"""
double
gdcm::ProgressEvent::GetProgress() const
"""
return _gdcmswig.ProgressEvent_GetProgress(self)
__swig_getmethods__["Cast"] = lambda x: _gdcmswig.ProgressEvent_Cast
if _newclass:Cast = staticmethod(_gdcmswig.ProgressEvent_Cast)
ProgressEvent_swigregister = _gdcmswig.ProgressEvent_swigregister
ProgressEvent_swigregister(ProgressEvent)
def ProgressEvent_Cast(*args):
return _gdcmswig.ProgressEvent_Cast(*args)
ProgressEvent_Cast = _gdcmswig.ProgressEvent_Cast
class AnonymizeEvent(AnyEvent):
"""
AnonymizeEvent Special type of event triggered during the
Anonymization process.
See: Anonymizer
C++ includes: gdcmAnonymizeEvent.h
"""
__swig_setmethods__ = {}
for _s in [AnyEvent]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, AnonymizeEvent, name, value)
__swig_getmethods__ = {}
for _s in [AnyEvent]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, AnonymizeEvent, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_AnonymizeEvent
__del__ = lambda self : None;
def GetEventName(self):
"""
virtual
const char* gdcm::AnonymizeEvent::GetEventName() const
Return the StringName associated with the event.
"""
return _gdcmswig.AnonymizeEvent_GetEventName(self)
def CheckEvent(self, *args):
"""
virtual bool
gdcm::AnonymizeEvent::CheckEvent(const ::gdcm::Event *e) const
"""
return _gdcmswig.AnonymizeEvent_CheckEvent(self, *args)
def MakeObject(self):
"""
virtual
::gdcm::Event* gdcm::AnonymizeEvent::MakeObject() const
Create an Event of this type This method work as a Factory for
creating events of each particular type.
"""
return _gdcmswig.AnonymizeEvent_MakeObject(self)
def SetTag(self, *args):
"""
void
gdcm::AnonymizeEvent::SetTag(const Tag &t)
"""
return _gdcmswig.AnonymizeEvent_SetTag(self, *args)
def GetTag(self):
"""
Tag const&
gdcm::AnonymizeEvent::GetTag() const
"""
return _gdcmswig.AnonymizeEvent_GetTag(self)
__swig_getmethods__["Cast"] = lambda x: _gdcmswig.AnonymizeEvent_Cast
if _newclass:Cast = staticmethod(_gdcmswig.AnonymizeEvent_Cast)
AnonymizeEvent_swigregister = _gdcmswig.AnonymizeEvent_swigregister
AnonymizeEvent_swigregister(AnonymizeEvent)
def AnonymizeEvent_Cast(*args):
return _gdcmswig.AnonymizeEvent_Cast(*args)
AnonymizeEvent_Cast = _gdcmswig.AnonymizeEvent_Cast
class VL(_object):
"""
Value Length.
WARNING: this is a 4bytes value ! Do not try to use it for 2bytes
value length
C++ includes: gdcmVL.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, VL, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, VL, name)
__repr__ = _swig_repr
def __init__(self, vl=0):
"""gdcm::VL::VL(uint32_t vl=0) """
this = _gdcmswig.new_VL(vl)
try: self.this.append(this)
except: self.this = this
__swig_getmethods__["GetVL32Max"] = lambda x: _gdcmswig.VL_GetVL32Max
if _newclass:GetVL32Max = staticmethod(_gdcmswig.VL_GetVL32Max)
__swig_getmethods__["GetVL16Max"] = lambda x: _gdcmswig.VL_GetVL16Max
if _newclass:GetVL16Max = staticmethod(_gdcmswig.VL_GetVL16Max)
def IsUndefined(self):
"""
bool
gdcm::VL::IsUndefined() const
"""
return _gdcmswig.VL_IsUndefined(self)
def SetToUndefined(self):
"""
void
gdcm::VL::SetToUndefined()
"""
return _gdcmswig.VL_SetToUndefined(self)
def IsOdd(self):
"""
bool gdcm::VL::IsOdd() const
Return whether or not the VL is odd or not.
"""
return _gdcmswig.VL_IsOdd(self)
def __add__(self, *args): return _gdcmswig.VL___add__(self, *args)
def GetLength(self):
"""
VL gdcm::VL::GetLength()
const
"""
return _gdcmswig.VL_GetLength(self)
def __str__(self): return _gdcmswig.VL___str__(self)
__swig_destroy__ = _gdcmswig.delete_VL
__del__ = lambda self : None;
VL_swigregister = _gdcmswig.VL_swigregister
VL_swigregister(VL)
def VL_GetVL32Max():
return _gdcmswig.VL_GetVL32Max()
VL_GetVL32Max = _gdcmswig.VL_GetVL32Max
def VL_GetVL16Max():
return _gdcmswig.VL_GetVL16Max()
VL_GetVL16Max = _gdcmswig.VL_GetVL16Max
class VR(_object):
"""
VR class This is adapted from DICOM standard The biggest difference is
the INVALID VR and the composite one that differ from standard (more
like an addition) This allow us to represent all the possible case
express in the DICOMV3 dict.
VALUE REPRESENTATION ( VR) Specifies the data type and format of the
Value(s) contained in the Value Field of a Data Element. VALUE
REPRESENTATION FIELD: The field where the Value Representation of a
Data Element is stored in the encoding of a Data Element structure
with explicit VR.
C++ includes: gdcmVR.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, VR, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, VR, name)
__repr__ = _swig_repr
INVALID = _gdcmswig.VR_INVALID
AE = _gdcmswig.VR_AE
AS = _gdcmswig.VR_AS
AT = _gdcmswig.VR_AT
CS = _gdcmswig.VR_CS
DA = _gdcmswig.VR_DA
DS = _gdcmswig.VR_DS
DT = _gdcmswig.VR_DT
FD = _gdcmswig.VR_FD
FL = _gdcmswig.VR_FL
IS = _gdcmswig.VR_IS
LO = _gdcmswig.VR_LO
LT = _gdcmswig.VR_LT
OB = _gdcmswig.VR_OB
OF = _gdcmswig.VR_OF
OW = _gdcmswig.VR_OW
PN = _gdcmswig.VR_PN
SH = _gdcmswig.VR_SH
SL = _gdcmswig.VR_SL
SQ = _gdcmswig.VR_SQ
SS = _gdcmswig.VR_SS
ST = _gdcmswig.VR_ST
TM = _gdcmswig.VR_TM
UI = _gdcmswig.VR_UI
UL = _gdcmswig.VR_UL
UN = _gdcmswig.VR_UN
US = _gdcmswig.VR_US
UT = _gdcmswig.VR_UT
OB_OW = _gdcmswig.VR_OB_OW
US_SS = _gdcmswig.VR_US_SS
US_SS_OW = _gdcmswig.VR_US_SS_OW
VL16 = _gdcmswig.VR_VL16
VL32 = _gdcmswig.VR_VL32
VRASCII = _gdcmswig.VR_VRASCII
VRBINARY = _gdcmswig.VR_VRBINARY
VR_VM1 = _gdcmswig.VR_VR_VM1
VRALL = _gdcmswig.VR_VRALL
VR_END = _gdcmswig.VR_VR_END
__swig_getmethods__["GetVRString"] = lambda x: _gdcmswig.VR_GetVRString
if _newclass:GetVRString = staticmethod(_gdcmswig.VR_GetVRString)
__swig_getmethods__["GetVRTypeFromFile"] = lambda x: _gdcmswig.VR_GetVRTypeFromFile
if _newclass:GetVRTypeFromFile = staticmethod(_gdcmswig.VR_GetVRTypeFromFile)
__swig_getmethods__["GetVRType"] = lambda x: _gdcmswig.VR_GetVRType
if _newclass:GetVRType = staticmethod(_gdcmswig.VR_GetVRType)
__swig_getmethods__["GetVRStringFromFile"] = lambda x: _gdcmswig.VR_GetVRStringFromFile
if _newclass:GetVRStringFromFile = staticmethod(_gdcmswig.VR_GetVRStringFromFile)
__swig_getmethods__["IsValid"] = lambda x: _gdcmswig.VR_IsValid
if _newclass:IsValid = staticmethod(_gdcmswig.VR_IsValid)
__swig_getmethods__["IsSwap"] = lambda x: _gdcmswig.VR_IsSwap
if _newclass:IsSwap = staticmethod(_gdcmswig.VR_IsSwap)
def GetSizeof(self):
"""
unsigned int
gdcm::VR::GetSizeof() const
"""
return _gdcmswig.VR_GetSizeof(self)
def GetLength(*args):
"""
int gdcm::VR::GetLength()
const
"""
return _gdcmswig.VR_GetLength(*args)
if _newclass:GetLength = staticmethod(GetLength)
__swig_getmethods__["GetLength"] = lambda x: GetLength
__swig_getmethods__["IsBinary"] = lambda x: _gdcmswig.VR_IsBinary
if _newclass:IsBinary = staticmethod(_gdcmswig.VR_IsBinary)
__swig_getmethods__["IsASCII"] = lambda x: _gdcmswig.VR_IsASCII
if _newclass:IsASCII = staticmethod(_gdcmswig.VR_IsASCII)
__swig_getmethods__["CanDisplay"] = lambda x: _gdcmswig.VR_CanDisplay
if _newclass:CanDisplay = staticmethod(_gdcmswig.VR_CanDisplay)
__swig_getmethods__["IsBinary2"] = lambda x: _gdcmswig.VR_IsBinary2
if _newclass:IsBinary2 = staticmethod(_gdcmswig.VR_IsBinary2)
__swig_getmethods__["IsASCII2"] = lambda x: _gdcmswig.VR_IsASCII2
if _newclass:IsASCII2 = staticmethod(_gdcmswig.VR_IsASCII2)
def __init__(self, *args):
"""
gdcm::VR::VR(VRType vr=INVALID)
"""
this = _gdcmswig.new_VR(*args)
try: self.this.append(this)
except: self.this = this
def Read(self, *args):
"""
std::istream&
gdcm::VR::Read(std::istream &is)
"""
return _gdcmswig.VR_Read(self, *args)
def Write(self, *args):
"""
const std::ostream&
gdcm::VR::Write(std::ostream &os) const
"""
return _gdcmswig.VR_Write(self, *args)
def GetSize(self):
"""
unsigned int
gdcm::VR::GetSize() const
"""
return _gdcmswig.VR_GetSize(self)
def Compatible(self, *args):
"""
bool
gdcm::VR::Compatible(VR const &vr) const
"""
return _gdcmswig.VR_Compatible(self, *args)
def IsVRFile(self):
"""
bool gdcm::VR::IsVRFile()
const
"""
return _gdcmswig.VR_IsVRFile(self)
def IsDual(self):
"""
bool gdcm::VR::IsDual()
const
"""
return _gdcmswig.VR_IsDual(self)
def __str__(self): return _gdcmswig.VR___str__(self)
__swig_destroy__ = _gdcmswig.delete_VR
__del__ = lambda self : None;
VR_swigregister = _gdcmswig.VR_swigregister
VR_swigregister(VR)
def VR_GetVRString(*args):
return _gdcmswig.VR_GetVRString(*args)
VR_GetVRString = _gdcmswig.VR_GetVRString
def VR_GetVRTypeFromFile(*args):
return _gdcmswig.VR_GetVRTypeFromFile(*args)
VR_GetVRTypeFromFile = _gdcmswig.VR_GetVRTypeFromFile
def VR_GetVRType(*args):
return _gdcmswig.VR_GetVRType(*args)
VR_GetVRType = _gdcmswig.VR_GetVRType
def VR_GetVRStringFromFile(*args):
return _gdcmswig.VR_GetVRStringFromFile(*args)
VR_GetVRStringFromFile = _gdcmswig.VR_GetVRStringFromFile
def VR_IsValid(*args):
return _gdcmswig.VR_IsValid(*args)
VR_IsValid = _gdcmswig.VR_IsValid
def VR_IsSwap(*args):
return _gdcmswig.VR_IsSwap(*args)
VR_IsSwap = _gdcmswig.VR_IsSwap
def VR_GetLength(*args):
"""
int gdcm::VR::GetLength()
const
"""
return _gdcmswig.VR_GetLength(*args)
def VR_IsBinary(*args):
return _gdcmswig.VR_IsBinary(*args)
VR_IsBinary = _gdcmswig.VR_IsBinary
def VR_IsASCII(*args):
return _gdcmswig.VR_IsASCII(*args)
VR_IsASCII = _gdcmswig.VR_IsASCII
def VR_CanDisplay(*args):
return _gdcmswig.VR_CanDisplay(*args)
VR_CanDisplay = _gdcmswig.VR_CanDisplay
def VR_IsBinary2(*args):
return _gdcmswig.VR_IsBinary2(*args)
VR_IsBinary2 = _gdcmswig.VR_IsBinary2
def VR_IsASCII2(*args):
return _gdcmswig.VR_IsASCII2(*args)
VR_IsASCII2 = _gdcmswig.VR_IsASCII2
class VM(_object):
"""
Value Multiplicity Looking at the DICOMV3 dict only there is very few
cases: 1 2 3 4 5 6 8 16 24 1-2 1-3 1-8 1-32 1-99 1-n 2-2n 2-n 3-3n
3-n.
Some private dict define some more: 4-4n 1-4 1-5 256 9 3-4
even more:
7-7n 10 18 12 35 47_47n 30_30n 28
6-6n
C++ includes: gdcmVM.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, VM, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, VM, name)
__repr__ = _swig_repr
VM0 = _gdcmswig.VM_VM0
VM1 = _gdcmswig.VM_VM1
VM2 = _gdcmswig.VM_VM2
VM3 = _gdcmswig.VM_VM3
VM4 = _gdcmswig.VM_VM4
VM5 = _gdcmswig.VM_VM5
VM6 = _gdcmswig.VM_VM6
VM8 = _gdcmswig.VM_VM8
VM9 = _gdcmswig.VM_VM9
VM10 = _gdcmswig.VM_VM10
VM12 = _gdcmswig.VM_VM12
VM16 = _gdcmswig.VM_VM16
VM18 = _gdcmswig.VM_VM18
VM24 = _gdcmswig.VM_VM24
VM28 = _gdcmswig.VM_VM28
VM32 = _gdcmswig.VM_VM32
VM35 = _gdcmswig.VM_VM35
VM99 = _gdcmswig.VM_VM99
VM256 = _gdcmswig.VM_VM256
VM1_2 = _gdcmswig.VM_VM1_2
VM1_3 = _gdcmswig.VM_VM1_3
VM1_4 = _gdcmswig.VM_VM1_4
VM1_5 = _gdcmswig.VM_VM1_5
VM1_8 = _gdcmswig.VM_VM1_8
VM1_32 = _gdcmswig.VM_VM1_32
VM1_99 = _gdcmswig.VM_VM1_99
VM1_n = _gdcmswig.VM_VM1_n
VM2_2n = _gdcmswig.VM_VM2_2n
VM2_n = _gdcmswig.VM_VM2_n
VM3_4 = _gdcmswig.VM_VM3_4
VM3_3n = _gdcmswig.VM_VM3_3n
VM3_n = _gdcmswig.VM_VM3_n
VM4_4n = _gdcmswig.VM_VM4_4n
VM6_6n = _gdcmswig.VM_VM6_6n
VM7_7n = _gdcmswig.VM_VM7_7n
VM30_30n = _gdcmswig.VM_VM30_30n
VM47_47n = _gdcmswig.VM_VM47_47n
VM_END = _gdcmswig.VM_VM_END
__swig_getmethods__["GetVMString"] = lambda x: _gdcmswig.VM_GetVMString
if _newclass:GetVMString = staticmethod(_gdcmswig.VM_GetVMString)
__swig_getmethods__["GetVMType"] = lambda x: _gdcmswig.VM_GetVMType
if _newclass:GetVMType = staticmethod(_gdcmswig.VM_GetVMType)
__swig_getmethods__["IsValid"] = lambda x: _gdcmswig.VM_IsValid
if _newclass:IsValid = staticmethod(_gdcmswig.VM_IsValid)
def Compatible(self, *args):
"""
bool
gdcm::VM::Compatible(VM const &vm) const
WARNING: Implementation deficiency The Compatible function is poorly
implemented, the reference vm should be coming from the dictionary,
while the passed in value is the value guess from the file.
"""
return _gdcmswig.VM_Compatible(self, *args)
__swig_getmethods__["GetVMTypeFromLength"] = lambda x: _gdcmswig.VM_GetVMTypeFromLength
if _newclass:GetVMTypeFromLength = staticmethod(_gdcmswig.VM_GetVMTypeFromLength)
__swig_getmethods__["GetNumberOfElementsFromArray"] = lambda x: _gdcmswig.VM_GetNumberOfElementsFromArray
if _newclass:GetNumberOfElementsFromArray = staticmethod(_gdcmswig.VM_GetNumberOfElementsFromArray)
def __init__(self, *args):
"""gdcm::VM::VM(VMType type=VM0) """
this = _gdcmswig.new_VM(*args)
try: self.this.append(this)
except: self.this = this
def GetLength(self):
"""
unsigned int
gdcm::VM::GetLength() const
"""
return _gdcmswig.VM_GetLength(self)
def __str__(self): return _gdcmswig.VM___str__(self)
__swig_destroy__ = _gdcmswig.delete_VM
__del__ = lambda self : None;
VM_swigregister = _gdcmswig.VM_swigregister
VM_swigregister(VM)
def VM_GetVMString(*args):
return _gdcmswig.VM_GetVMString(*args)
VM_GetVMString = _gdcmswig.VM_GetVMString
def VM_GetVMType(*args):
return _gdcmswig.VM_GetVMType(*args)
VM_GetVMType = _gdcmswig.VM_GetVMType
def VM_IsValid(*args):
return _gdcmswig.VM_IsValid(*args)
VM_IsValid = _gdcmswig.VM_IsValid
def VM_GetVMTypeFromLength(*args):
return _gdcmswig.VM_GetVMTypeFromLength(*args)
VM_GetVMTypeFromLength = _gdcmswig.VM_GetVMTypeFromLength
def VM_GetNumberOfElementsFromArray(*args):
return _gdcmswig.VM_GetNumberOfElementsFromArray(*args)
VM_GetNumberOfElementsFromArray = _gdcmswig.VM_GetNumberOfElementsFromArray
class FilenamesType(_object):
"""
STL class.
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, FilenamesType, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, FilenamesType, name)
__repr__ = _swig_repr
def iterator(self):
"""
STL iterator class.
"""
return _gdcmswig.FilenamesType_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _gdcmswig.FilenamesType___nonzero__(self)
def __bool__(self): return _gdcmswig.FilenamesType___bool__(self)
def __len__(self): return _gdcmswig.FilenamesType___len__(self)
def pop(self): return _gdcmswig.FilenamesType_pop(self)
def __getslice__(self, *args): return _gdcmswig.FilenamesType___getslice__(self, *args)
def __setslice__(self, *args): return _gdcmswig.FilenamesType___setslice__(self, *args)
def __delslice__(self, *args): return _gdcmswig.FilenamesType___delslice__(self, *args)
def __delitem__(self, *args): return _gdcmswig.FilenamesType___delitem__(self, *args)
def __getitem__(self, *args): return _gdcmswig.FilenamesType___getitem__(self, *args)
def __setitem__(self, *args): return _gdcmswig.FilenamesType___setitem__(self, *args)
def append(self, *args): return _gdcmswig.FilenamesType_append(self, *args)
def empty(self): return _gdcmswig.FilenamesType_empty(self)
def size(self): return _gdcmswig.FilenamesType_size(self)
def clear(self): return _gdcmswig.FilenamesType_clear(self)
def swap(self, *args): return _gdcmswig.FilenamesType_swap(self, *args)
def get_allocator(self): return _gdcmswig.FilenamesType_get_allocator(self)
def begin(self): return _gdcmswig.FilenamesType_begin(self)
def end(self): return _gdcmswig.FilenamesType_end(self)
def rbegin(self): return _gdcmswig.FilenamesType_rbegin(self)
def rend(self): return _gdcmswig.FilenamesType_rend(self)
def pop_back(self): return _gdcmswig.FilenamesType_pop_back(self)
def erase(self, *args): return _gdcmswig.FilenamesType_erase(self, *args)
def __init__(self, *args):
this = _gdcmswig.new_FilenamesType(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args): return _gdcmswig.FilenamesType_push_back(self, *args)
def front(self): return _gdcmswig.FilenamesType_front(self)
def back(self): return _gdcmswig.FilenamesType_back(self)
def assign(self, *args): return _gdcmswig.FilenamesType_assign(self, *args)
def resize(self, *args): return _gdcmswig.FilenamesType_resize(self, *args)
def insert(self, *args): return _gdcmswig.FilenamesType_insert(self, *args)
def reserve(self, *args): return _gdcmswig.FilenamesType_reserve(self, *args)
def capacity(self): return _gdcmswig.FilenamesType_capacity(self)
__swig_destroy__ = _gdcmswig.delete_FilenamesType
__del__ = lambda self : None;
FilenamesType_swigregister = _gdcmswig.FilenamesType_swigregister
FilenamesType_swigregister(FilenamesType)
class Directory(_object):
"""
Class for manipulation directories.
This implementation provide a cross platform implementation for
manipulating directores: basically traversing directories and
harvesting files
will not take into account unix type hidden file recursive option will
not look into UNIX type hidden directory (those starting with a '.')
Since python or C# provide there own equivalent implementation, in
which case gdcm::Directory does not make much sense.
C++ includes: gdcmDirectory.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Directory, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Directory, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Directory::Directory() """
this = _gdcmswig.new_Directory()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Directory
__del__ = lambda self : None;
def Print(self, *args):
"""
void
gdcm::Directory::Print(std::ostream &os=std::cout) const
Print.
"""
return _gdcmswig.Directory_Print(self, *args)
def GetToplevel(self):
"""
FilenameType
const& gdcm::Directory::GetToplevel() const
Get the name of the toplevel directory.
"""
return _gdcmswig.Directory_GetToplevel(self)
def GetFilenames(self):
"""
FilenamesType
const& gdcm::Directory::GetFilenames() const
Set/Get the file names within the directory.
"""
return _gdcmswig.Directory_GetFilenames(self)
def GetDirectories(self):
"""
FilenamesType
const& gdcm::Directory::GetDirectories() const
Return the Directories traversed.
"""
return _gdcmswig.Directory_GetDirectories(self)
def Load(self, *args):
"""
unsigned int
gdcm::Directory::Load(FilenameType const &name, bool recursive=false)
construct a list of filenames and subdirectory beneath directory: name
WARNING: : hidden file and hidden directory are not loaded.
"""
return _gdcmswig.Directory_Load(self, *args)
def __str__(self): return _gdcmswig.Directory___str__(self)
Directory_swigregister = _gdcmswig.Directory_swigregister
Directory_swigregister(Directory)
class Object(_object):
"""
Object.
main superclass for object that want to use SmartPointer invasive ref
counting system
See: SmartPointer
C++ includes: gdcmObject.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Object, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Object, name)
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_Object
__del__ = lambda self : None;
def __init__(self, *args):
"""
gdcm::Object::Object(const Object &)
Special requirement for copy/cstor, assigment operator.
"""
this = _gdcmswig.new_Object(*args)
try: self.this.append(this)
except: self.this = this
def Print(self, *args):
"""
virtual void
gdcm::Object::Print(std::ostream &) const
"""
return _gdcmswig.Object_Print(self, *args)
Object_swigregister = _gdcmswig.Object_swigregister
Object_swigregister(Object)
class Value(Object):
"""
Class to represent the value of a Data Element.
VALUE: A component of a Value Field. A Value Field may consist of one
or more of these components.
C++ includes: gdcmValue.h
"""
__swig_setmethods__ = {}
for _s in [Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Value, name, value)
__swig_getmethods__ = {}
for _s in [Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Value, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_Value
__del__ = lambda self : None;
def GetLength(self):
"""
virtual VL
gdcm::Value::GetLength() const =0
"""
return _gdcmswig.Value_GetLength(self)
def SetLength(self, *args):
"""
virtual void
gdcm::Value::SetLength(VL l)=0
"""
return _gdcmswig.Value_SetLength(self, *args)
def Clear(self):
"""
virtual void
gdcm::Value::Clear()=0
"""
return _gdcmswig.Value_Clear(self)
def __eq__(self, *args): return _gdcmswig.Value___eq__(self, *args)
def __str__(self): return _gdcmswig.Value___str__(self)
Value_swigregister = _gdcmswig.Value_swigregister
Value_swigregister(Value)
class ByteValue(Value):
"""
Class to represent binary value (array of bytes).
C++ includes: gdcmByteValue.h
"""
__swig_setmethods__ = {}
for _s in [Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ByteValue, name, value)
__swig_getmethods__ = {}
for _s in [Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ByteValue, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
gdcm::ByteValue::ByteValue(std::vector< char > &v)
WARNING: casting to uint32_t
"""
this = _gdcmswig.new_ByteValue(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ByteValue
__del__ = lambda self : None;
def PrintASCII(self, *args):
"""
void
gdcm::ByteValue::PrintASCII(std::ostream &os, VL maxlength) const
"""
return _gdcmswig.ByteValue_PrintASCII(self, *args)
def PrintHex(self, *args):
"""
void
gdcm::ByteValue::PrintHex(std::ostream &os, VL maxlength) const
"""
return _gdcmswig.ByteValue_PrintHex(self, *args)
def PrintGroupLength(self, *args):
"""
void
gdcm::ByteValue::PrintGroupLength(std::ostream &os)
"""
return _gdcmswig.ByteValue_PrintGroupLength(self, *args)
def IsEmpty(self):
"""
bool
gdcm::ByteValue::IsEmpty() const
"""
return _gdcmswig.ByteValue_IsEmpty(self)
def GetLength(self):
"""
VL
gdcm::ByteValue::GetLength() const
"""
return _gdcmswig.ByteValue_GetLength(self)
def SetLength(self, *args):
"""
void
gdcm::ByteValue::SetLength(VL vl)
"""
return _gdcmswig.ByteValue_SetLength(self, *args)
def __eq__(self, *args): return _gdcmswig.ByteValue___eq__(self, *args)
def Clear(self):
"""
void
gdcm::ByteValue::Clear()
"""
return _gdcmswig.ByteValue_Clear(self)
def Fill(self, *args):
"""
void
gdcm::ByteValue::Fill(char c)
"""
return _gdcmswig.ByteValue_Fill(self, *args)
def IsPrintable(self, *args):
"""
bool
gdcm::ByteValue::IsPrintable(VL length) const
Checks whether a 'ByteValue' is printable or not (in order to avoid
corrupting the terminal of invocation when printing) I dont think this
function is working since it does not handle UNICODE or character
set...
"""
return _gdcmswig.ByteValue_IsPrintable(self, *args)
def __str__(self): return _gdcmswig.ByteValue___str__(self)
def WriteBuffer(self):
"""
bool
gdcm::ByteValue::WriteBuffer(std::ostream &os) const
"""
return _gdcmswig.ByteValue_WriteBuffer(self)
def GetBuffer(self, *args):
"""
bool
gdcm::ByteValue::GetBuffer(char *buffer, unsigned long length) const
"""
return _gdcmswig.ByteValue_GetBuffer(self, *args)
ByteValue_swigregister = _gdcmswig.ByteValue_swigregister
ByteValue_swigregister(ByteValue)
class ASN1(_object):
"""
Class for ASN1.
C++ includes: gdcmASN1.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ASN1, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ASN1, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::ASN1::ASN1() """
this = _gdcmswig.new_ASN1()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ASN1
__del__ = lambda self : None;
__swig_getmethods__["ParseDumpFile"] = lambda x: _gdcmswig.ASN1_ParseDumpFile
if _newclass:ParseDumpFile = staticmethod(_gdcmswig.ASN1_ParseDumpFile)
__swig_getmethods__["ParseDump"] = lambda x: _gdcmswig.ASN1_ParseDump
if _newclass:ParseDump = staticmethod(_gdcmswig.ASN1_ParseDump)
ASN1_swigregister = _gdcmswig.ASN1_swigregister
ASN1_swigregister(ASN1)
def ASN1_ParseDumpFile(*args):
return _gdcmswig.ASN1_ParseDumpFile(*args)
ASN1_ParseDumpFile = _gdcmswig.ASN1_ParseDumpFile
def ASN1_ParseDump(*args):
return _gdcmswig.ASN1_ParseDump(*args)
ASN1_ParseDump = _gdcmswig.ASN1_ParseDump
class SmartPtrSQ(_object):
"""
Class for Smart Pointer.
Will only work for subclass of gdcm::Object See tr1/shared_ptr for a
more general approach (not invasive) include <tr1/memory> {
shared_ptr<Bla> b(new Bla); } Class partly based on post by Bill
Hubauer:http://groups.google.com/group/comp.lang.c++/msg/173ddc38a827a930
See: http://www.davethehat.com/articles/smartp.htm and
itk::SmartPointer
C++ includes: gdcmSmartPointer.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SmartPtrSQ, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SmartPtrSQ, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""gdcm::SmartPointer< ObjectType >::SmartPointer(ObjectType *p) """
this = _gdcmswig.new_SmartPtrSQ(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_SmartPtrSQ
__del__ = lambda self : None;
def __deref__(self): return _gdcmswig.SmartPtrSQ___deref__(self)
def __ref__(self): return _gdcmswig.SmartPtrSQ___ref__(self)
def GetPointer(self):
"""
ObjectType*
gdcm::SmartPointer< ObjectType >::GetPointer() const
Explicit function to retrieve the pointer.
"""
return _gdcmswig.SmartPtrSQ_GetPointer(self)
def Begin(self, *args):
"""
ConstIterator
gdcm::SequenceOfItems::Begin() const
"""
return _gdcmswig.SmartPtrSQ_Begin(self, *args)
def End(self, *args):
"""
Iterator
gdcm::SequenceOfItems::End()
"""
return _gdcmswig.SmartPtrSQ_End(self, *args)
def GetLength(self):
"""
VL
gdcm::SequenceOfItems::GetLength() const
Returns the SQ length, as read from disk.
"""
return _gdcmswig.SmartPtrSQ_GetLength(self)
def SetLength(self, *args):
"""
void
gdcm::SequenceOfItems::SetLength(VL length)
Sets the actual SQ length.
"""
return _gdcmswig.SmartPtrSQ_SetLength(self, *args)
def SetLengthToUndefined(self):
"""
void gdcm::SequenceOfItems::SetLengthToUndefined()
Properly set the Sequence of Item to be undefined length.
"""
return _gdcmswig.SmartPtrSQ_SetLengthToUndefined(self)
def IsUndefinedLength(self):
"""
bool
gdcm::SequenceOfItems::IsUndefinedLength() const
return if Value Length if of undefined length
"""
return _gdcmswig.SmartPtrSQ_IsUndefinedLength(self)
def Clear(self):
"""
void
gdcm::SequenceOfItems::Clear()
"""
return _gdcmswig.SmartPtrSQ_Clear(self)
def AddItem(self, *args):
"""
void
gdcm::SequenceOfItems::AddItem(Item const &item)
Appends an Item to the already added ones.
"""
return _gdcmswig.SmartPtrSQ_AddItem(self, *args)
def GetNumberOfItems(self):
"""SizeType gdcm::SequenceOfItems::GetNumberOfItems() const """
return _gdcmswig.SmartPtrSQ_GetNumberOfItems(self)
def SetNumberOfItems(self, *args):
"""
void
gdcm::SequenceOfItems::SetNumberOfItems(SizeType n)
"""
return _gdcmswig.SmartPtrSQ_SetNumberOfItems(self, *args)
def GetItem(self, *args):
"""
const Item&
gdcm::SequenceOfItems::GetItem(SizeType position) const
"""
return _gdcmswig.SmartPtrSQ_GetItem(self, *args)
def Print(self, *args):
"""
void
gdcm::SequenceOfItems::Print(std::ostream &os) const
"""
return _gdcmswig.SmartPtrSQ_Print(self, *args)
def New(self): return _gdcmswig.SmartPtrSQ_New(self)
def FindDataElement(self, *args):
"""
bool
gdcm::SequenceOfItems::FindDataElement(const Tag &t) const
"""
return _gdcmswig.SmartPtrSQ_FindDataElement(self, *args)
def __eq__(self, *args): return _gdcmswig.SmartPtrSQ___eq__(self, *args)
__swig_setmethods__["SequenceLengthField"] = _gdcmswig.SmartPtrSQ_SequenceLengthField_set
__swig_getmethods__["SequenceLengthField"] = _gdcmswig.SmartPtrSQ_SequenceLengthField_get
if _newclass:SequenceLengthField = _swig_property(_gdcmswig.SmartPtrSQ_SequenceLengthField_get, _gdcmswig.SmartPtrSQ_SequenceLengthField_set)
__swig_setmethods__["Items"] = _gdcmswig.SmartPtrSQ_Items_set
__swig_getmethods__["Items"] = _gdcmswig.SmartPtrSQ_Items_get
if _newclass:Items = _swig_property(_gdcmswig.SmartPtrSQ_Items_get, _gdcmswig.SmartPtrSQ_Items_set)
def __str__(self): return _gdcmswig.SmartPtrSQ___str__(self)
SmartPtrSQ_swigregister = _gdcmswig.SmartPtrSQ_swigregister
SmartPtrSQ_swigregister(SmartPtrSQ)
class SmartPtrFrag(_object):
"""
Class for Smart Pointer.
Will only work for subclass of gdcm::Object See tr1/shared_ptr for a
more general approach (not invasive) include <tr1/memory> {
shared_ptr<Bla> b(new Bla); } Class partly based on post by Bill
Hubauer:http://groups.google.com/group/comp.lang.c++/msg/173ddc38a827a930
See: http://www.davethehat.com/articles/smartp.htm and
itk::SmartPointer
C++ includes: gdcmSmartPointer.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SmartPtrFrag, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SmartPtrFrag, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""gdcm::SmartPointer< ObjectType >::SmartPointer(ObjectType *p) """
this = _gdcmswig.new_SmartPtrFrag(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_SmartPtrFrag
__del__ = lambda self : None;
def __deref__(self): return _gdcmswig.SmartPtrFrag___deref__(self)
def __ref__(self): return _gdcmswig.SmartPtrFrag___ref__(self)
def GetPointer(self):
"""
ObjectType*
gdcm::SmartPointer< ObjectType >::GetPointer() const
Explicit function to retrieve the pointer.
"""
return _gdcmswig.SmartPtrFrag_GetPointer(self)
def Begin(self, *args):
"""ConstIterator gdcm::SequenceOfFragments::Begin() const """
return _gdcmswig.SmartPtrFrag_Begin(self, *args)
def End(self, *args):
"""
Iterator
gdcm::SequenceOfFragments::End()
"""
return _gdcmswig.SmartPtrFrag_End(self, *args)
def GetLength(self):
"""
VL
gdcm::SequenceOfFragments::GetLength() const
Returns the SQ length, as read from disk.
"""
return _gdcmswig.SmartPtrFrag_GetLength(self)
def SetLength(self, *args):
"""
void
gdcm::SequenceOfFragments::SetLength(VL length)
Sets the actual SQ length.
"""
return _gdcmswig.SmartPtrFrag_SetLength(self, *args)
def Clear(self):
"""
void
gdcm::SequenceOfFragments::Clear()
Clear.
"""
return _gdcmswig.SmartPtrFrag_Clear(self)
def AddFragment(self, *args):
"""
void
gdcm::SequenceOfFragments::AddFragment(Fragment const &item)
Appends a Fragment to the already added ones.
"""
return _gdcmswig.SmartPtrFrag_AddFragment(self, *args)
def ComputeByteLength(self):
"""unsigned long gdcm::SequenceOfFragments::ComputeByteLength() const """
return _gdcmswig.SmartPtrFrag_ComputeByteLength(self)
def ComputeLength(self):
"""
VL
gdcm::SequenceOfFragments::ComputeLength() const
"""
return _gdcmswig.SmartPtrFrag_ComputeLength(self)
def GetBuffer(self, *args):
"""
bool
gdcm::SequenceOfFragments::GetBuffer(char *buffer, unsigned long
length) const
"""
return _gdcmswig.SmartPtrFrag_GetBuffer(self, *args)
def GetFragBuffer(self, *args):
"""
bool
gdcm::SequenceOfFragments::GetFragBuffer(unsigned int fragNb, char
*buffer, unsigned long &length) const
"""
return _gdcmswig.SmartPtrFrag_GetFragBuffer(self, *args)
def GetNumberOfFragments(self):
"""SizeType gdcm::SequenceOfFragments::GetNumberOfFragments() const """
return _gdcmswig.SmartPtrFrag_GetNumberOfFragments(self)
def GetFragment(self, *args):
"""
const
Fragment& gdcm::SequenceOfFragments::GetFragment(SizeType num) const
"""
return _gdcmswig.SmartPtrFrag_GetFragment(self, *args)
def WriteBuffer(self, *args):
"""
bool
gdcm::SequenceOfFragments::WriteBuffer(std::ostream &os) const
"""
return _gdcmswig.SmartPtrFrag_WriteBuffer(self, *args)
def GetTable(self, *args):
"""BasicOffsetTable& gdcm::SequenceOfFragments::GetTable() """
return _gdcmswig.SmartPtrFrag_GetTable(self, *args)
def New(self): return _gdcmswig.SmartPtrFrag_New(self)
def Print(self, *args):
"""
void
gdcm::SequenceOfFragments::Print(std::ostream &os) const
"""
return _gdcmswig.SmartPtrFrag_Print(self, *args)
def __eq__(self, *args): return _gdcmswig.SmartPtrFrag___eq__(self, *args)
def __str__(self): return _gdcmswig.SmartPtrFrag___str__(self)
SmartPtrFrag_swigregister = _gdcmswig.SmartPtrFrag_swigregister
SmartPtrFrag_swigregister(SmartPtrFrag)
class DataElement(_object):
"""
Class to represent a Data Element either Implicit or Explicit.
DATA ELEMENT: A unit of information as defined by a single entry in
the data dictionary. An encoded Information Object Definition ( IOD)
Attribute that is composed of, at a minimum, three fields: a Data
Element Tag, a Value Length, and a Value Field. For some specific
Transfer Syntaxes, a Data Element also contains a VR Field where the
Value Representation of that Data Element is specified explicitly.
Design: A DataElement in GDCM always store VL ( Value Length) on a 32
bits integer even when VL is 16 bits
A DataElement always store the VR even for Implicit TS, in which case
VR is defaulted to VR::INVALID
For Item start/end (See 0xfffe tags), Value is NULL
See: ExplicitDataElement ImplicitDataElement
C++ includes: gdcmDataElement.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DataElement, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DataElement, name)
__repr__ = _swig_repr
def GetTag(self, *args):
"""
Tag&
gdcm::DataElement::GetTag()
"""
return _gdcmswig.DataElement_GetTag(self, *args)
def SetTag(self, *args):
"""
void
gdcm::DataElement::SetTag(const Tag &t)
Set Tag Use with cautious (need to match Part 6)
"""
return _gdcmswig.DataElement_SetTag(self, *args)
def GetVL(self, *args):
"""
VL&
gdcm::DataElement::GetVL()
"""
return _gdcmswig.DataElement_GetVL(self, *args)
def SetVL(self, *args):
"""
void
gdcm::DataElement::SetVL(const VL &vl)
Set VL Use with cautious (need to match Part 6), advanced user only
See: SetByteValue
"""
return _gdcmswig.DataElement_SetVL(self, *args)
def SetVLToUndefined(self):
"""
void
gdcm::DataElement::SetVLToUndefined()
"""
return _gdcmswig.DataElement_SetVLToUndefined(self)
def GetVR(self):
"""
VR const&
gdcm::DataElement::GetVR() const
Get VR do not set VR::SQ on bytevalue data element
"""
return _gdcmswig.DataElement_GetVR(self)
def SetVR(self, *args):
"""
void
gdcm::DataElement::SetVR(VR const &vr)
Set VR Use with cautious (need to match Part 6), advanced user only vr
is a VR::VRALL (not a dual one such as OB_OW)
"""
return _gdcmswig.DataElement_SetVR(self, *args)
def GetValue(self, *args):
"""
Value&
gdcm::DataElement::GetValue()
"""
return _gdcmswig.DataElement_GetValue(self, *args)
def SetValue(self, *args):
"""
void
gdcm::DataElement::SetValue(Value const &vl)
WARNING: you need to set the ValueLengthField explicitely
"""
return _gdcmswig.DataElement_SetValue(self, *args)
def IsEmpty(self):
"""
bool
gdcm::DataElement::IsEmpty() const
Check if Data Element is empty.
"""
return _gdcmswig.DataElement_IsEmpty(self)
def Empty(self):
"""
void
gdcm::DataElement::Empty()
Make Data Element empty (no Value).
"""
return _gdcmswig.DataElement_Empty(self)
def Clear(self):
"""
void
gdcm::DataElement::Clear()
Clear Data Element (make Value empty and invalidate Tag & VR).
"""
return _gdcmswig.DataElement_Clear(self)
def SetByteValue(self, *args):
"""
void
gdcm::DataElement::SetByteValue(const char *array, VL length)
Set the byte value WARNING: user need to read DICOM standard for an
understanding of: even padding vs space padding By default even
padding is achieved using regardless of the of VR
"""
return _gdcmswig.DataElement_SetByteValue(self, *args)
def GetByteValue(self):
"""
const
ByteValue* gdcm::DataElement::GetByteValue() const
Return the Value of DataElement as a ByteValue (if possible) WARNING:
: You need to check for NULL return value
"""
return _gdcmswig.DataElement_GetByteValue(self)
def GetSequenceOfItems(self, *args):
"""SequenceOfItems* gdcm::DataElement::GetSequenceOfItems() """
return _gdcmswig.DataElement_GetSequenceOfItems(self, *args)
def GetValueAsSQ(self):
"""
SmartPointer<SequenceOfItems> gdcm::DataElement::GetValueAsSQ() const
Interpret the Value stored in the DataElement. This is more robust
(but also more expensive) to call this function rather than the
simpliest form: GetSequenceOfItems() It also return NULL when the
Value is NOT of type SequenceOfItems WARNING: in case
GetSequenceOfItems() succeed the function return this value, otherwise
it creates a new SequenceOfItems, you should handle that in your case,
for instance: SmartPointer<SequenceOfItems> sqi = de.GetValueAsSQ();
"""
return _gdcmswig.DataElement_GetValueAsSQ(self)
def GetSequenceOfFragments(self):
"""
const SequenceOfFragments* gdcm::DataElement::GetSequenceOfFragments()
const
Return the Value of DataElement as a Sequence Of Fragments (if
possible) WARNING: : You need to check for NULL return value
"""
return _gdcmswig.DataElement_GetSequenceOfFragments(self)
def IsUndefinedLength(self):
"""
bool
gdcm::DataElement::IsUndefinedLength() const
return if Value Length if of undefined length
"""
return _gdcmswig.DataElement_IsUndefinedLength(self)
def __init__(self, *args):
"""gdcm::DataElement::DataElement(const DataElement &_val) """
this = _gdcmswig.new_DataElement(*args)
try: self.this.append(this)
except: self.this = this
def __lt__(self, *args): return _gdcmswig.DataElement___lt__(self, *args)
def __eq__(self, *args): return _gdcmswig.DataElement___eq__(self, *args)
def __str__(self): return _gdcmswig.DataElement___str__(self)
__swig_destroy__ = _gdcmswig.delete_DataElement
__del__ = lambda self : None;
DataElement_swigregister = _gdcmswig.DataElement_swigregister
DataElement_swigregister(DataElement)
def __ne__(*args):
return _gdcmswig.__ne__(*args)
__ne__ = _gdcmswig.__ne__
class Item(DataElement):
"""
Class to represent an Item A component of the value of a Data Element
that is of Value Representation Sequence of Items. An Item contains a
Data Set . See PS 3.5 7.5.1 Item Encoding Rules Each Item of a Data
Element of VR SQ shall be encoded as a DICOM Standart Data Element
with a specific Data Element Tag of Value (FFFE,E000). The Item Tag is
followed by a 4 byte Item Length field encoded in one of the following
two ways Explicit/ Implicit.
ITEM: A component of the Value of a Data Element that is of Value
Representation Sequence of Items. An Item contains a Data Set.
C++ includes: gdcmItem.h
"""
__swig_setmethods__ = {}
for _s in [DataElement]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Item, name, value)
__swig_getmethods__ = {}
for _s in [DataElement]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Item, name)
__repr__ = _swig_repr
def Clear(self):
"""
void gdcm::Item::Clear()
Clear Data Element (make Value empty and invalidate Tag & VR).
"""
return _gdcmswig.Item_Clear(self)
def InsertDataElement(self, *args):
"""
void
gdcm::Item::InsertDataElement(const DataElement &de)
"""
return _gdcmswig.Item_InsertDataElement(self, *args)
def GetDataElement(self, *args):
"""
const DataElement&
gdcm::Item::GetDataElement(const Tag &t) const
"""
return _gdcmswig.Item_GetDataElement(self, *args)
def SetNestedDataSet(self, *args):
"""
void
gdcm::Item::SetNestedDataSet(const DataSet &nested)
"""
return _gdcmswig.Item_SetNestedDataSet(self, *args)
def GetNestedDataSet(self, *args):
"""
const DataSet&
gdcm::Item::GetNestedDataSet() const
"""
return _gdcmswig.Item_GetNestedDataSet(self, *args)
def __init__(self, *args):
"""
gdcm::Item::Item(Item const
&val)
"""
this = _gdcmswig.new_Item(*args)
try: self.this.append(this)
except: self.this = this
def FindDataElement(self, *args):
"""
bool
gdcm::Item::FindDataElement(const Tag &t) const
"""
return _gdcmswig.Item_FindDataElement(self, *args)
def __str__(self): return _gdcmswig.Item___str__(self)
__swig_destroy__ = _gdcmswig.delete_Item
__del__ = lambda self : None;
Item_swigregister = _gdcmswig.Item_swigregister
Item_swigregister(Item)
class SequenceOfItems(Value):
"""
Class to represent a Sequence Of Items (value representation : SQ) a
Value Representation for Data Elements that contains a sequence of
Data Sets.
Sequence of Item allows for Nested Data Sets.
See PS 3.5, 7.4.6 Data Element Type Within a Sequence SEQUENCE OF
ITEMS (VALUE REPRESENTATION SQ) A Value Representation for Data
Elements that contain a sequence of Data Sets. Sequence of Items
allows for Nested Data Sets.
C++ includes: gdcmSequenceOfItems.h
"""
__swig_setmethods__ = {}
for _s in [Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SequenceOfItems, name, value)
__swig_getmethods__ = {}
for _s in [Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SequenceOfItems, name)
__repr__ = _swig_repr
def Begin(self, *args):
"""
ConstIterator
gdcm::SequenceOfItems::Begin() const
"""
return _gdcmswig.SequenceOfItems_Begin(self, *args)
def End(self, *args):
"""
Iterator
gdcm::SequenceOfItems::End()
"""
return _gdcmswig.SequenceOfItems_End(self, *args)
def __init__(self):
"""
gdcm::SequenceOfItems::SequenceOfItems()
constructor (UndefinedLength by default)
"""
this = _gdcmswig.new_SequenceOfItems()
try: self.this.append(this)
except: self.this = this
def GetLength(self):
"""
VL
gdcm::SequenceOfItems::GetLength() const
Returns the SQ length, as read from disk.
"""
return _gdcmswig.SequenceOfItems_GetLength(self)
def SetLength(self, *args):
"""
void
gdcm::SequenceOfItems::SetLength(VL length)
Sets the actual SQ length.
"""
return _gdcmswig.SequenceOfItems_SetLength(self, *args)
def SetLengthToUndefined(self):
"""
void gdcm::SequenceOfItems::SetLengthToUndefined()
Properly set the Sequence of Item to be undefined length.
"""
return _gdcmswig.SequenceOfItems_SetLengthToUndefined(self)
def IsUndefinedLength(self):
"""
bool
gdcm::SequenceOfItems::IsUndefinedLength() const
return if Value Length if of undefined length
"""
return _gdcmswig.SequenceOfItems_IsUndefinedLength(self)
def Clear(self):
"""
void
gdcm::SequenceOfItems::Clear()
"""
return _gdcmswig.SequenceOfItems_Clear(self)
def AddItem(self, *args):
"""
void
gdcm::SequenceOfItems::AddItem(Item const &item)
Appends an Item to the already added ones.
"""
return _gdcmswig.SequenceOfItems_AddItem(self, *args)
def GetNumberOfItems(self):
"""SizeType gdcm::SequenceOfItems::GetNumberOfItems() const """
return _gdcmswig.SequenceOfItems_GetNumberOfItems(self)
def SetNumberOfItems(self, *args):
"""
void
gdcm::SequenceOfItems::SetNumberOfItems(SizeType n)
"""
return _gdcmswig.SequenceOfItems_SetNumberOfItems(self, *args)
def GetItem(self, *args):
"""
const Item&
gdcm::SequenceOfItems::GetItem(SizeType position) const
"""
return _gdcmswig.SequenceOfItems_GetItem(self, *args)
def Print(self, *args):
"""
void
gdcm::SequenceOfItems::Print(std::ostream &os) const
"""
return _gdcmswig.SequenceOfItems_Print(self, *args)
__swig_getmethods__["New"] = lambda x: _gdcmswig.SequenceOfItems_New
if _newclass:New = staticmethod(_gdcmswig.SequenceOfItems_New)
def FindDataElement(self, *args):
"""
bool
gdcm::SequenceOfItems::FindDataElement(const Tag &t) const
"""
return _gdcmswig.SequenceOfItems_FindDataElement(self, *args)
def __eq__(self, *args): return _gdcmswig.SequenceOfItems___eq__(self, *args)
__swig_setmethods__["SequenceLengthField"] = _gdcmswig.SequenceOfItems_SequenceLengthField_set
__swig_getmethods__["SequenceLengthField"] = _gdcmswig.SequenceOfItems_SequenceLengthField_get
if _newclass:SequenceLengthField = _swig_property(_gdcmswig.SequenceOfItems_SequenceLengthField_get, _gdcmswig.SequenceOfItems_SequenceLengthField_set)
__swig_setmethods__["Items"] = _gdcmswig.SequenceOfItems_Items_set
__swig_getmethods__["Items"] = _gdcmswig.SequenceOfItems_Items_get
if _newclass:Items = _swig_property(_gdcmswig.SequenceOfItems_Items_get, _gdcmswig.SequenceOfItems_Items_set)
def __str__(self): return _gdcmswig.SequenceOfItems___str__(self)
__swig_destroy__ = _gdcmswig.delete_SequenceOfItems
__del__ = lambda self : None;
SequenceOfItems_swigregister = _gdcmswig.SequenceOfItems_swigregister
SequenceOfItems_swigregister(SequenceOfItems)
def SequenceOfItems_New():
return _gdcmswig.SequenceOfItems_New()
SequenceOfItems_New = _gdcmswig.SequenceOfItems_New
class DataElementException(_object):
"""
C++ includes:
gdcmDataSet.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DataElementException, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DataElementException, name)
__repr__ = _swig_repr
def __init__(self):
this = _gdcmswig.new_DataElementException()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_DataElementException
__del__ = lambda self : None;
DataElementException_swigregister = _gdcmswig.DataElementException_swigregister
DataElementException_swigregister(DataElementException)
class DataSet(_object):
"""
Class to represent a Data Set (which contains Data Elements) A Data
Set represents an instance of a real world Information Object.
DATA SET: Exchanged information consisting of a structured set of
Attribute values directly or indirectly related to Information
Objects. The value of each Attribute in a Data Set is expressed as a
Data Element. A collection of Data Elements ordered by increasing Data
Element Tag number that is an encoding of the values of Attributes of
a real world object.
Implementation note. If one do: DataSet ds; ds.SetLength(0);
ds.Read(is); setting length to 0 actually means try to read is as if
it was a root DataSet. Other value are undefined (nested dataset with
undefined length) or defined length (different from 0) means nested
dataset with defined length.
WARNING: a DataSet does not have a Transfer Syntax type, only a File
does.
C++ includes: gdcmDataSet.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DataSet, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DataSet, name)
__repr__ = _swig_repr
def Begin(self, *args):
"""
Iterator
gdcm::DataSet::Begin()
"""
return _gdcmswig.DataSet_Begin(self, *args)
def End(self, *args):
"""
ConstIterator
gdcm::DataSet::End() const
"""
return _gdcmswig.DataSet_End(self, *args)
def GetDES(self, *args):
"""
DataElementSet&
gdcm::DataSet::GetDES()
"""
return _gdcmswig.DataSet_GetDES(self, *args)
def Clear(self):
"""
void
gdcm::DataSet::Clear()
"""
return _gdcmswig.DataSet_Clear(self)
def Size(self):
"""
SizeType
gdcm::DataSet::Size() const
"""
return _gdcmswig.DataSet_Size(self)
def Print(self, *args):
"""
void
gdcm::DataSet::Print(std::ostream &os, std::string const &indent="")
const
"""
return _gdcmswig.DataSet_Print(self, *args)
def Insert(self, *args):
"""
void
gdcm::DataSet::Insert(const DataElement &de)
Insert a DataElement in the DataSet. WARNING: : Tag need to be >= 0x8
to be considered valid data element
"""
return _gdcmswig.DataSet_Insert(self, *args)
def Replace(self, *args):
"""
void
gdcm::DataSet::Replace(const DataElement &de)
Replace a dataelement with another one.
"""
return _gdcmswig.DataSet_Replace(self, *args)
def ReplaceEmpty(self, *args):
"""
void
gdcm::DataSet::ReplaceEmpty(const DataElement &de)
Only replace a DICOM attribute when it is missing or empty.
"""
return _gdcmswig.DataSet_ReplaceEmpty(self, *args)
def Remove(self, *args):
"""
SizeType
gdcm::DataSet::Remove(const Tag &tag)
Completely remove a dataelement from the dataset.
"""
return _gdcmswig.DataSet_Remove(self, *args)
def __call__(self, *args): return _gdcmswig.DataSet___call__(self, *args)
def GetPrivateCreator(self, *args):
"""
std::string
gdcm::DataSet::GetPrivateCreator(const Tag &t) const
Return the private creator of the private tag 't':
"""
return _gdcmswig.DataSet_GetPrivateCreator(self, *args)
def GetDataElement(self, *args):
"""
const
DataElement& gdcm::DataSet::GetDataElement(const PrivateTag &t) const
Return the dataelement.
"""
return _gdcmswig.DataSet_GetDataElement(self, *args)
def FindDataElement(self, *args):
"""
bool
gdcm::DataSet::FindDataElement(const Tag &t) const
"""
return _gdcmswig.DataSet_FindDataElement(self, *args)
def FindNextDataElement(self, *args):
"""
const
DataElement& gdcm::DataSet::FindNextDataElement(const Tag &t) const
"""
return _gdcmswig.DataSet_FindNextDataElement(self, *args)
def IsEmpty(self):
"""
bool
gdcm::DataSet::IsEmpty() const
Returns if the dataset is empty.
"""
return _gdcmswig.DataSet_IsEmpty(self)
def GetMediaStorage(self):
"""
MediaStorage
gdcm::DataSet::GetMediaStorage() const
"""
return _gdcmswig.DataSet_GetMediaStorage(self)
def __str__(self): return _gdcmswig.DataSet___str__(self)
def __init__(self):
this = _gdcmswig.new_DataSet()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_DataSet
__del__ = lambda self : None;
DataSet_swigregister = _gdcmswig.DataSet_swigregister
DataSet_swigregister(DataSet)
class PythonDataSet(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PythonDataSet, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PythonDataSet, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _gdcmswig.new_PythonDataSet(*args)
try: self.this.append(this)
except: self.this = this
def GetCurrent(self): return _gdcmswig.PythonDataSet_GetCurrent(self)
def Start(self): return _gdcmswig.PythonDataSet_Start(self)
def IsAtEnd(self): return _gdcmswig.PythonDataSet_IsAtEnd(self)
def Next(self): return _gdcmswig.PythonDataSet_Next(self)
__swig_destroy__ = _gdcmswig.delete_PythonDataSet
__del__ = lambda self : None;
PythonDataSet_swigregister = _gdcmswig.PythonDataSet_swigregister
PythonDataSet_swigregister(PythonDataSet)
class PhotometricInterpretation(_object):
"""
Class to represent an PhotometricInterpretation.
C++ includes: gdcmPhotometricInterpretation.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PhotometricInterpretation, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PhotometricInterpretation, name)
__repr__ = _swig_repr
UNKNOW = _gdcmswig.PhotometricInterpretation_UNKNOW
MONOCHROME1 = _gdcmswig.PhotometricInterpretation_MONOCHROME1
MONOCHROME2 = _gdcmswig.PhotometricInterpretation_MONOCHROME2
PALETTE_COLOR = _gdcmswig.PhotometricInterpretation_PALETTE_COLOR
RGB = _gdcmswig.PhotometricInterpretation_RGB
HSV = _gdcmswig.PhotometricInterpretation_HSV
ARGB = _gdcmswig.PhotometricInterpretation_ARGB
CMYK = _gdcmswig.PhotometricInterpretation_CMYK
YBR_FULL = _gdcmswig.PhotometricInterpretation_YBR_FULL
YBR_FULL_422 = _gdcmswig.PhotometricInterpretation_YBR_FULL_422
YBR_PARTIAL_422 = _gdcmswig.PhotometricInterpretation_YBR_PARTIAL_422
YBR_PARTIAL_420 = _gdcmswig.PhotometricInterpretation_YBR_PARTIAL_420
YBR_ICT = _gdcmswig.PhotometricInterpretation_YBR_ICT
YBR_RCT = _gdcmswig.PhotometricInterpretation_YBR_RCT
PI_END = _gdcmswig.PhotometricInterpretation_PI_END
def __init__(self, *args):
"""
gdcm::PhotometricInterpretation::PhotometricInterpretation(PIType
pi=UNKNOW)
"""
this = _gdcmswig.new_PhotometricInterpretation(*args)
try: self.this.append(this)
except: self.this = this
__swig_getmethods__["GetPIString"] = lambda x: _gdcmswig.PhotometricInterpretation_GetPIString
if _newclass:GetPIString = staticmethod(_gdcmswig.PhotometricInterpretation_GetPIString)
def GetString(self):
"""const char* gdcm::PhotometricInterpretation::GetString() const """
return _gdcmswig.PhotometricInterpretation_GetString(self)
__swig_getmethods__["GetPIType"] = lambda x: _gdcmswig.PhotometricInterpretation_GetPIType
if _newclass:GetPIType = staticmethod(_gdcmswig.PhotometricInterpretation_GetPIType)
__swig_getmethods__["IsRetired"] = lambda x: _gdcmswig.PhotometricInterpretation_IsRetired
if _newclass:IsRetired = staticmethod(_gdcmswig.PhotometricInterpretation_IsRetired)
def IsLossy(self):
"""
bool
gdcm::PhotometricInterpretation::IsLossy() const
"""
return _gdcmswig.PhotometricInterpretation_IsLossy(self)
def IsLossless(self):
"""bool gdcm::PhotometricInterpretation::IsLossless() const """
return _gdcmswig.PhotometricInterpretation_IsLossless(self)
def GetSamplesPerPixel(self):
"""
unsigned short
gdcm::PhotometricInterpretation::GetSamplesPerPixel() const
return the value for Sample Per Pixel associated with a particular
Photometric Interpretation
"""
return _gdcmswig.PhotometricInterpretation_GetSamplesPerPixel(self)
def GetType(self):
"""PIType gdcm::PhotometricInterpretation::GetType() const """
return _gdcmswig.PhotometricInterpretation_GetType(self)
def IsSameColorSpace(self, *args):
"""
bool
gdcm::PhotometricInterpretation::IsSameColorSpace(PhotometricInterpretation
const &pi) const
"""
return _gdcmswig.PhotometricInterpretation_IsSameColorSpace(self, *args)
def __str__(self): return _gdcmswig.PhotometricInterpretation___str__(self)
__swig_destroy__ = _gdcmswig.delete_PhotometricInterpretation
__del__ = lambda self : None;
PhotometricInterpretation_swigregister = _gdcmswig.PhotometricInterpretation_swigregister
PhotometricInterpretation_swigregister(PhotometricInterpretation)
def PhotometricInterpretation_GetPIString(*args):
return _gdcmswig.PhotometricInterpretation_GetPIString(*args)
PhotometricInterpretation_GetPIString = _gdcmswig.PhotometricInterpretation_GetPIString
def PhotometricInterpretation_GetPIType(*args):
return _gdcmswig.PhotometricInterpretation_GetPIType(*args)
PhotometricInterpretation_GetPIType = _gdcmswig.PhotometricInterpretation_GetPIType
def PhotometricInterpretation_IsRetired(*args):
return _gdcmswig.PhotometricInterpretation_IsRetired(*args)
PhotometricInterpretation_IsRetired = _gdcmswig.PhotometricInterpretation_IsRetired
class LookupTable(Object):
"""
LookupTable class.
C++ includes: gdcmLookupTable.h
"""
__swig_setmethods__ = {}
for _s in [Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, LookupTable, name, value)
__swig_getmethods__ = {}
for _s in [Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, LookupTable, name)
__repr__ = _swig_repr
RED = _gdcmswig.LookupTable_RED
GREEN = _gdcmswig.LookupTable_GREEN
BLUE = _gdcmswig.LookupTable_BLUE
GRAY = _gdcmswig.LookupTable_GRAY
UNKNOWN = _gdcmswig.LookupTable_UNKNOWN
__swig_destroy__ = _gdcmswig.delete_LookupTable
__del__ = lambda self : None;
def Print(self, *args):
"""
void
gdcm::LookupTable::Print(std::ostream &) const
"""
return _gdcmswig.LookupTable_Print(self, *args)
def Allocate(self, bitsample=8):
"""
void
gdcm::LookupTable::Allocate(unsigned short bitsample=8)
Allocate the LUT.
"""
return _gdcmswig.LookupTable_Allocate(self, bitsample)
def InitializeLUT(self, *args):
"""
void
gdcm::LookupTable::InitializeLUT(LookupTableType type, unsigned short
length, unsigned short subscript, unsigned short bitsize)
Generic interface:
"""
return _gdcmswig.LookupTable_InitializeLUT(self, *args)
def GetLUTLength(self, *args):
"""
unsigned int
gdcm::LookupTable::GetLUTLength(LookupTableType type) const
"""
return _gdcmswig.LookupTable_GetLUTLength(self, *args)
def SetLUT(self, *args):
"""
virtual void
gdcm::LookupTable::SetLUT(LookupTableType type, const unsigned char
*array, unsigned int length)
"""
return _gdcmswig.LookupTable_SetLUT(self, *args)
def GetLUT(self, *args):
"""
void
gdcm::LookupTable::GetLUT(LookupTableType type, unsigned char *array,
unsigned int &length) const
"""
return _gdcmswig.LookupTable_GetLUT(self, *args)
def GetLUTDescriptor(self, *args):
"""
void
gdcm::LookupTable::GetLUTDescriptor(LookupTableType type, unsigned
short &length, unsigned short &subscript, unsigned short &bitsize)
const
"""
return _gdcmswig.LookupTable_GetLUTDescriptor(self, *args)
def InitializeRedLUT(self, *args):
"""
void
gdcm::LookupTable::InitializeRedLUT(unsigned short length, unsigned
short subscript, unsigned short bitsize)
RED / GREEN / BLUE specific:
"""
return _gdcmswig.LookupTable_InitializeRedLUT(self, *args)
def SetRedLUT(self, *args):
"""
void
gdcm::LookupTable::SetRedLUT(const unsigned char *red, unsigned int
length)
"""
return _gdcmswig.LookupTable_SetRedLUT(self, *args)
def InitializeGreenLUT(self, *args):
"""
void
gdcm::LookupTable::InitializeGreenLUT(unsigned short length, unsigned
short subscript, unsigned short bitsize)
"""
return _gdcmswig.LookupTable_InitializeGreenLUT(self, *args)
def SetGreenLUT(self, *args):
"""
void
gdcm::LookupTable::SetGreenLUT(const unsigned char *green, unsigned
int length)
"""
return _gdcmswig.LookupTable_SetGreenLUT(self, *args)
def InitializeBlueLUT(self, *args):
"""
void
gdcm::LookupTable::InitializeBlueLUT(unsigned short length, unsigned
short subscript, unsigned short bitsize)
"""
return _gdcmswig.LookupTable_InitializeBlueLUT(self, *args)
def SetBlueLUT(self, *args):
"""
void
gdcm::LookupTable::SetBlueLUT(const unsigned char *blue, unsigned int
length)
"""
return _gdcmswig.LookupTable_SetBlueLUT(self, *args)
def Clear(self):
"""
void
gdcm::LookupTable::Clear()
Clear the LUT.
"""
return _gdcmswig.LookupTable_Clear(self)
def Decode(self, *args):
"""
bool
gdcm::LookupTable::Decode(char *outputbuffer, size_t outlen, const
char *inputbuffer, size_t inlen) const
Decode the LUT outputbuffer will contains the RGB decoded PALETTE
COLOR input image of size inlen the outputbuffer should be at least 3
times the size of inlen
"""
return _gdcmswig.LookupTable_Decode(self, *args)
def __init__(self, *args):
"""gdcm::LookupTable::LookupTable(LookupTable const &lut) """
this = _gdcmswig.new_LookupTable(*args)
try: self.this.append(this)
except: self.this = this
def GetBufferAsRGBA(self, *args):
"""
bool
gdcm::LookupTable::GetBufferAsRGBA(unsigned char *rgba) const
return the LUT as RGBA buffer
"""
return _gdcmswig.LookupTable_GetBufferAsRGBA(self, *args)
def GetPointer(self):
"""
const unsigned
char* gdcm::LookupTable::GetPointer() const
return a raw pointer to the LUT
"""
return _gdcmswig.LookupTable_GetPointer(self)
def WriteBufferAsRGBA(self, *args):
"""
bool
gdcm::LookupTable::WriteBufferAsRGBA(const unsigned char *rgba)
Write the LUT as RGBA.
"""
return _gdcmswig.LookupTable_WriteBufferAsRGBA(self, *args)
def GetBitSample(self):
"""
unsigned
short gdcm::LookupTable::GetBitSample() const
return the bit sample
"""
return _gdcmswig.LookupTable_GetBitSample(self)
def Initialized(self):
"""
bool
gdcm::LookupTable::Initialized() const
return whether the LUT has been initialized
"""
return _gdcmswig.LookupTable_Initialized(self)
def __str__(self): return _gdcmswig.LookupTable___str__(self)
LookupTable_swigregister = _gdcmswig.LookupTable_swigregister
LookupTable_swigregister(LookupTable)
class Overlay(Object):
"""
Overlay class.
see AreOverlaysInPixelData Todo Is there actually any way to recognize
an overlay ? On images with multiple overlay I do not see any way to
differenciate them (other than the group tag).
Example:
C++ includes: gdcmOverlay.h
"""
__swig_setmethods__ = {}
for _s in [Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Overlay, name, value)
__swig_getmethods__ = {}
for _s in [Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Overlay, name)
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_Overlay
__del__ = lambda self : None;
def Print(self, *args):
"""
void
gdcm::Overlay::Print(std::ostream &) const
Print.
"""
return _gdcmswig.Overlay_Print(self, *args)
def Update(self, *args):
"""
void
gdcm::Overlay::Update(const DataElement &de)
Update overlay from data element de:
"""
return _gdcmswig.Overlay_Update(self, *args)
def SetGroup(self, *args):
"""
void
gdcm::Overlay::SetGroup(unsigned short group)
Set Group number.
"""
return _gdcmswig.Overlay_SetGroup(self, *args)
def GetGroup(self):
"""
unsigned short
gdcm::Overlay::GetGroup() const
Get Group number.
"""
return _gdcmswig.Overlay_GetGroup(self)
def SetRows(self, *args):
"""
void
gdcm::Overlay::SetRows(unsigned short rows)
set rows
"""
return _gdcmswig.Overlay_SetRows(self, *args)
def GetRows(self):
"""
unsigned short
gdcm::Overlay::GetRows() const
get rows
"""
return _gdcmswig.Overlay_GetRows(self)
def SetColumns(self, *args):
"""
void
gdcm::Overlay::SetColumns(unsigned short columns)
set columns
"""
return _gdcmswig.Overlay_SetColumns(self, *args)
def GetColumns(self):
"""
unsigned short
gdcm::Overlay::GetColumns() const
get columns
"""
return _gdcmswig.Overlay_GetColumns(self)
def SetNumberOfFrames(self, *args):
"""
void
gdcm::Overlay::SetNumberOfFrames(unsigned int numberofframes)
set number of frames
"""
return _gdcmswig.Overlay_SetNumberOfFrames(self, *args)
def SetDescription(self, *args):
"""
void
gdcm::Overlay::SetDescription(const char *description)
set description
"""
return _gdcmswig.Overlay_SetDescription(self, *args)
def GetDescription(self):
"""
const char*
gdcm::Overlay::GetDescription() const
get description
"""
return _gdcmswig.Overlay_GetDescription(self)
Invalid = _gdcmswig.Overlay_Invalid
Graphics = _gdcmswig.Overlay_Graphics
ROI = _gdcmswig.Overlay_ROI
def SetType(self, *args):
"""
void
gdcm::Overlay::SetType(const char *type)
set type
"""
return _gdcmswig.Overlay_SetType(self, *args)
def GetType(self):
"""
const char*
gdcm::Overlay::GetType() const
get type
"""
return _gdcmswig.Overlay_GetType(self)
def GetTypeAsEnum(self):
"""
OverlayType
gdcm::Overlay::GetTypeAsEnum() const
"""
return _gdcmswig.Overlay_GetTypeAsEnum(self)
__swig_getmethods__["GetOverlayTypeAsString"] = lambda x: _gdcmswig.Overlay_GetOverlayTypeAsString
if _newclass:GetOverlayTypeAsString = staticmethod(_gdcmswig.Overlay_GetOverlayTypeAsString)
__swig_getmethods__["GetOverlayTypeFromString"] = lambda x: _gdcmswig.Overlay_GetOverlayTypeFromString
if _newclass:GetOverlayTypeFromString = staticmethod(_gdcmswig.Overlay_GetOverlayTypeFromString)
def SetOrigin(self, *args):
"""
void
gdcm::Overlay::SetOrigin(const signed short origin[2])
set origin
"""
return _gdcmswig.Overlay_SetOrigin(self, *args)
def GetOrigin(self):
"""
const signed short*
gdcm::Overlay::GetOrigin() const
get origin
"""
return _gdcmswig.Overlay_GetOrigin(self)
def SetFrameOrigin(self, *args):
"""
void
gdcm::Overlay::SetFrameOrigin(unsigned short frameorigin)
set frame origin
"""
return _gdcmswig.Overlay_SetFrameOrigin(self, *args)
def SetBitsAllocated(self, *args):
"""
void
gdcm::Overlay::SetBitsAllocated(unsigned short bitsallocated)
set bits allocated
"""
return _gdcmswig.Overlay_SetBitsAllocated(self, *args)
def GetBitsAllocated(self):
"""
unsigned
short gdcm::Overlay::GetBitsAllocated() const
return bits allocated
"""
return _gdcmswig.Overlay_GetBitsAllocated(self)
def SetBitPosition(self, *args):
"""
void
gdcm::Overlay::SetBitPosition(unsigned short bitposition)
set bit position
"""
return _gdcmswig.Overlay_SetBitPosition(self, *args)
def GetBitPosition(self):
"""
unsigned short
gdcm::Overlay::GetBitPosition() const
return bit position
"""
return _gdcmswig.Overlay_GetBitPosition(self)
def SetOverlay(self, *args):
"""
void
gdcm::Overlay::SetOverlay(const char *array, size_t length)
set overlay from byte array + length
"""
return _gdcmswig.Overlay_SetOverlay(self, *args)
def GrabOverlayFromPixelData(self, *args):
"""
bool
gdcm::Overlay::GrabOverlayFromPixelData(DataSet const &ds)
"""
return _gdcmswig.Overlay_GrabOverlayFromPixelData(self, *args)
def GetOverlayData(self):
"""
const
ByteValue& gdcm::Overlay::GetOverlayData() const
Return the Overlay Data as ByteValue: Not thread safe
"""
return _gdcmswig.Overlay_GetOverlayData(self)
def IsEmpty(self):
"""
bool
gdcm::Overlay::IsEmpty() const
Return whether or not the Overlay is empty:
"""
return _gdcmswig.Overlay_IsEmpty(self)
def IsZero(self):
"""
bool
gdcm::Overlay::IsZero() const
return true if all bits are set to 0
"""
return _gdcmswig.Overlay_IsZero(self)
def IsInPixelData(self, *args):
"""
void
gdcm::Overlay::IsInPixelData(bool b)
Set wether or no the OverlayData is in the Pixel Data:
"""
return _gdcmswig.Overlay_IsInPixelData(self, *args)
def Decompress(self, *args):
"""
void
gdcm::Overlay::Decompress(std::ostream &os) const
Decode the internal OverlayData (packed bits) into unpacked
representation.
"""
return _gdcmswig.Overlay_Decompress(self, *args)
def GetBuffer(self, *args):
"""
bool
gdcm::Overlay::GetBuffer(char *buffer) const
Get the raw (packed bits) Overlay Data:
"""
return _gdcmswig.Overlay_GetBuffer(self, *args)
def Decode(self, *args):
"""
void
gdcm::Overlay::Decode(std::istream &is, std::ostream &os)
Do not use.
"""
return _gdcmswig.Overlay_Decode(self, *args)
def GetUnpackBufferLength(self):
"""
size_t
gdcm::Overlay::GetUnpackBufferLength() const
Retrieve the size of the buffer needed to hold the Overlay as
specified by Col & Row parameters
"""
return _gdcmswig.Overlay_GetUnpackBufferLength(self)
def GetUnpackBuffer(self, *args):
"""
bool
gdcm::Overlay::GetUnpackBuffer(unsigned char *buffer) const
Do not use.
"""
return _gdcmswig.Overlay_GetUnpackBuffer(self, *args)
def __init__(self, *args):
"""gdcm::Overlay::Overlay(Overlay const &ov) """
this = _gdcmswig.new_Overlay(*args)
try: self.this.append(this)
except: self.this = this
def __str__(self): return _gdcmswig.Overlay___str__(self)
Overlay_swigregister = _gdcmswig.Overlay_swigregister
Overlay_swigregister(Overlay)
def Overlay_GetOverlayTypeAsString(*args):
return _gdcmswig.Overlay_GetOverlayTypeAsString(*args)
Overlay_GetOverlayTypeAsString = _gdcmswig.Overlay_GetOverlayTypeAsString
def Overlay_GetOverlayTypeFromString(*args):
return _gdcmswig.Overlay_GetOverlayTypeFromString(*args)
Overlay_GetOverlayTypeFromString = _gdcmswig.Overlay_GetOverlayTypeFromString
class DataElementSet(_object):
"""
STL class.
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DataElementSet, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DataElementSet, name)
__repr__ = _swig_repr
def iterator(self):
"""
STL iterator class.
"""
return _gdcmswig.DataElementSet_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _gdcmswig.DataElementSet___nonzero__(self)
def __bool__(self): return _gdcmswig.DataElementSet___bool__(self)
def __len__(self): return _gdcmswig.DataElementSet___len__(self)
def append(self, *args): return _gdcmswig.DataElementSet_append(self, *args)
def __contains__(self, *args): return _gdcmswig.DataElementSet___contains__(self, *args)
def __getitem__(self, *args): return _gdcmswig.DataElementSet___getitem__(self, *args)
def add(self, *args): return _gdcmswig.DataElementSet_add(self, *args)
def discard(self, *args): return _gdcmswig.DataElementSet_discard(self, *args)
def __init__(self, *args):
this = _gdcmswig.new_DataElementSet(*args)
try: self.this.append(this)
except: self.this = this
def empty(self): return _gdcmswig.DataElementSet_empty(self)
def size(self): return _gdcmswig.DataElementSet_size(self)
def clear(self): return _gdcmswig.DataElementSet_clear(self)
def swap(self, *args): return _gdcmswig.DataElementSet_swap(self, *args)
def count(self, *args): return _gdcmswig.DataElementSet_count(self, *args)
def begin(self): return _gdcmswig.DataElementSet_begin(self)
def end(self): return _gdcmswig.DataElementSet_end(self)
def rbegin(self): return _gdcmswig.DataElementSet_rbegin(self)
def rend(self): return _gdcmswig.DataElementSet_rend(self)
def erase(self, *args): return _gdcmswig.DataElementSet_erase(self, *args)
def find(self, *args): return _gdcmswig.DataElementSet_find(self, *args)
def lower_bound(self, *args): return _gdcmswig.DataElementSet_lower_bound(self, *args)
def upper_bound(self, *args): return _gdcmswig.DataElementSet_upper_bound(self, *args)
def equal_range(self, *args): return _gdcmswig.DataElementSet_equal_range(self, *args)
def insert(self, *args): return _gdcmswig.DataElementSet_insert(self, *args)
__swig_destroy__ = _gdcmswig.delete_DataElementSet
__del__ = lambda self : None;
DataElementSet_swigregister = _gdcmswig.DataElementSet_swigregister
DataElementSet_swigregister(DataElementSet)
class Preamble(_object):
"""
DICOM Preamble (Part 10).
C++ includes: gdcmPreamble.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Preamble, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Preamble, name)
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_Preamble
__del__ = lambda self : None;
def Clear(self):
"""
void
gdcm::Preamble::Clear()
"""
return _gdcmswig.Preamble_Clear(self)
def Valid(self):
"""
void
gdcm::Preamble::Valid()
"""
return _gdcmswig.Preamble_Valid(self)
def Create(self):
"""
void
gdcm::Preamble::Create()
"""
return _gdcmswig.Preamble_Create(self)
def Remove(self):
"""
void
gdcm::Preamble::Remove()
"""
return _gdcmswig.Preamble_Remove(self)
def Read(self, *args):
"""
std::istream&
gdcm::Preamble::Read(std::istream &is)
"""
return _gdcmswig.Preamble_Read(self, *args)
def Write(self, *args):
"""
std::ostream const&
gdcm::Preamble::Write(std::ostream &os) const
"""
return _gdcmswig.Preamble_Write(self, *args)
def Print(self, *args):
"""
void
gdcm::Preamble::Print(std::ostream &os) const
"""
return _gdcmswig.Preamble_Print(self, *args)
def GetInternal(self):
"""
const char*
gdcm::Preamble::GetInternal() const
"""
return _gdcmswig.Preamble_GetInternal(self)
def IsEmpty(self):
"""
bool
gdcm::Preamble::IsEmpty() const
"""
return _gdcmswig.Preamble_IsEmpty(self)
def GetLength(self):
"""
VL
gdcm::Preamble::GetLength() const
"""
return _gdcmswig.Preamble_GetLength(self)
def __init__(self, *args):
"""gdcm::Preamble::Preamble(Preamble const &) """
this = _gdcmswig.new_Preamble(*args)
try: self.this.append(this)
except: self.this = this
def __str__(self): return _gdcmswig.Preamble___str__(self)
Preamble_swigregister = _gdcmswig.Preamble_swigregister
Preamble_swigregister(Preamble)
class TransferSyntax(_object):
"""
Class to manipulate Transfer Syntax.
TRANSFER SYNTAX (Standard and Private): A set of encoding rules that
allow Application Entities to unambiguously negotiate the encoding
techniques (e.g., Data Element structure, byte ordering, compression)
they are able to support, thereby allowing these Application Entities
to communicate. Todo : The implementation is completely retarded ->
see gdcm::UIDs for a replacement We need: IsSupported We need
preprocess of raw/xml file We need GetFullName()
Need a notion of Private Syntax. As defined in PS 3.5. Section 9.2
See: UIDs
C++ includes: gdcmTransferSyntax.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, TransferSyntax, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, TransferSyntax, name)
__repr__ = _swig_repr
Unknown = _gdcmswig.TransferSyntax_Unknown
Explicit = _gdcmswig.TransferSyntax_Explicit
Implicit = _gdcmswig.TransferSyntax_Implicit
ImplicitVRLittleEndian = _gdcmswig.TransferSyntax_ImplicitVRLittleEndian
ImplicitVRBigEndianPrivateGE = _gdcmswig.TransferSyntax_ImplicitVRBigEndianPrivateGE
ExplicitVRLittleEndian = _gdcmswig.TransferSyntax_ExplicitVRLittleEndian
DeflatedExplicitVRLittleEndian = _gdcmswig.TransferSyntax_DeflatedExplicitVRLittleEndian
ExplicitVRBigEndian = _gdcmswig.TransferSyntax_ExplicitVRBigEndian
JPEGBaselineProcess1 = _gdcmswig.TransferSyntax_JPEGBaselineProcess1
JPEGExtendedProcess2_4 = _gdcmswig.TransferSyntax_JPEGExtendedProcess2_4
JPEGExtendedProcess3_5 = _gdcmswig.TransferSyntax_JPEGExtendedProcess3_5
JPEGSpectralSelectionProcess6_8 = _gdcmswig.TransferSyntax_JPEGSpectralSelectionProcess6_8
JPEGFullProgressionProcess10_12 = _gdcmswig.TransferSyntax_JPEGFullProgressionProcess10_12
JPEGLosslessProcess14 = _gdcmswig.TransferSyntax_JPEGLosslessProcess14
JPEGLosslessProcess14_1 = _gdcmswig.TransferSyntax_JPEGLosslessProcess14_1
JPEGLSLossless = _gdcmswig.TransferSyntax_JPEGLSLossless
JPEGLSNearLossless = _gdcmswig.TransferSyntax_JPEGLSNearLossless
JPEG2000Lossless = _gdcmswig.TransferSyntax_JPEG2000Lossless
JPEG2000 = _gdcmswig.TransferSyntax_JPEG2000
JPEG2000Part2Lossless = _gdcmswig.TransferSyntax_JPEG2000Part2Lossless
JPEG2000Part2 = _gdcmswig.TransferSyntax_JPEG2000Part2
RLELossless = _gdcmswig.TransferSyntax_RLELossless
MPEG2MainProfile = _gdcmswig.TransferSyntax_MPEG2MainProfile
ImplicitVRBigEndianACRNEMA = _gdcmswig.TransferSyntax_ImplicitVRBigEndianACRNEMA
WeirdPapryus = _gdcmswig.TransferSyntax_WeirdPapryus
CT_private_ELE = _gdcmswig.TransferSyntax_CT_private_ELE
JPIPReferenced = _gdcmswig.TransferSyntax_JPIPReferenced
TS_END = _gdcmswig.TransferSyntax_TS_END
__swig_getmethods__["GetTSString"] = lambda x: _gdcmswig.TransferSyntax_GetTSString
if _newclass:GetTSString = staticmethod(_gdcmswig.TransferSyntax_GetTSString)
__swig_getmethods__["GetTSType"] = lambda x: _gdcmswig.TransferSyntax_GetTSType
if _newclass:GetTSType = staticmethod(_gdcmswig.TransferSyntax_GetTSType)
def GetNegociatedType(self):
"""NegociatedType gdcm::TransferSyntax::GetNegociatedType() const """
return _gdcmswig.TransferSyntax_GetNegociatedType(self)
def GetSwapCode(self):
"""
SwapCode
gdcm::TransferSyntax::GetSwapCode() const
Deprecated Return the SwapCode associated with the Transfer Syntax. Be
careful with the special GE private syntax the DataSet is written in
little endian but the Pixel Data is in Big Endian.
"""
return _gdcmswig.TransferSyntax_GetSwapCode(self)
def IsValid(self):
"""
bool
gdcm::TransferSyntax::IsValid() const
"""
return _gdcmswig.TransferSyntax_IsValid(self)
def __init__(self, *args):
"""
gdcm::TransferSyntax::TransferSyntax(TSType
type=ImplicitVRLittleEndian)
"""
this = _gdcmswig.new_TransferSyntax(*args)
try: self.this.append(this)
except: self.this = this
def IsEncoded(self):
"""
bool
gdcm::TransferSyntax::IsEncoded() const
"""
return _gdcmswig.TransferSyntax_IsEncoded(self)
def IsImplicit(self):
"""
bool
gdcm::TransferSyntax::IsImplicit() const
"""
return _gdcmswig.TransferSyntax_IsImplicit(self)
def IsExplicit(self):
"""
bool
gdcm::TransferSyntax::IsExplicit() const
"""
return _gdcmswig.TransferSyntax_IsExplicit(self)
def IsEncapsulated(self):
"""
bool
gdcm::TransferSyntax::IsEncapsulated() const
"""
return _gdcmswig.TransferSyntax_IsEncapsulated(self)
def IsLossy(self):
"""
bool
gdcm::TransferSyntax::IsLossy() const
Return if the transfer syntax algorithm is a lossy algorithm
"""
return _gdcmswig.TransferSyntax_IsLossy(self)
def IsLossless(self):
"""
bool
gdcm::TransferSyntax::IsLossless() const
Return if the transfer syntax algorithm is a lossless algorithm
"""
return _gdcmswig.TransferSyntax_IsLossless(self)
def CanStoreLossy(self):
"""
bool
gdcm::TransferSyntax::CanStoreLossy() const
return if TransFer Syntax Allow storing of Lossy Pixel Data
"""
return _gdcmswig.TransferSyntax_CanStoreLossy(self)
def GetString(self):
"""
const char*
gdcm::TransferSyntax::GetString() const
"""
return _gdcmswig.TransferSyntax_GetString(self)
def __str__(self): return _gdcmswig.TransferSyntax___str__(self)
__swig_destroy__ = _gdcmswig.delete_TransferSyntax
__del__ = lambda self : None;
TransferSyntax_swigregister = _gdcmswig.TransferSyntax_swigregister
TransferSyntax_swigregister(TransferSyntax)
def TransferSyntax_GetTSString(*args):
return _gdcmswig.TransferSyntax_GetTSString(*args)
TransferSyntax_GetTSString = _gdcmswig.TransferSyntax_GetTSString
def TransferSyntax_GetTSType(*args):
return _gdcmswig.TransferSyntax_GetTSType(*args)
TransferSyntax_GetTSType = _gdcmswig.TransferSyntax_GetTSType
class FileMetaInformation(DataSet):
"""
Class to represent a File Meta Information.
FileMetaInformation is a Explicit Structured Set. Whenever the file
contains an ImplicitDataElement DataSet, a conversion will take place.
Definition: The File Meta Information includes identifying information
on the encapsulated Data Set. This header consists of a 128 byte File
Preamble, followed by a 4 byte DICOM prefix, followed by the File Meta
Elements shown in Table 7.1-1. This header shall be present in every
DICOM file.
See: Writer Reader
C++ includes: gdcmFileMetaInformation.h
"""
__swig_setmethods__ = {}
for _s in [DataSet]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, FileMetaInformation, name, value)
__swig_getmethods__ = {}
for _s in [DataSet]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, FileMetaInformation, name)
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_FileMetaInformation
__del__ = lambda self : None;
def IsValid(self):
"""
bool
gdcm::FileMetaInformation::IsValid() const
"""
return _gdcmswig.FileMetaInformation_IsValid(self)
def GetMetaInformationTS(self):
"""
TransferSyntax::NegociatedType
gdcm::FileMetaInformation::GetMetaInformationTS() const
"""
return _gdcmswig.FileMetaInformation_GetMetaInformationTS(self)
def SetDataSetTransferSyntax(self, *args):
"""
void
gdcm::FileMetaInformation::SetDataSetTransferSyntax(const
TransferSyntax &ts)
"""
return _gdcmswig.FileMetaInformation_SetDataSetTransferSyntax(self, *args)
def GetDataSetTransferSyntax(self):
"""
const
TransferSyntax& gdcm::FileMetaInformation::GetDataSetTransferSyntax()
const
"""
return _gdcmswig.FileMetaInformation_GetDataSetTransferSyntax(self)
def GetMediaStorage(self):
"""MediaStorage gdcm::FileMetaInformation::GetMediaStorage() const """
return _gdcmswig.FileMetaInformation_GetMediaStorage(self)
def Insert(self, *args):
"""
void
gdcm::FileMetaInformation::Insert(const DataElement &de)
Insert a DataElement in the DataSet. WARNING: : Tag need to be >= 0x8
to be considered valid data element
"""
return _gdcmswig.FileMetaInformation_Insert(self, *args)
def Replace(self, *args):
"""
void
gdcm::FileMetaInformation::Replace(const DataElement &de)
Replace a dataelement with another one.
"""
return _gdcmswig.FileMetaInformation_Replace(self, *args)
def Read(self, *args):
"""
std::istream&
gdcm::FileMetaInformation::Read(std::istream &is)
Read.
"""
return _gdcmswig.FileMetaInformation_Read(self, *args)
def ReadCompat(self, *args):
"""
std::istream& gdcm::FileMetaInformation::ReadCompat(std::istream &is)
"""
return _gdcmswig.FileMetaInformation_ReadCompat(self, *args)
def Write(self, *args):
"""
std::ostream& gdcm::FileMetaInformation::Write(std::ostream &os) const
Write.
"""
return _gdcmswig.FileMetaInformation_Write(self, *args)
def FillFromDataSet(self, *args):
"""
void gdcm::FileMetaInformation::FillFromDataSet(DataSet const &ds)
Construct a FileMetaInformation from an already existing DataSet:
"""
return _gdcmswig.FileMetaInformation_FillFromDataSet(self, *args)
def GetPreamble(self, *args):
"""Preamble& gdcm::FileMetaInformation::GetPreamble() """
return _gdcmswig.FileMetaInformation_GetPreamble(self, *args)
def SetPreamble(self, *args):
"""
void
gdcm::FileMetaInformation::SetPreamble(const Preamble &p)
"""
return _gdcmswig.FileMetaInformation_SetPreamble(self, *args)
__swig_getmethods__["SetImplementationClassUID"] = lambda x: _gdcmswig.FileMetaInformation_SetImplementationClassUID
if _newclass:SetImplementationClassUID = staticmethod(_gdcmswig.FileMetaInformation_SetImplementationClassUID)
__swig_getmethods__["AppendImplementationClassUID"] = lambda x: _gdcmswig.FileMetaInformation_AppendImplementationClassUID
if _newclass:AppendImplementationClassUID = staticmethod(_gdcmswig.FileMetaInformation_AppendImplementationClassUID)
__swig_getmethods__["GetImplementationClassUID"] = lambda x: _gdcmswig.FileMetaInformation_GetImplementationClassUID
if _newclass:GetImplementationClassUID = staticmethod(_gdcmswig.FileMetaInformation_GetImplementationClassUID)
__swig_getmethods__["SetImplementationVersionName"] = lambda x: _gdcmswig.FileMetaInformation_SetImplementationVersionName
if _newclass:SetImplementationVersionName = staticmethod(_gdcmswig.FileMetaInformation_SetImplementationVersionName)
__swig_getmethods__["GetImplementationVersionName"] = lambda x: _gdcmswig.FileMetaInformation_GetImplementationVersionName
if _newclass:GetImplementationVersionName = staticmethod(_gdcmswig.FileMetaInformation_GetImplementationVersionName)
__swig_getmethods__["SetSourceApplicationEntityTitle"] = lambda x: _gdcmswig.FileMetaInformation_SetSourceApplicationEntityTitle
if _newclass:SetSourceApplicationEntityTitle = staticmethod(_gdcmswig.FileMetaInformation_SetSourceApplicationEntityTitle)
__swig_getmethods__["GetSourceApplicationEntityTitle"] = lambda x: _gdcmswig.FileMetaInformation_GetSourceApplicationEntityTitle
if _newclass:GetSourceApplicationEntityTitle = staticmethod(_gdcmswig.FileMetaInformation_GetSourceApplicationEntityTitle)
def __init__(self, *args):
"""
gdcm::FileMetaInformation::FileMetaInformation(FileMetaInformation
const &fmi)
"""
this = _gdcmswig.new_FileMetaInformation(*args)
try: self.this.append(this)
except: self.this = this
def GetFullLength(self):
"""
VL
gdcm::FileMetaInformation::GetFullLength() const
"""
return _gdcmswig.FileMetaInformation_GetFullLength(self)
def __str__(self): return _gdcmswig.FileMetaInformation___str__(self)
FileMetaInformation_swigregister = _gdcmswig.FileMetaInformation_swigregister
FileMetaInformation_swigregister(FileMetaInformation)
def FileMetaInformation_SetImplementationClassUID(*args):
return _gdcmswig.FileMetaInformation_SetImplementationClassUID(*args)
FileMetaInformation_SetImplementationClassUID = _gdcmswig.FileMetaInformation_SetImplementationClassUID
def FileMetaInformation_AppendImplementationClassUID(*args):
return _gdcmswig.FileMetaInformation_AppendImplementationClassUID(*args)
FileMetaInformation_AppendImplementationClassUID = _gdcmswig.FileMetaInformation_AppendImplementationClassUID
def FileMetaInformation_GetImplementationClassUID():
return _gdcmswig.FileMetaInformation_GetImplementationClassUID()
FileMetaInformation_GetImplementationClassUID = _gdcmswig.FileMetaInformation_GetImplementationClassUID
def FileMetaInformation_SetImplementationVersionName(*args):
return _gdcmswig.FileMetaInformation_SetImplementationVersionName(*args)
FileMetaInformation_SetImplementationVersionName = _gdcmswig.FileMetaInformation_SetImplementationVersionName
def FileMetaInformation_GetImplementationVersionName():
return _gdcmswig.FileMetaInformation_GetImplementationVersionName()
FileMetaInformation_GetImplementationVersionName = _gdcmswig.FileMetaInformation_GetImplementationVersionName
def FileMetaInformation_SetSourceApplicationEntityTitle(*args):
return _gdcmswig.FileMetaInformation_SetSourceApplicationEntityTitle(*args)
FileMetaInformation_SetSourceApplicationEntityTitle = _gdcmswig.FileMetaInformation_SetSourceApplicationEntityTitle
def FileMetaInformation_GetSourceApplicationEntityTitle():
return _gdcmswig.FileMetaInformation_GetSourceApplicationEntityTitle()
FileMetaInformation_GetSourceApplicationEntityTitle = _gdcmswig.FileMetaInformation_GetSourceApplicationEntityTitle
class File(Object):
"""
a DICOM File See PS 3.10 File: A File is an ordered string of zero or
more bytes, where the first byte is at the beginning of the file and
the last byte at the end of the File. Files are identified by a unique
File ID and may by written, read and/or deleted.
See: Reader Writer
C++ includes: gdcmFile.h
"""
__swig_setmethods__ = {}
for _s in [Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, File, name, value)
__swig_getmethods__ = {}
for _s in [Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, File, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::File::File() """
this = _gdcmswig.new_File()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_File
__del__ = lambda self : None;
def Read(self, *args):
"""
std::istream&
gdcm::File::Read(std::istream &is)
Read.
"""
return _gdcmswig.File_Read(self, *args)
def Write(self, *args):
"""
std::ostream const&
gdcm::File::Write(std::ostream &os) const
Write.
"""
return _gdcmswig.File_Write(self, *args)
def GetHeader(self, *args):
"""
FileMetaInformation&
gdcm::File::GetHeader()
Get File Meta Information.
"""
return _gdcmswig.File_GetHeader(self, *args)
def SetHeader(self, *args):
"""
void
gdcm::File::SetHeader(const FileMetaInformation &fmi)
Set File Meta Information.
"""
return _gdcmswig.File_SetHeader(self, *args)
def GetDataSet(self, *args):
"""
DataSet&
gdcm::File::GetDataSet()
Get Data Set.
"""
return _gdcmswig.File_GetDataSet(self, *args)
def SetDataSet(self, *args):
"""
void
gdcm::File::SetDataSet(const DataSet &ds)
Set Data Set.
"""
return _gdcmswig.File_SetDataSet(self, *args)
def __str__(self): return _gdcmswig.File___str__(self)
File_swigregister = _gdcmswig.File_swigregister
File_swigregister(File)
class Bitmap(Object):
"""
Bitmap class A bitmap based image. Used as parent for both IconImage
and the main Pixel Data Image It does not contains any World Space
information (IPP, IOP).
C++ includes: gdcmBitmap.h
"""
__swig_setmethods__ = {}
for _s in [Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Bitmap, name, value)
__swig_getmethods__ = {}
for _s in [Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Bitmap, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::Bitmap::Bitmap()
"""
this = _gdcmswig.new_Bitmap()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Bitmap
__del__ = lambda self : None;
def Print(self, *args):
"""
void
gdcm::Bitmap::Print(std::ostream &) const
"""
return _gdcmswig.Bitmap_Print(self, *args)
def AreOverlaysInPixelData(self):
"""
virtual
bool gdcm::Bitmap::AreOverlaysInPixelData() const
"""
return _gdcmswig.Bitmap_AreOverlaysInPixelData(self)
def GetNumberOfDimensions(self):
"""
unsigned
int gdcm::Bitmap::GetNumberOfDimensions() const
Return the number of dimension of the pixel data bytes; for example 2
for a 2D matrices of values.
"""
return _gdcmswig.Bitmap_GetNumberOfDimensions(self)
def SetNumberOfDimensions(self, *args):
"""
void
gdcm::Bitmap::SetNumberOfDimensions(unsigned int dim)
"""
return _gdcmswig.Bitmap_SetNumberOfDimensions(self, *args)
def GetPlanarConfiguration(self):
"""
unsigned
int gdcm::Bitmap::GetPlanarConfiguration() const
return the planar configuration
"""
return _gdcmswig.Bitmap_GetPlanarConfiguration(self)
def SetPlanarConfiguration(self, *args):
"""
void
gdcm::Bitmap::SetPlanarConfiguration(unsigned int pc)
WARNING: you need to call SetPixelFormat first (before
SetPlanarConfiguration) for consistency checking
"""
return _gdcmswig.Bitmap_SetPlanarConfiguration(self, *args)
def GetNeedByteSwap(self):
"""
bool
gdcm::Bitmap::GetNeedByteSwap() const
"""
return _gdcmswig.Bitmap_GetNeedByteSwap(self)
def SetNeedByteSwap(self, *args):
"""
void
gdcm::Bitmap::SetNeedByteSwap(bool b)
"""
return _gdcmswig.Bitmap_SetNeedByteSwap(self, *args)
def SetTransferSyntax(self, *args):
"""
void
gdcm::Bitmap::SetTransferSyntax(TransferSyntax const &ts)
Transfer syntax.
"""
return _gdcmswig.Bitmap_SetTransferSyntax(self, *args)
def GetTransferSyntax(self):
"""
const
TransferSyntax& gdcm::Bitmap::GetTransferSyntax() const
"""
return _gdcmswig.Bitmap_GetTransferSyntax(self)
def IsTransferSyntaxCompatible(self, *args):
"""
bool
gdcm::Bitmap::IsTransferSyntaxCompatible(TransferSyntax const &ts)
const
"""
return _gdcmswig.Bitmap_IsTransferSyntaxCompatible(self, *args)
def SetDataElement(self, *args):
"""
void
gdcm::Bitmap::SetDataElement(DataElement const &de)
"""
return _gdcmswig.Bitmap_SetDataElement(self, *args)
def GetDataElement(self, *args):
"""
const
DataElement& gdcm::Bitmap::GetDataElement() const
"""
return _gdcmswig.Bitmap_GetDataElement(self, *args)
def SetLUT(self, *args):
"""
void
gdcm::Bitmap::SetLUT(LookupTable const &lut)
Set/Get LUT.
"""
return _gdcmswig.Bitmap_SetLUT(self, *args)
def GetLUT(self, *args):
"""
LookupTable&
gdcm::Bitmap::GetLUT()
"""
return _gdcmswig.Bitmap_GetLUT(self, *args)
def GetDimensions(self):
"""
const unsigned
int* gdcm::Bitmap::GetDimensions() const
Return the dimension of the pixel data, first dimension (x), then 2nd
(y), then 3rd (z)...
"""
return _gdcmswig.Bitmap_GetDimensions(self)
def GetDimension(self, *args):
"""
unsigned int
gdcm::Bitmap::GetDimension(unsigned int idx) const
"""
return _gdcmswig.Bitmap_GetDimension(self, *args)
def SetColumns(self, *args):
"""
void
gdcm::Bitmap::SetColumns(unsigned int col)
"""
return _gdcmswig.Bitmap_SetColumns(self, *args)
def GetColumns(self):
"""
unsigned int
gdcm::Bitmap::GetColumns() const
"""
return _gdcmswig.Bitmap_GetColumns(self)
def SetRows(self, *args):
"""
void
gdcm::Bitmap::SetRows(unsigned int rows)
"""
return _gdcmswig.Bitmap_SetRows(self, *args)
def GetRows(self):
"""
unsigned int
gdcm::Bitmap::GetRows() const
"""
return _gdcmswig.Bitmap_GetRows(self)
def SetDimensions(self, *args):
"""
void
gdcm::Bitmap::SetDimensions(const unsigned int dims[3])
"""
return _gdcmswig.Bitmap_SetDimensions(self, *args)
def SetDimension(self, *args):
"""
void
gdcm::Bitmap::SetDimension(unsigned int idx, unsigned int dim)
"""
return _gdcmswig.Bitmap_SetDimension(self, *args)
def GetPixelFormat(self, *args):
"""
const
PixelFormat& gdcm::Bitmap::GetPixelFormat() const
Get/Set PixelFormat.
"""
return _gdcmswig.Bitmap_GetPixelFormat(self, *args)
def SetPixelFormat(self, *args):
"""
void
gdcm::Bitmap::SetPixelFormat(PixelFormat const &pf)
"""
return _gdcmswig.Bitmap_SetPixelFormat(self, *args)
def GetPhotometricInterpretation(self):
"""
const PhotometricInterpretation&
gdcm::Bitmap::GetPhotometricInterpretation() const
return the photometric interpretation
"""
return _gdcmswig.Bitmap_GetPhotometricInterpretation(self)
def SetPhotometricInterpretation(self, *args):
"""
void
gdcm::Bitmap::SetPhotometricInterpretation(PhotometricInterpretation
const &pi)
"""
return _gdcmswig.Bitmap_SetPhotometricInterpretation(self, *args)
def IsEmpty(self):
"""
bool
gdcm::Bitmap::IsEmpty() const
"""
return _gdcmswig.Bitmap_IsEmpty(self)
def Clear(self):
"""
void
gdcm::Bitmap::Clear()
"""
return _gdcmswig.Bitmap_Clear(self)
def GetBufferLength(self):
"""
unsigned long
gdcm::Bitmap::GetBufferLength() const
Return the length of the image after decompression WARNING for palette
color: It will NOT take into account the Palette Color thus you need
to multiply this length by 3 if computing the size of equivalent RGB
image
"""
return _gdcmswig.Bitmap_GetBufferLength(self)
def IsLossy(self):
"""
bool
gdcm::Bitmap::IsLossy() const
Return whether or not the image was compressed using a lossy
compressor or not.
"""
return _gdcmswig.Bitmap_IsLossy(self)
def SetLossyFlag(self, *args):
"""
void
gdcm::Bitmap::SetLossyFlag(bool f)
Specifically set that the image was compressed using a lossy
compression mechanism.
"""
return _gdcmswig.Bitmap_SetLossyFlag(self, *args)
def __str__(self): return _gdcmswig.Bitmap___str__(self)
def GetBuffer(self):
"""
bool
gdcm::Bitmap::GetBuffer(char *buffer) const
Acces the raw data.
"""
return _gdcmswig.Bitmap_GetBuffer(self)
Bitmap_swigregister = _gdcmswig.Bitmap_swigregister
Bitmap_swigregister(Bitmap)
class Pixmap(Bitmap):
"""
Pixmap class A bitmap based image. Used as parent for both IconImage
and the main Pixel Data Image It does not contains any World Space
information (IPP, IOP).
See: PixmapReader
C++ includes: gdcmPixmap.h
"""
__swig_setmethods__ = {}
for _s in [Bitmap]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Pixmap, name, value)
__swig_getmethods__ = {}
for _s in [Bitmap]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Pixmap, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::Pixmap::Pixmap()
"""
this = _gdcmswig.new_Pixmap()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Pixmap
__del__ = lambda self : None;
def Print(self, *args):
"""
void
gdcm::Pixmap::Print(std::ostream &) const
"""
return _gdcmswig.Pixmap_Print(self, *args)
def AreOverlaysInPixelData(self):
"""
bool
gdcm::Pixmap::AreOverlaysInPixelData() const
returns if Overlays are stored in the unused bit of the pixel data:
"""
return _gdcmswig.Pixmap_AreOverlaysInPixelData(self)
def GetCurve(self, *args):
"""
const Curve&
gdcm::Pixmap::GetCurve(size_t i=0) const
"""
return _gdcmswig.Pixmap_GetCurve(self, *args)
def GetNumberOfCurves(self):
"""
size_t
gdcm::Pixmap::GetNumberOfCurves() const
"""
return _gdcmswig.Pixmap_GetNumberOfCurves(self)
def SetNumberOfCurves(self, *args):
"""
void
gdcm::Pixmap::SetNumberOfCurves(size_t n)
"""
return _gdcmswig.Pixmap_SetNumberOfCurves(self, *args)
def GetOverlay(self, *args):
"""
const Overlay&
gdcm::Pixmap::GetOverlay(size_t i=0) const
"""
return _gdcmswig.Pixmap_GetOverlay(self, *args)
def GetNumberOfOverlays(self):
"""
size_t
gdcm::Pixmap::GetNumberOfOverlays() const
"""
return _gdcmswig.Pixmap_GetNumberOfOverlays(self)
def SetNumberOfOverlays(self, *args):
"""
void
gdcm::Pixmap::SetNumberOfOverlays(size_t n)
"""
return _gdcmswig.Pixmap_SetNumberOfOverlays(self, *args)
def RemoveOverlay(self, *args):
"""
void
gdcm::Pixmap::RemoveOverlay(size_t i)
"""
return _gdcmswig.Pixmap_RemoveOverlay(self, *args)
def GetIconImage(self, *args):
"""
const IconImage&
gdcm::Pixmap::GetIconImage() const
Set/Get Icon Image.
"""
return _gdcmswig.Pixmap_GetIconImage(self, *args)
def SetIconImage(self, *args):
"""
void
gdcm::Pixmap::SetIconImage(IconImage const &ii)
"""
return _gdcmswig.Pixmap_SetIconImage(self, *args)
def __str__(self): return _gdcmswig.Pixmap___str__(self)
Pixmap_swigregister = _gdcmswig.Pixmap_swigregister
Pixmap_swigregister(Pixmap)
class Image(Pixmap):
"""
Image This is the container for an Image in the general sense. From
this container you should be able to request information like: Origin
Dimension
PixelFormat ... But also to retrieve the image as a raw buffer (char
*) Since we have to deal with both RAW data and JPEG stream (which
internally encode all the above information) this API might seems
redundant. One way to solve that would be to subclass gdcm::Image with
gdcm::JPEGImage which would from the stream extract the header info
and fill it to please gdcm::Image...well except origin for instance.
Basically you can see it as a storage for the Pixel Data element
(7fe0,0010).
WARNING: This class does some heuristics to guess the Spacing but is
not compatible with DICOM CP-586. In case of doubt use PixmapReader
instead
See: ImageReader PixmapReader
C++ includes: gdcmImage.h
"""
__swig_setmethods__ = {}
for _s in [Pixmap]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Image, name, value)
__swig_getmethods__ = {}
for _s in [Pixmap]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Image, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Image::Image() """
this = _gdcmswig.new_Image()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Image
__del__ = lambda self : None;
def GetSpacing(self, *args):
"""
const double*
gdcm::Image::GetSpacing() const
Return a 3-tuples specifying the spacing NOTE: 3rd value can be an
aribtrary 1 value when the spacing was not specified (ex. 2D image).
WARNING: when the spacing is not specifier, a default value of 1 will
be returned
"""
return _gdcmswig.Image_GetSpacing(self, *args)
def SetSpacing(self, *args):
"""
void
gdcm::Image::SetSpacing(unsigned int idx, double spacing)
"""
return _gdcmswig.Image_SetSpacing(self, *args)
def GetOrigin(self, *args):
"""
const double*
gdcm::Image::GetOrigin() const
Return a 3-tuples specifying the origin Will return (0,0,0) if the
origin was not specified.
"""
return _gdcmswig.Image_GetOrigin(self, *args)
def SetOrigin(self, *args):
"""
void
gdcm::Image::SetOrigin(unsigned int idx, double ori)
"""
return _gdcmswig.Image_SetOrigin(self, *args)
def GetDirectionCosines(self, *args):
"""
double
gdcm::Image::GetDirectionCosines(unsigned int idx) const
"""
return _gdcmswig.Image_GetDirectionCosines(self, *args)
def SetDirectionCosines(self, *args):
"""
void
gdcm::Image::SetDirectionCosines(unsigned int idx, double dircos)
"""
return _gdcmswig.Image_SetDirectionCosines(self, *args)
def Print(self, *args):
"""
void
gdcm::Image::Print(std::ostream &os) const
print
"""
return _gdcmswig.Image_Print(self, *args)
def SetIntercept(self, *args):
"""
void
gdcm::Image::SetIntercept(double intercept)
intercept
"""
return _gdcmswig.Image_SetIntercept(self, *args)
def GetIntercept(self):
"""
double
gdcm::Image::GetIntercept() const
"""
return _gdcmswig.Image_GetIntercept(self)
def SetSlope(self, *args):
"""
void
gdcm::Image::SetSlope(double slope)
slope
"""
return _gdcmswig.Image_SetSlope(self, *args)
def GetSlope(self):
"""
double
gdcm::Image::GetSlope() const
"""
return _gdcmswig.Image_GetSlope(self)
def __str__(self): return _gdcmswig.Image___str__(self)
Image_swigregister = _gdcmswig.Image_swigregister
Image_swigregister(Image)
class Fragment(DataElement):
"""
Class to represent a Fragment.
C++ includes: gdcmFragment.h
"""
__swig_setmethods__ = {}
for _s in [DataElement]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Fragment, name, value)
__swig_getmethods__ = {}
for _s in [DataElement]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Fragment, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Fragment::Fragment() """
this = _gdcmswig.new_Fragment()
try: self.this.append(this)
except: self.this = this
def GetLength(self):
"""
VL
gdcm::Fragment::GetLength() const
"""
return _gdcmswig.Fragment_GetLength(self)
def __str__(self): return _gdcmswig.Fragment___str__(self)
__swig_destroy__ = _gdcmswig.delete_Fragment
__del__ = lambda self : None;
Fragment_swigregister = _gdcmswig.Fragment_swigregister
Fragment_swigregister(Fragment)
class PDBElement(_object):
"""
Class to represent a PDB Element.
See: PDBHeader
C++ includes: gdcmPDBElement.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PDBElement, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PDBElement, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::PDBElement::PDBElement() """
this = _gdcmswig.new_PDBElement()
try: self.this.append(this)
except: self.this = this
def GetName(self):
"""
const char*
gdcm::PDBElement::GetName() const
Set/Get Name.
"""
return _gdcmswig.PDBElement_GetName(self)
def SetName(self, *args):
"""
void
gdcm::PDBElement::SetName(const char *name)
"""
return _gdcmswig.PDBElement_SetName(self, *args)
def GetValue(self):
"""
const char*
gdcm::PDBElement::GetValue() const
Set/Get Value.
"""
return _gdcmswig.PDBElement_GetValue(self)
def SetValue(self, *args):
"""
void
gdcm::PDBElement::SetValue(const char *value)
"""
return _gdcmswig.PDBElement_SetValue(self, *args)
def __eq__(self, *args): return _gdcmswig.PDBElement___eq__(self, *args)
def __str__(self): return _gdcmswig.PDBElement___str__(self)
__swig_destroy__ = _gdcmswig.delete_PDBElement
__del__ = lambda self : None;
PDBElement_swigregister = _gdcmswig.PDBElement_swigregister
PDBElement_swigregister(PDBElement)
class PDBHeader(_object):
"""
Class for PDBHeader.
GEMS MR Image have an Attribute (0025,1b,GEMS_SERS_01) which store the
Acquisition parameter of the MR Image. It is compressed and can
therefore not be used as is. This class de- encapsulated the Protocol
Data Block and allow users to query element by name.
WARNING: Everything you do with this code is at your own risk, since
decoding process was not written from specification documents.
: the API of this class might change.
See: CSAHeader
C++ includes: gdcmPDBHeader.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PDBHeader, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PDBHeader, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::PDBHeader::PDBHeader() """
this = _gdcmswig.new_PDBHeader()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_PDBHeader
__del__ = lambda self : None;
def LoadFromDataElement(self, *args):
"""
bool
gdcm::PDBHeader::LoadFromDataElement(DataElement const &de)
Load the PDB Header from a DataElement of a DataSet.
"""
return _gdcmswig.PDBHeader_LoadFromDataElement(self, *args)
def Print(self, *args):
"""
void
gdcm::PDBHeader::Print(std::ostream &os) const
Print.
"""
return _gdcmswig.PDBHeader_Print(self, *args)
__swig_getmethods__["GetPDBInfoTag"] = lambda x: _gdcmswig.PDBHeader_GetPDBInfoTag
if _newclass:GetPDBInfoTag = staticmethod(_gdcmswig.PDBHeader_GetPDBInfoTag)
def GetPDBElementByName(self, *args):
"""
const
PDBElement& gdcm::PDBHeader::GetPDBElementByName(const char *name)
Lookup in the PDB header if a PDB element match the name 'name':
WARNING: Case Sensitive
"""
return _gdcmswig.PDBHeader_GetPDBElementByName(self, *args)
def FindPDBElementByName(self, *args):
"""
bool
gdcm::PDBHeader::FindPDBElementByName(const char *name)
Return true if the PDB element matching name is found or not.
"""
return _gdcmswig.PDBHeader_FindPDBElementByName(self, *args)
def __str__(self): return _gdcmswig.PDBHeader___str__(self)
PDBHeader_swigregister = _gdcmswig.PDBHeader_swigregister
PDBHeader_swigregister(PDBHeader)
def PDBHeader_GetPDBInfoTag():
return _gdcmswig.PDBHeader_GetPDBInfoTag()
PDBHeader_GetPDBInfoTag = _gdcmswig.PDBHeader_GetPDBInfoTag
class CSAElement(_object):
"""
Class to represent a CSA Element.
See: CSAHeader
C++ includes: gdcmCSAElement.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CSAElement, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CSAElement, name)
__repr__ = _swig_repr
def GetKey(self):
"""
unsigned int
gdcm::CSAElement::GetKey() const
Set/Get Key.
"""
return _gdcmswig.CSAElement_GetKey(self)
def SetKey(self, *args):
"""
void
gdcm::CSAElement::SetKey(unsigned int key)
"""
return _gdcmswig.CSAElement_SetKey(self, *args)
def GetName(self):
"""
const char*
gdcm::CSAElement::GetName() const
Set/Get Name.
"""
return _gdcmswig.CSAElement_GetName(self)
def SetName(self, *args):
"""
void
gdcm::CSAElement::SetName(const char *name)
"""
return _gdcmswig.CSAElement_SetName(self, *args)
def GetVM(self):
"""
const VM&
gdcm::CSAElement::GetVM() const
Set/Get VM.
"""
return _gdcmswig.CSAElement_GetVM(self)
def SetVM(self, *args):
"""
void
gdcm::CSAElement::SetVM(const VM &vm)
"""
return _gdcmswig.CSAElement_SetVM(self, *args)
def GetVR(self):
"""
VR const&
gdcm::CSAElement::GetVR() const
Set/Get VR.
"""
return _gdcmswig.CSAElement_GetVR(self)
def SetVR(self, *args):
"""
void
gdcm::CSAElement::SetVR(VR const &vr)
"""
return _gdcmswig.CSAElement_SetVR(self, *args)
def GetSyngoDT(self):
"""
unsigned int
gdcm::CSAElement::GetSyngoDT() const
Set/Get SyngoDT.
"""
return _gdcmswig.CSAElement_GetSyngoDT(self)
def SetSyngoDT(self, *args):
"""
void
gdcm::CSAElement::SetSyngoDT(unsigned int syngodt)
"""
return _gdcmswig.CSAElement_SetSyngoDT(self, *args)
def GetNoOfItems(self):
"""
unsigned int
gdcm::CSAElement::GetNoOfItems() const
Set/Get NoOfItems.
"""
return _gdcmswig.CSAElement_GetNoOfItems(self)
def SetNoOfItems(self, *args):
"""
void
gdcm::CSAElement::SetNoOfItems(unsigned int items)
"""
return _gdcmswig.CSAElement_SetNoOfItems(self, *args)
def GetValue(self, *args):
"""
Value&
gdcm::CSAElement::GetValue()
"""
return _gdcmswig.CSAElement_GetValue(self, *args)
def SetValue(self, *args):
"""
void
gdcm::CSAElement::SetValue(Value const &vl)
"""
return _gdcmswig.CSAElement_SetValue(self, *args)
def IsEmpty(self):
"""
bool
gdcm::CSAElement::IsEmpty() const
Check if CSA Element is empty.
"""
return _gdcmswig.CSAElement_IsEmpty(self)
def SetByteValue(self, *args):
"""
void
gdcm::CSAElement::SetByteValue(const char *array, VL length)
Set.
"""
return _gdcmswig.CSAElement_SetByteValue(self, *args)
def GetByteValue(self):
"""
const
ByteValue* gdcm::CSAElement::GetByteValue() const
Return the Value of CSAElement as a ByteValue (if possible) WARNING:
: You need to check for NULL return value
"""
return _gdcmswig.CSAElement_GetByteValue(self)
def __init__(self, *args):
"""gdcm::CSAElement::CSAElement(const CSAElement &_val) """
this = _gdcmswig.new_CSAElement(*args)
try: self.this.append(this)
except: self.this = this
def __lt__(self, *args): return _gdcmswig.CSAElement___lt__(self, *args)
def __eq__(self, *args): return _gdcmswig.CSAElement___eq__(self, *args)
def __str__(self): return _gdcmswig.CSAElement___str__(self)
__swig_destroy__ = _gdcmswig.delete_CSAElement
__del__ = lambda self : None;
CSAElement_swigregister = _gdcmswig.CSAElement_swigregister
CSAElement_swigregister(CSAElement)
class CSAHeader(_object):
"""
Class for CSAHeader.
SIEMENS store private information in tag (0x0029,0x10,"SIEMENS CSA
HEADER") this class is meant for user wishing to access values stored
within this private attribute. There are basically two main 'format'
for this attribute : SV10/NOMAGIC and DATASET_FORMAT SV10 and NOMAGIC
are from a user prospective identical, see CSAHeader.xml for possible
name / value stored in this format. DATASET_FORMAT is in fact simply
just another DICOM dataset (implicit) with -currently unknown- value.
This can be only be printed for now.
WARNING: Everything you do with this code is at your own risk, since
decoding process was not written from specification documents.
the API of this class might change. Todo MrEvaProtocol in 29,1020
contains ^M that would be nice to get rid of on UNIX system...
See: PDBHeader External references: 5.1.3.2.4.1 MEDCOM History
Information and 5.1.4.3 CSA Non-Image Module
inhttp://tamsinfo.toshiba.com/docrequest/pdf/E.Soft_v2.0.pdf
C++ includes: gdcmCSAHeader.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CSAHeader, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CSAHeader, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::CSAHeader::CSAHeader() """
this = _gdcmswig.new_CSAHeader()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_CSAHeader
__del__ = lambda self : None;
UNKNOWN = _gdcmswig.CSAHeader_UNKNOWN
SV10 = _gdcmswig.CSAHeader_SV10
NOMAGIC = _gdcmswig.CSAHeader_NOMAGIC
DATASET_FORMAT = _gdcmswig.CSAHeader_DATASET_FORMAT
INTERFILE = _gdcmswig.CSAHeader_INTERFILE
ZEROED_OUT = _gdcmswig.CSAHeader_ZEROED_OUT
def LoadFromDataElement(self, *args):
"""
bool
gdcm::CSAHeader::LoadFromDataElement(DataElement const &de)
Decode the CSAHeader from element 'de'.
"""
return _gdcmswig.CSAHeader_LoadFromDataElement(self, *args)
def Print(self, *args):
"""
void
gdcm::CSAHeader::Print(std::ostream &os) const
Print the CSAHeader (use only if Format == SV10 or NOMAGIC).
"""
return _gdcmswig.CSAHeader_Print(self, *args)
def GetDataSet(self):
"""
const DataSet&
gdcm::CSAHeader::GetDataSet() const
Return the DataSet output (use only if Format == DATASET_FORMAT ).
"""
return _gdcmswig.CSAHeader_GetDataSet(self)
def GetInterfile(self):
"""
const char*
gdcm::CSAHeader::GetInterfile() const
Return the string output (use only if Format == Interfile).
"""
return _gdcmswig.CSAHeader_GetInterfile(self)
def GetFormat(self):
"""
CSAHeaderType
gdcm::CSAHeader::GetFormat() const
return the format of the CSAHeader SV10 and NOMAGIC are equivalent.
"""
return _gdcmswig.CSAHeader_GetFormat(self)
__swig_getmethods__["GetCSAImageHeaderInfoTag"] = lambda x: _gdcmswig.CSAHeader_GetCSAImageHeaderInfoTag
if _newclass:GetCSAImageHeaderInfoTag = staticmethod(_gdcmswig.CSAHeader_GetCSAImageHeaderInfoTag)
__swig_getmethods__["GetCSASeriesHeaderInfoTag"] = lambda x: _gdcmswig.CSAHeader_GetCSASeriesHeaderInfoTag
if _newclass:GetCSASeriesHeaderInfoTag = staticmethod(_gdcmswig.CSAHeader_GetCSASeriesHeaderInfoTag)
__swig_getmethods__["GetCSADataInfo"] = lambda x: _gdcmswig.CSAHeader_GetCSADataInfo
if _newclass:GetCSADataInfo = staticmethod(_gdcmswig.CSAHeader_GetCSADataInfo)
def GetCSAElementByName(self, *args):
"""
const
CSAElement& gdcm::CSAHeader::GetCSAElementByName(const char *name)
Return the CSAElement corresponding to name 'name' WARNING: Case
Sensitive
"""
return _gdcmswig.CSAHeader_GetCSAElementByName(self, *args)
def FindCSAElementByName(self, *args):
"""
bool
gdcm::CSAHeader::FindCSAElementByName(const char *name)
Return true if the CSA element matching 'name' is found or not
WARNING: Case Sensitive
"""
return _gdcmswig.CSAHeader_FindCSAElementByName(self, *args)
def __str__(self): return _gdcmswig.CSAHeader___str__(self)
CSAHeader_swigregister = _gdcmswig.CSAHeader_swigregister
CSAHeader_swigregister(CSAHeader)
def CSAHeader_GetCSAImageHeaderInfoTag():
return _gdcmswig.CSAHeader_GetCSAImageHeaderInfoTag()
CSAHeader_GetCSAImageHeaderInfoTag = _gdcmswig.CSAHeader_GetCSAImageHeaderInfoTag
def CSAHeader_GetCSASeriesHeaderInfoTag():
return _gdcmswig.CSAHeader_GetCSASeriesHeaderInfoTag()
CSAHeader_GetCSASeriesHeaderInfoTag = _gdcmswig.CSAHeader_GetCSASeriesHeaderInfoTag
def CSAHeader_GetCSADataInfo():
return _gdcmswig.CSAHeader_GetCSADataInfo()
CSAHeader_GetCSADataInfo = _gdcmswig.CSAHeader_GetCSADataInfo
class SequenceOfFragments(Value):
"""
Class to represent a Sequence Of Fragments.
Todo I do not enforce that Sequence of Fragments ends with a SQ end
del
C++ includes: gdcmSequenceOfFragments.h
"""
__swig_setmethods__ = {}
for _s in [Value]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SequenceOfFragments, name, value)
__swig_getmethods__ = {}
for _s in [Value]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SequenceOfFragments, name)
__repr__ = _swig_repr
def Begin(self, *args):
"""ConstIterator gdcm::SequenceOfFragments::Begin() const """
return _gdcmswig.SequenceOfFragments_Begin(self, *args)
def End(self, *args):
"""
Iterator
gdcm::SequenceOfFragments::End()
"""
return _gdcmswig.SequenceOfFragments_End(self, *args)
def __init__(self):
"""
gdcm::SequenceOfFragments::SequenceOfFragments()
constructor (UndefinedLength by default)
"""
this = _gdcmswig.new_SequenceOfFragments()
try: self.this.append(this)
except: self.this = this
def GetLength(self):
"""
VL
gdcm::SequenceOfFragments::GetLength() const
Returns the SQ length, as read from disk.
"""
return _gdcmswig.SequenceOfFragments_GetLength(self)
def SetLength(self, *args):
"""
void
gdcm::SequenceOfFragments::SetLength(VL length)
Sets the actual SQ length.
"""
return _gdcmswig.SequenceOfFragments_SetLength(self, *args)
def Clear(self):
"""
void
gdcm::SequenceOfFragments::Clear()
Clear.
"""
return _gdcmswig.SequenceOfFragments_Clear(self)
def AddFragment(self, *args):
"""
void
gdcm::SequenceOfFragments::AddFragment(Fragment const &item)
Appends a Fragment to the already added ones.
"""
return _gdcmswig.SequenceOfFragments_AddFragment(self, *args)
def ComputeByteLength(self):
"""unsigned long gdcm::SequenceOfFragments::ComputeByteLength() const """
return _gdcmswig.SequenceOfFragments_ComputeByteLength(self)
def ComputeLength(self):
"""
VL
gdcm::SequenceOfFragments::ComputeLength() const
"""
return _gdcmswig.SequenceOfFragments_ComputeLength(self)
def GetBuffer(self, *args):
"""
bool
gdcm::SequenceOfFragments::GetBuffer(char *buffer, unsigned long
length) const
"""
return _gdcmswig.SequenceOfFragments_GetBuffer(self, *args)
def GetFragBuffer(self, *args):
"""
bool
gdcm::SequenceOfFragments::GetFragBuffer(unsigned int fragNb, char
*buffer, unsigned long &length) const
"""
return _gdcmswig.SequenceOfFragments_GetFragBuffer(self, *args)
def GetNumberOfFragments(self):
"""SizeType gdcm::SequenceOfFragments::GetNumberOfFragments() const """
return _gdcmswig.SequenceOfFragments_GetNumberOfFragments(self)
def GetFragment(self, *args):
"""
const
Fragment& gdcm::SequenceOfFragments::GetFragment(SizeType num) const
"""
return _gdcmswig.SequenceOfFragments_GetFragment(self, *args)
def WriteBuffer(self, *args):
"""
bool
gdcm::SequenceOfFragments::WriteBuffer(std::ostream &os) const
"""
return _gdcmswig.SequenceOfFragments_WriteBuffer(self, *args)
def GetTable(self, *args):
"""BasicOffsetTable& gdcm::SequenceOfFragments::GetTable() """
return _gdcmswig.SequenceOfFragments_GetTable(self, *args)
__swig_getmethods__["New"] = lambda x: _gdcmswig.SequenceOfFragments_New
if _newclass:New = staticmethod(_gdcmswig.SequenceOfFragments_New)
def Print(self, *args):
"""
void
gdcm::SequenceOfFragments::Print(std::ostream &os) const
"""
return _gdcmswig.SequenceOfFragments_Print(self, *args)
def __eq__(self, *args): return _gdcmswig.SequenceOfFragments___eq__(self, *args)
def __str__(self): return _gdcmswig.SequenceOfFragments___str__(self)
__swig_destroy__ = _gdcmswig.delete_SequenceOfFragments
__del__ = lambda self : None;
SequenceOfFragments_swigregister = _gdcmswig.SequenceOfFragments_swigregister
SequenceOfFragments_swigregister(SequenceOfFragments)
def SequenceOfFragments_New():
return _gdcmswig.SequenceOfFragments_New()
SequenceOfFragments_New = _gdcmswig.SequenceOfFragments_New
class BasicOffsetTable(Fragment):
"""
Class to represent a BasicOffsetTable.
C++ includes: gdcmBasicOffsetTable.h
"""
__swig_setmethods__ = {}
for _s in [Fragment]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, BasicOffsetTable, name, value)
__swig_getmethods__ = {}
for _s in [Fragment]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, BasicOffsetTable, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::BasicOffsetTable::BasicOffsetTable() """
this = _gdcmswig.new_BasicOffsetTable()
try: self.this.append(this)
except: self.this = this
def __str__(self): return _gdcmswig.BasicOffsetTable___str__(self)
__swig_destroy__ = _gdcmswig.delete_BasicOffsetTable
__del__ = lambda self : None;
BasicOffsetTable_swigregister = _gdcmswig.BasicOffsetTable_swigregister
BasicOffsetTable_swigregister(BasicOffsetTable)
class FileSet(_object):
"""
File-set: A File-set is a collection of DICOM Files (and possibly non-
DICOM Files) that share a common naming space within which File IDs
are unique.
C++ includes: gdcmFileSet.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, FileSet, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, FileSet, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::FileSet::FileSet() """
this = _gdcmswig.new_FileSet()
try: self.this.append(this)
except: self.this = this
def AddFile(self, *args):
"""
bool
gdcm::FileSet::AddFile(const char *filename)
Add a file 'filename' to the list of files. Return true on success,
false in case filename could not be found on system.
"""
return _gdcmswig.FileSet_AddFile(self, *args)
def SetFiles(self, *args):
"""
void
gdcm::FileSet::SetFiles(FilesType const &files)
"""
return _gdcmswig.FileSet_SetFiles(self, *args)
def GetFiles(self):
"""
FilesType const&
gdcm::FileSet::GetFiles() const
"""
return _gdcmswig.FileSet_GetFiles(self)
def __str__(self): return _gdcmswig.FileSet___str__(self)
__swig_destroy__ = _gdcmswig.delete_FileSet
__del__ = lambda self : None;
FileSet_swigregister = _gdcmswig.FileSet_swigregister
FileSet_swigregister(FileSet)
class Global(_object):
"""
Global.
Global should be included in any translation unit that will use Dict
or that implements the singleton pattern. It makes sure that the Dict
singleton is created before and destroyed after all other singletons
in GDCM.
C++ includes: gdcmGlobal.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Global, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Global, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::Global::Global()
"""
this = _gdcmswig.new_Global()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Global
__del__ = lambda self : None;
def GetDicts(self, *args):
"""
Dicts const&
gdcm::Global::GetDicts() const
retrieve the default/internal dicts (Part 6) This dict is filled up at
load time
"""
return _gdcmswig.Global_GetDicts(self, *args)
def GetDefs(self):
"""
Defs const&
gdcm::Global::GetDefs() const
retrieve the default/internal (Part 3) You need to explicitely call
LoadResourcesFiles before
"""
return _gdcmswig.Global_GetDefs(self)
__swig_getmethods__["GetInstance"] = lambda x: _gdcmswig.Global_GetInstance
if _newclass:GetInstance = staticmethod(_gdcmswig.Global_GetInstance)
def LoadResourcesFiles(self):
"""
bool
gdcm::Global::LoadResourcesFiles()
Load all internal XML files, ressource path need to have been set
before calling this member function (see Append/Prepend members func)
WARNING: not thread safe !
"""
return _gdcmswig.Global_LoadResourcesFiles(self)
def Append(self, *args):
"""
bool
gdcm::Global::Append(const char *path)
Append path at the end of the path list WARNING: not thread safe !
"""
return _gdcmswig.Global_Append(self, *args)
def Prepend(self, *args):
"""
bool
gdcm::Global::Prepend(const char *path)
Prepend path at the begining of the path list WARNING: not thread
safe !
"""
return _gdcmswig.Global_Prepend(self, *args)
def __str__(self): return _gdcmswig.Global___str__(self)
Global_swigregister = _gdcmswig.Global_swigregister
Global_swigregister(Global)
def Global_GetInstance():
return _gdcmswig.Global_GetInstance()
Global_GetInstance = _gdcmswig.Global_GetInstance
class DictEntry(_object):
"""
Class to represent an Entry in the Dict Does not really exist within
the DICOM definition, just a way to minimize storage and have a
mapping from gdcm::Tag to the needed information.
bla TODO FIXME: Need a PublicDictEntry...indeed DictEntry has a notion
of retired which does not exist in PrivateDictEntry...
See: gdcm::Dict
C++ includes: gdcmDictEntry.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DictEntry, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DictEntry, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
gdcm::DictEntry::DictEntry(const char *name="", const char
*keyword="", VR const &vr=VR::INVALID, VM const &vm=VM::VM0, bool
ret=false)
"""
this = _gdcmswig.new_DictEntry(*args)
try: self.this.append(this)
except: self.this = this
def GetVR(self):
"""
const VR&
gdcm::DictEntry::GetVR() const
Set/Get VR.
"""
return _gdcmswig.DictEntry_GetVR(self)
def SetVR(self, *args):
"""
void
gdcm::DictEntry::SetVR(const VR &vr)
"""
return _gdcmswig.DictEntry_SetVR(self, *args)
def GetVM(self):
"""
const VM&
gdcm::DictEntry::GetVM() const
Set/Get VM.
"""
return _gdcmswig.DictEntry_GetVM(self)
def SetVM(self, *args):
"""
void
gdcm::DictEntry::SetVM(VM const &vm)
"""
return _gdcmswig.DictEntry_SetVM(self, *args)
def GetName(self):
"""
const char*
gdcm::DictEntry::GetName() const
Set/Get Name.
"""
return _gdcmswig.DictEntry_GetName(self)
def SetName(self, *args):
"""
void
gdcm::DictEntry::SetName(const char *name)
"""
return _gdcmswig.DictEntry_SetName(self, *args)
def GetKeyword(self):
"""
const char*
gdcm::DictEntry::GetKeyword() const
same as GetName but without spaces...
"""
return _gdcmswig.DictEntry_GetKeyword(self)
def SetKeyword(self, *args):
"""
void
gdcm::DictEntry::SetKeyword(const char *keyword)
"""
return _gdcmswig.DictEntry_SetKeyword(self, *args)
def GetRetired(self):
"""
bool
gdcm::DictEntry::GetRetired() const
Set/Get Retired flag.
"""
return _gdcmswig.DictEntry_GetRetired(self)
def SetRetired(self, *args):
"""
void
gdcm::DictEntry::SetRetired(bool retired)
"""
return _gdcmswig.DictEntry_SetRetired(self, *args)
def SetGroupXX(self, *args):
"""
void
gdcm::DictEntry::SetGroupXX(bool v)
Set whether element is shared in multiple groups (Curve/Overlay
typically).
"""
return _gdcmswig.DictEntry_SetGroupXX(self, *args)
def SetElementXX(self, *args):
"""
void
gdcm::DictEntry::SetElementXX(bool v)
Set whether element is shared in multiple elements (Source Image IDs
typically).
"""
return _gdcmswig.DictEntry_SetElementXX(self, *args)
def IsUnique(self):
"""
bool
gdcm::DictEntry::IsUnique() const
Return whether the name of the DataElement can be considered to be
unique. As of 2008 all elements name were unique (except the
expclitely 'XX' ones)
"""
return _gdcmswig.DictEntry_IsUnique(self)
def __str__(self): return _gdcmswig.DictEntry___str__(self)
__swig_destroy__ = _gdcmswig.delete_DictEntry
__del__ = lambda self : None;
DictEntry_swigregister = _gdcmswig.DictEntry_swigregister
DictEntry_swigregister(DictEntry)
cvar = _gdcmswig.cvar
GlobalInstance = cvar.GlobalInstance
class CSAHeaderDictEntry(_object):
"""
Class to represent an Entry in the Dict Does not really exist within
the DICOM definition, just a way to minimize storage and have a
mapping from gdcm::Tag to the needed information.
bla TODO FIXME: Need a PublicCSAHeaderDictEntry...indeed
CSAHeaderDictEntry has a notion of retired which does not exist in
PrivateCSAHeaderDictEntry...
See: gdcm::Dict
C++ includes: gdcmCSAHeaderDictEntry.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CSAHeaderDictEntry, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CSAHeaderDictEntry, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
gdcm::CSAHeaderDictEntry::CSAHeaderDictEntry(const char *name="", VR
const &vr=VR::INVALID, VM const &vm=VM::VM0, const char *desc="")
"""
this = _gdcmswig.new_CSAHeaderDictEntry(*args)
try: self.this.append(this)
except: self.this = this
def GetVR(self):
"""
const VR&
gdcm::CSAHeaderDictEntry::GetVR() const
Set/Get VR.
"""
return _gdcmswig.CSAHeaderDictEntry_GetVR(self)
def SetVR(self, *args):
"""
void
gdcm::CSAHeaderDictEntry::SetVR(const VR &vr)
"""
return _gdcmswig.CSAHeaderDictEntry_SetVR(self, *args)
def GetVM(self):
"""
const VM&
gdcm::CSAHeaderDictEntry::GetVM() const
Set/Get VM.
"""
return _gdcmswig.CSAHeaderDictEntry_GetVM(self)
def SetVM(self, *args):
"""
void
gdcm::CSAHeaderDictEntry::SetVM(VM const &vm)
"""
return _gdcmswig.CSAHeaderDictEntry_SetVM(self, *args)
def GetName(self):
"""
const char*
gdcm::CSAHeaderDictEntry::GetName() const
Set/Get Name.
"""
return _gdcmswig.CSAHeaderDictEntry_GetName(self)
def SetName(self, *args):
"""
void
gdcm::CSAHeaderDictEntry::SetName(const char *name)
"""
return _gdcmswig.CSAHeaderDictEntry_SetName(self, *args)
def GetDescription(self):
"""
const char* gdcm::CSAHeaderDictEntry::GetDescription() const
Set/Get Description.
"""
return _gdcmswig.CSAHeaderDictEntry_GetDescription(self)
def SetDescription(self, *args):
"""
void
gdcm::CSAHeaderDictEntry::SetDescription(const char *desc)
"""
return _gdcmswig.CSAHeaderDictEntry_SetDescription(self, *args)
def __lt__(self, *args): return _gdcmswig.CSAHeaderDictEntry___lt__(self, *args)
def __str__(self): return _gdcmswig.CSAHeaderDictEntry___str__(self)
__swig_destroy__ = _gdcmswig.delete_CSAHeaderDictEntry
__del__ = lambda self : None;
CSAHeaderDictEntry_swigregister = _gdcmswig.CSAHeaderDictEntry_swigregister
CSAHeaderDictEntry_swigregister(CSAHeaderDictEntry)
class DictEntryTagPairType(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DictEntryTagPairType, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DictEntryTagPairType, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _gdcmswig.new_DictEntryTagPairType(*args)
try: self.this.append(this)
except: self.this = this
__swig_setmethods__["first"] = _gdcmswig.DictEntryTagPairType_first_set
__swig_getmethods__["first"] = _gdcmswig.DictEntryTagPairType_first_get
if _newclass:first = _swig_property(_gdcmswig.DictEntryTagPairType_first_get, _gdcmswig.DictEntryTagPairType_first_set)
__swig_setmethods__["second"] = _gdcmswig.DictEntryTagPairType_second_set
__swig_getmethods__["second"] = _gdcmswig.DictEntryTagPairType_second_get
if _newclass:second = _swig_property(_gdcmswig.DictEntryTagPairType_second_get, _gdcmswig.DictEntryTagPairType_second_set)
def __len__(self): return 2
def __repr__(self): return str((self.first, self.second))
def __getitem__(self, index):
if not (index % 2):
return self.first
else:
return self.second
def __setitem__(self, index, val):
if not (index % 2):
self.first = val
else:
self.second = val
__swig_destroy__ = _gdcmswig.delete_DictEntryTagPairType
__del__ = lambda self : None;
DictEntryTagPairType_swigregister = _gdcmswig.DictEntryTagPairType_swigregister
DictEntryTagPairType_swigregister(DictEntryTagPairType)
class Dict(_object):
"""
Class to represent a map of DictEntry.
bla TODO FIXME: For Element == 0x0 need to return Name = Group Length
ValueRepresentation = UL ValueMultiplicity = 1
C++ includes: gdcmDict.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Dict, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Dict, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Dict::Dict() """
this = _gdcmswig.new_Dict()
try: self.this.append(this)
except: self.this = this
def Begin(self):
"""
ConstIterator
gdcm::Dict::Begin() const
"""
return _gdcmswig.Dict_Begin(self)
def End(self):
"""
ConstIterator
gdcm::Dict::End() const
"""
return _gdcmswig.Dict_End(self)
def IsEmpty(self):
"""
bool
gdcm::Dict::IsEmpty() const
"""
return _gdcmswig.Dict_IsEmpty(self)
def AddDictEntry(self, *args):
"""
void
gdcm::Dict::AddDictEntry(const Tag &tag, const DictEntry &de)
"""
return _gdcmswig.Dict_AddDictEntry(self, *args)
def GetDictEntry(self, *args):
"""
const DictEntry&
gdcm::Dict::GetDictEntry(const Tag &tag) const
"""
return _gdcmswig.Dict_GetDictEntry(self, *args)
def GetKeywordFromTag(self, *args):
"""
const char*
gdcm::Dict::GetKeywordFromTag(Tag const &tag) const
Function to return the Keyword from a Tag.
"""
return _gdcmswig.Dict_GetKeywordFromTag(self, *args)
def GetDictEntryByName(self, *args):
"""
const
DictEntry& gdcm::Dict::GetDictEntryByName(const char *name, Tag &tag)
const
Inefficient way of looking up tag by name. Technically DICOM does not
garantee uniqueness (and Curve / Overlay are there to prove it). But
most of the time name is in fact uniq and can be uniquely link to a
tag
"""
return _gdcmswig.Dict_GetDictEntryByName(self, *args)
def __str__(self): return _gdcmswig.Dict___str__(self)
def GetDictEntryByKeyword(self, *args):
"""
const
DictEntry& gdcm::Dict::GetDictEntryByKeyword(const char *keyword, Tag
&tag) const
Lookup DictEntry by keyword. Even if DICOM standard defines keyword as
being unique. The lookup table is built on Tag. Therefore looking up a
DictEntry by Keyword is more inefficient than looking up by Tag.
"""
return _gdcmswig.Dict_GetDictEntryByKeyword(self, *args)
__swig_destroy__ = _gdcmswig.delete_Dict
__del__ = lambda self : None;
Dict_swigregister = _gdcmswig.Dict_swigregister
Dict_swigregister(Dict)
class PrivateDict(_object):
"""
Private Dict.
C++ includes: gdcmDict.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PrivateDict, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PrivateDict, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::PrivateDict::PrivateDict() """
this = _gdcmswig.new_PrivateDict()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_PrivateDict
__del__ = lambda self : None;
def AddDictEntry(self, *args):
"""
void
gdcm::PrivateDict::AddDictEntry(const PrivateTag &tag, const DictEntry
&de)
"""
return _gdcmswig.PrivateDict_AddDictEntry(self, *args)
def RemoveDictEntry(self, *args):
"""
bool
gdcm::PrivateDict::RemoveDictEntry(const PrivateTag &tag)
Remove entry 'tag'. Return true on success (element was found and
remove). return false if element was not found.
"""
return _gdcmswig.PrivateDict_RemoveDictEntry(self, *args)
def FindDictEntry(self, *args):
"""
bool
gdcm::PrivateDict::FindDictEntry(const PrivateTag &tag) const
"""
return _gdcmswig.PrivateDict_FindDictEntry(self, *args)
def GetDictEntry(self, *args):
"""
const
DictEntry& gdcm::PrivateDict::GetDictEntry(const PrivateTag &tag)
const
"""
return _gdcmswig.PrivateDict_GetDictEntry(self, *args)
def PrintXML(self):
"""
void
gdcm::PrivateDict::PrintXML() const
"""
return _gdcmswig.PrivateDict_PrintXML(self)
def IsEmpty(self):
"""
bool
gdcm::PrivateDict::IsEmpty() const
"""
return _gdcmswig.PrivateDict_IsEmpty(self)
PrivateDict_swigregister = _gdcmswig.PrivateDict_swigregister
PrivateDict_swigregister(PrivateDict)
class CSAHeaderDictException(_object):
"""
C++ includes:
gdcmCSAHeaderDict.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CSAHeaderDictException, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CSAHeaderDictException, name)
__repr__ = _swig_repr
def __init__(self):
this = _gdcmswig.new_CSAHeaderDictException()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_CSAHeaderDictException
__del__ = lambda self : None;
CSAHeaderDictException_swigregister = _gdcmswig.CSAHeaderDictException_swigregister
CSAHeaderDictException_swigregister(CSAHeaderDictException)
class CSAHeaderDict(_object):
"""
Class to represent a map of CSAHeaderDictEntry.
C++ includes: gdcmCSAHeaderDict.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CSAHeaderDict, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CSAHeaderDict, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::CSAHeaderDict::CSAHeaderDict() """
this = _gdcmswig.new_CSAHeaderDict()
try: self.this.append(this)
except: self.this = this
def Begin(self):
"""
ConstIterator
gdcm::CSAHeaderDict::Begin() const
"""
return _gdcmswig.CSAHeaderDict_Begin(self)
def End(self):
"""
ConstIterator
gdcm::CSAHeaderDict::End() const
"""
return _gdcmswig.CSAHeaderDict_End(self)
def IsEmpty(self):
"""
bool
gdcm::CSAHeaderDict::IsEmpty() const
"""
return _gdcmswig.CSAHeaderDict_IsEmpty(self)
def AddCSAHeaderDictEntry(self, *args):
"""
void gdcm::CSAHeaderDict::AddCSAHeaderDictEntry(const
CSAHeaderDictEntry &de)
"""
return _gdcmswig.CSAHeaderDict_AddCSAHeaderDictEntry(self, *args)
def GetCSAHeaderDictEntry(self, *args):
"""
const CSAHeaderDictEntry&
gdcm::CSAHeaderDict::GetCSAHeaderDictEntry(const char *name) const
"""
return _gdcmswig.CSAHeaderDict_GetCSAHeaderDictEntry(self, *args)
__swig_destroy__ = _gdcmswig.delete_CSAHeaderDict
__del__ = lambda self : None;
CSAHeaderDict_swigregister = _gdcmswig.CSAHeaderDict_swigregister
CSAHeaderDict_swigregister(CSAHeaderDict)
class Dicts(_object):
"""
Class to manipulate the sum of knowledge (all the dict user load).
bla
C++ includes: gdcmDicts.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Dicts, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Dicts, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Dicts::Dicts() """
this = _gdcmswig.new_Dicts()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Dicts
__del__ = lambda self : None;
def GetDictEntry(self, *args):
"""
const DictEntry&
gdcm::Dicts::GetDictEntry(const Tag &tag, const char *owner=NULL)
const
works for both public and private dicts: owner is null for public dict
WARNING: owner need to be set to appropriate owner for call to work.
see
"""
return _gdcmswig.Dicts_GetDictEntry(self, *args)
def GetPublicDict(self):
"""
const Dict&
gdcm::Dicts::GetPublicDict() const
"""
return _gdcmswig.Dicts_GetPublicDict(self)
def GetPrivateDict(self, *args):
"""
const
PrivateDict& gdcm::Dicts::GetPrivateDict() const
"""
return _gdcmswig.Dicts_GetPrivateDict(self, *args)
def GetCSAHeaderDict(self):
"""
const
CSAHeaderDict& gdcm::Dicts::GetCSAHeaderDict() const
"""
return _gdcmswig.Dicts_GetCSAHeaderDict(self)
def IsEmpty(self):
"""
bool
gdcm::Dicts::IsEmpty() const
"""
return _gdcmswig.Dicts_IsEmpty(self)
def __str__(self): return _gdcmswig.Dicts___str__(self)
Dicts_swigregister = _gdcmswig.Dicts_swigregister
Dicts_swigregister(Dicts)
class TagSetType(_object):
"""
STL class.
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, TagSetType, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, TagSetType, name)
__repr__ = _swig_repr
def iterator(self):
"""
STL iterator class.
"""
return _gdcmswig.TagSetType_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _gdcmswig.TagSetType___nonzero__(self)
def __bool__(self): return _gdcmswig.TagSetType___bool__(self)
def __len__(self): return _gdcmswig.TagSetType___len__(self)
def append(self, *args): return _gdcmswig.TagSetType_append(self, *args)
def __contains__(self, *args): return _gdcmswig.TagSetType___contains__(self, *args)
def __getitem__(self, *args): return _gdcmswig.TagSetType___getitem__(self, *args)
def add(self, *args): return _gdcmswig.TagSetType_add(self, *args)
def discard(self, *args): return _gdcmswig.TagSetType_discard(self, *args)
def __init__(self, *args):
this = _gdcmswig.new_TagSetType(*args)
try: self.this.append(this)
except: self.this = this
def empty(self): return _gdcmswig.TagSetType_empty(self)
def size(self): return _gdcmswig.TagSetType_size(self)
def clear(self): return _gdcmswig.TagSetType_clear(self)
def swap(self, *args): return _gdcmswig.TagSetType_swap(self, *args)
def count(self, *args): return _gdcmswig.TagSetType_count(self, *args)
def begin(self): return _gdcmswig.TagSetType_begin(self)
def end(self): return _gdcmswig.TagSetType_end(self)
def rbegin(self): return _gdcmswig.TagSetType_rbegin(self)
def rend(self): return _gdcmswig.TagSetType_rend(self)
def erase(self, *args): return _gdcmswig.TagSetType_erase(self, *args)
def find(self, *args): return _gdcmswig.TagSetType_find(self, *args)
def lower_bound(self, *args): return _gdcmswig.TagSetType_lower_bound(self, *args)
def upper_bound(self, *args): return _gdcmswig.TagSetType_upper_bound(self, *args)
def equal_range(self, *args): return _gdcmswig.TagSetType_equal_range(self, *args)
def insert(self, *args): return _gdcmswig.TagSetType_insert(self, *args)
__swig_destroy__ = _gdcmswig.delete_TagSetType
__del__ = lambda self : None;
TagSetType_swigregister = _gdcmswig.TagSetType_swigregister
TagSetType_swigregister(TagSetType)
class Reader(_object):
"""
Reader ala DOM (Document Object Model).
This class is a non-validating reader, it will only performs well-
formedness check only, and to some extent catch known error (non well-
formed document).
Detailled description here
A DataSet DOES NOT contains group 0x0002 (see FileMetaInformation)
This is really a DataSet reader. This will not make sure the dataset
conform to any IOD at all. This is a completely different step. The
reasoning was that user could control the IOD there lib would handle
and thus we would not be able to read a DataSet if the IOD was not
found Instead we separate the reading from the validation.
From GDCM1.x. Users will realize that one feature is missing from this
DOM implementation. In GDCM 1.x user used to be able to control the
size of the Value to be read. By default it was 0xfff. The main author
of GDCM2 thought this was too dangerous and harmful and therefore this
feature did not make it into GDCM2
WARNING: GDCM will not produce warning for unorder (non-alphabetical
order).
See: Writer FileMetaInformation DataSet File
C++ includes: gdcmReader.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Reader, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Reader, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::Reader::Reader()
"""
this = _gdcmswig.new_Reader()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Reader
__del__ = lambda self : None;
def Read(self):
"""
virtual bool
gdcm::Reader::Read()
Main function to read a file.
"""
return _gdcmswig.Reader_Read(self)
def SetFileName(self, *args):
"""
void
gdcm::Reader::SetFileName(const char *filename_native)
Set the filename to open. This will create a std::ifstream internally
See SetStream if you are dealing with different std::istream object
"""
return _gdcmswig.Reader_SetFileName(self, *args)
def GetFile(self, *args):
"""
File&
gdcm::Reader::GetFile()
Set/Get File.
"""
return _gdcmswig.Reader_GetFile(self, *args)
def SetFile(self, *args):
"""
void
gdcm::Reader::SetFile(File &file)
Set/Get File.
"""
return _gdcmswig.Reader_SetFile(self, *args)
def ReadUpToTag(self, *args):
"""
bool
gdcm::Reader::ReadUpToTag(const Tag &tag, std::set< Tag > const
&skiptags=std::set< Tag >())
Will read only up to Tag
Parameters:
-----------
tag: and skipping any tag specified in
skiptags:
"""
return _gdcmswig.Reader_ReadUpToTag(self, *args)
def ReadSelectedTags(self, *args):
"""
bool
gdcm::Reader::ReadSelectedTags(std::set< Tag > const &tags)
Will only read the specified selected tags.
"""
return _gdcmswig.Reader_ReadSelectedTags(self, *args)
def CanRead(self):
"""
bool
gdcm::Reader::CanRead() const
Test whether this is a DICOM file WARNING: need to call either
SetFileName or SetStream first
"""
return _gdcmswig.Reader_CanRead(self)
Reader_swigregister = _gdcmswig.Reader_swigregister
Reader_swigregister(Reader)
class PixmapReader(Reader):
"""
PixmapReader.
its role is to convert the DICOM DataSet into a gdcm::Pixmap
representation By default it is also loading the lookup table and
overlay when found as they impact the rendering or the image See PS
3.3-2008, Table C.7-11b IMAGE PIXEL MACRO ATTRIBUTES for the list of
attribute that belong to what gdcm calls a 'Pixmap'
WARNING: the API ReadUpToTag and ReadSelectedTag
See: Pixmap
C++ includes: gdcmPixmapReader.h
"""
__swig_setmethods__ = {}
for _s in [Reader]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, PixmapReader, name, value)
__swig_getmethods__ = {}
for _s in [Reader]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, PixmapReader, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::PixmapReader::PixmapReader() """
this = _gdcmswig.new_PixmapReader()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_PixmapReader
__del__ = lambda self : None;
def Read(self):
"""
virtual bool
gdcm::PixmapReader::Read()
Read the DICOM image. There are two reason for failure: 1. The input
filename is not DICOM 2. The input DICOM file does not contains an
Pixmap.
"""
return _gdcmswig.PixmapReader_Read(self)
def GetPixmap(self, *args):
"""
Pixmap&
gdcm::PixmapReader::GetPixmap()
"""
return _gdcmswig.PixmapReader_GetPixmap(self, *args)
PixmapReader_swigregister = _gdcmswig.PixmapReader_swigregister
PixmapReader_swigregister(PixmapReader)
class ImageReader(PixmapReader):
"""
ImageReader.
its role is to convert the DICOM DataSet into a gdcm::Image
representation Image is different from Pixmap has it has a position
and a direction in Space.
See: Image
C++ includes: gdcmImageReader.h
"""
__swig_setmethods__ = {}
for _s in [PixmapReader]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ImageReader, name, value)
__swig_getmethods__ = {}
for _s in [PixmapReader]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ImageReader, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::ImageReader::ImageReader() """
this = _gdcmswig.new_ImageReader()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ImageReader
__del__ = lambda self : None;
def Read(self):
"""
virtual bool
gdcm::ImageReader::Read()
Read the DICOM image. There are two reason for failure: 1. The input
filename is not DICOM 2. The input DICOM file does not contains an
Image.
"""
return _gdcmswig.ImageReader_Read(self)
def GetImage(self, *args):
"""
Image&
gdcm::ImageReader::GetImage()
"""
return _gdcmswig.ImageReader_GetImage(self, *args)
ImageReader_swigregister = _gdcmswig.ImageReader_swigregister
ImageReader_swigregister(ImageReader)
class Writer(_object):
"""
Writer ala DOM (Document Object Model) This class is a non-validating
writer, it will only performs well- formedness check only.
Detailled description here To avoid GDCM being yet another broken
DICOM lib we try to be user level and avoid writing illegal stuff (odd
length, non-zero value for Item start/end length ...) Therefore you
cannot (well unless you are really smart) write DICOM with even length
tag. All the checks are consider basics: Correct Meta Information
Header (see gdcm::FileMetaInformation)
Zero value for Item Length (0xfffe, 0xe00d/0xe0dd)
Even length for any elements
Alphabetical order for elements (garanteed by design of internals)
32bits VR will be rewritten with 00
WARNING: gdcm::Writer cannot write a DataSet if no SOP Instance UID
(0008,0018) is found, unless a DICOMDIR is being written out
See: Reader DataSet File
C++ includes: gdcmWriter.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Writer, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Writer, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::Writer::Writer()
"""
this = _gdcmswig.new_Writer()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Writer
__del__ = lambda self : None;
def Write(self):
"""
virtual bool
gdcm::Writer::Write()
Main function to tell the writer to write.
"""
return _gdcmswig.Writer_Write(self)
def SetFileName(self, *args):
"""
void
gdcm::Writer::SetFileName(const char *filename_native)
Set the filename of DICOM file to write:
"""
return _gdcmswig.Writer_SetFileName(self, *args)
def SetStream(self, *args):
"""
void
gdcm::Writer::SetStream(std::ostream &output_stream)
Set user ostream buffer.
"""
return _gdcmswig.Writer_SetStream(self, *args)
def SetFile(self, *args):
"""
void
gdcm::Writer::SetFile(const File &f)
Set/Get the DICOM file ( DataSet + Header).
"""
return _gdcmswig.Writer_SetFile(self, *args)
def GetFile(self):
"""
File&
gdcm::Writer::GetFile()
"""
return _gdcmswig.Writer_GetFile(self)
def SetCheckFileMetaInformation(self, *args):
"""
void gdcm::Writer::SetCheckFileMetaInformation(bool b)
Undocumented function, do not use (= leave default).
"""
return _gdcmswig.Writer_SetCheckFileMetaInformation(self, *args)
def CheckFileMetaInformationOff(self):
"""void gdcm::Writer::CheckFileMetaInformationOff() """
return _gdcmswig.Writer_CheckFileMetaInformationOff(self)
def CheckFileMetaInformationOn(self):
"""
void
gdcm::Writer::CheckFileMetaInformationOn()
"""
return _gdcmswig.Writer_CheckFileMetaInformationOn(self)
Writer_swigregister = _gdcmswig.Writer_swigregister
Writer_swigregister(Writer)
class PixmapWriter(Writer):
"""
PixmapWriter This class will takes two inputs: 1. The DICOM DataSet 2.
The Image input It will override any info from the Image over the
DataSet.
For instance when one read in a lossy compressed image and write out
as unencapsulated (ie implicitely lossless) then some attribute are
definitely needed to mark this dataset as Lossy (typically 0028,2114)
C++ includes: gdcmPixmapWriter.h
"""
__swig_setmethods__ = {}
for _s in [Writer]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, PixmapWriter, name, value)
__swig_getmethods__ = {}
for _s in [Writer]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, PixmapWriter, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::PixmapWriter::PixmapWriter() """
this = _gdcmswig.new_PixmapWriter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_PixmapWriter
__del__ = lambda self : None;
def GetPixmap(self, *args):
"""
const Pixmap&
gdcm::PixmapWriter::GetPixmap() const
"""
return _gdcmswig.PixmapWriter_GetPixmap(self, *args)
def SetPixmap(self, *args):
"""
void
gdcm::PixmapWriter::SetPixmap(Pixmap const &img)
"""
return _gdcmswig.PixmapWriter_SetPixmap(self, *args)
def GetImage(self, *args):
"""
virtual Pixmap&
gdcm::PixmapWriter::GetImage()
"""
return _gdcmswig.PixmapWriter_GetImage(self, *args)
def SetImage(self, *args):
"""
virtual void
gdcm::PixmapWriter::SetImage(Pixmap const &img)
"""
return _gdcmswig.PixmapWriter_SetImage(self, *args)
def Write(self):
"""
bool
gdcm::PixmapWriter::Write()
Write.
"""
return _gdcmswig.PixmapWriter_Write(self)
PixmapWriter_swigregister = _gdcmswig.PixmapWriter_swigregister
PixmapWriter_swigregister(PixmapWriter)
class ImageWriter(PixmapWriter):
"""
ImageWriter.
C++ includes: gdcmImageWriter.h
"""
__swig_setmethods__ = {}
for _s in [PixmapWriter]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ImageWriter, name, value)
__swig_getmethods__ = {}
for _s in [PixmapWriter]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ImageWriter, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::ImageWriter::ImageWriter() """
this = _gdcmswig.new_ImageWriter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ImageWriter
__del__ = lambda self : None;
def GetImage(self, *args):
"""
const Image&
gdcm::ImageWriter::GetImage() const
Set/Get Image to be written It will overwrite anything Image infos
found in DataSet (see parent class to see how to pass dataset)
"""
return _gdcmswig.ImageWriter_GetImage(self, *args)
def Write(self):
"""
bool
gdcm::ImageWriter::Write()
Write.
"""
return _gdcmswig.ImageWriter_Write(self)
ImageWriter_swigregister = _gdcmswig.ImageWriter_swigregister
ImageWriter_swigregister(ImageWriter)
class PairString(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PairString, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PairString, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _gdcmswig.new_PairString(*args)
try: self.this.append(this)
except: self.this = this
__swig_setmethods__["first"] = _gdcmswig.PairString_first_set
__swig_getmethods__["first"] = _gdcmswig.PairString_first_get
if _newclass:first = _swig_property(_gdcmswig.PairString_first_get, _gdcmswig.PairString_first_set)
__swig_setmethods__["second"] = _gdcmswig.PairString_second_set
__swig_getmethods__["second"] = _gdcmswig.PairString_second_get
if _newclass:second = _swig_property(_gdcmswig.PairString_second_get, _gdcmswig.PairString_second_set)
def __len__(self): return 2
def __repr__(self): return str((self.first, self.second))
def __getitem__(self, index):
if not (index % 2):
return self.first
else:
return self.second
def __setitem__(self, index, val):
if not (index % 2):
self.first = val
else:
self.second = val
__swig_destroy__ = _gdcmswig.delete_PairString
__del__ = lambda self : None;
PairString_swigregister = _gdcmswig.PairString_swigregister
PairString_swigregister(PairString)
class StringFilter(_object):
"""
StringFilter StringFilter is the class that make gdcm2.x looks more
like gdcm1 and transform the binary blob contained in a DataElement
into a string, typically this is a nice feature to have for wrapped
language.
C++ includes: gdcmStringFilter.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, StringFilter, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, StringFilter, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::StringFilter::StringFilter() """
this = _gdcmswig.new_StringFilter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_StringFilter
__del__ = lambda self : None;
def UseDictAlways(self, *args):
"""
void
gdcm::StringFilter::UseDictAlways(bool)
"""
return _gdcmswig.StringFilter_UseDictAlways(self, *args)
def SetDicts(self, *args):
"""
void
gdcm::StringFilter::SetDicts(const Dicts &dicts)
Allow user to pass in there own dicts.
"""
return _gdcmswig.StringFilter_SetDicts(self, *args)
def ToString(self, *args):
"""
std::string
gdcm::StringFilter::ToString(const Tag &t) const
Convert to string the ByteValue contained in a DataElement.
"""
return _gdcmswig.StringFilter_ToString(self, *args)
def ToStringPair(self, *args):
"""
std::pair<std::string, std::string>
gdcm::StringFilter::ToStringPair(const Tag &t) const
Convert to string the ByteValue contained in a DataElement the
returned elements are: pair.first : the name as found in the
dictionary of DataElement pari.second : the value encoded into a
string (US,UL...) are properly converted
"""
return _gdcmswig.StringFilter_ToStringPair(self, *args)
def FromString(self, *args):
"""
std::string
gdcm::StringFilter::FromString(const Tag &t, const char *value, VL
const &vl)
DEPRECATED: NEVER USE IT.
"""
return _gdcmswig.StringFilter_FromString(self, *args)
def SetFile(self, *args):
"""
void
gdcm::StringFilter::SetFile(const File &f)
Set/Get File.
"""
return _gdcmswig.StringFilter_SetFile(self, *args)
def GetFile(self, *args):
"""
const File&
gdcm::StringFilter::GetFile() const
"""
return _gdcmswig.StringFilter_GetFile(self, *args)
def ExecuteQuery(self, *args):
"""
bool
gdcm::StringFilter::ExecuteQuery(std::string const &query, std::string
&value) const
Execute the XPATH query to find a value (as string) return false when
attribute is not found (or an error in the XPATH query) You need to
make sure that your XPATH query is syntatically correct
"""
return _gdcmswig.StringFilter_ExecuteQuery(self, *args)
StringFilter_swigregister = _gdcmswig.StringFilter_swigregister
StringFilter_swigregister(StringFilter)
class UIDGenerator(_object):
"""
Class for generating unique UID.
bla Usage: When constructing a Series or Study UID, user *has* to keep
around the UID, otherwise the UID Generator will simply forget the
value and create a new UID.
C++ includes: gdcmUIDGenerator.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, UIDGenerator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, UIDGenerator, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::UIDGenerator::UIDGenerator()
By default the root of a UID is a GDCM Root...
"""
this = _gdcmswig.new_UIDGenerator()
try: self.this.append(this)
except: self.this = this
__swig_getmethods__["SetRoot"] = lambda x: _gdcmswig.UIDGenerator_SetRoot
if _newclass:SetRoot = staticmethod(_gdcmswig.UIDGenerator_SetRoot)
__swig_getmethods__["GetRoot"] = lambda x: _gdcmswig.UIDGenerator_GetRoot
if _newclass:GetRoot = staticmethod(_gdcmswig.UIDGenerator_GetRoot)
def Generate(self):
"""
const char*
gdcm::UIDGenerator::Generate()
Internally uses a std::string, so two calls have the same pointer !
save into a std::string In summary do not write code like that: const
char *uid1 = uid.Generate(); const char *uid2 = uid.Generate(); since
uid1 == uid2
"""
return _gdcmswig.UIDGenerator_Generate(self)
__swig_getmethods__["IsValid"] = lambda x: _gdcmswig.UIDGenerator_IsValid
if _newclass:IsValid = staticmethod(_gdcmswig.UIDGenerator_IsValid)
__swig_getmethods__["GetGDCMUID"] = lambda x: _gdcmswig.UIDGenerator_GetGDCMUID
if _newclass:GetGDCMUID = staticmethod(_gdcmswig.UIDGenerator_GetGDCMUID)
__swig_destroy__ = _gdcmswig.delete_UIDGenerator
__del__ = lambda self : None;
UIDGenerator_swigregister = _gdcmswig.UIDGenerator_swigregister
UIDGenerator_swigregister(UIDGenerator)
def UIDGenerator_SetRoot(*args):
return _gdcmswig.UIDGenerator_SetRoot(*args)
UIDGenerator_SetRoot = _gdcmswig.UIDGenerator_SetRoot
def UIDGenerator_GetRoot():
return _gdcmswig.UIDGenerator_GetRoot()
UIDGenerator_GetRoot = _gdcmswig.UIDGenerator_GetRoot
def UIDGenerator_IsValid(*args):
return _gdcmswig.UIDGenerator_IsValid(*args)
UIDGenerator_IsValid = _gdcmswig.UIDGenerator_IsValid
def UIDGenerator_GetGDCMUID():
return _gdcmswig.UIDGenerator_GetGDCMUID()
UIDGenerator_GetGDCMUID = _gdcmswig.UIDGenerator_GetGDCMUID
class ValuesType(_object):
"""
STL class.
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ValuesType, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ValuesType, name)
__repr__ = _swig_repr
def iterator(self):
"""
STL iterator class.
"""
return _gdcmswig.ValuesType_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _gdcmswig.ValuesType___nonzero__(self)
def __bool__(self): return _gdcmswig.ValuesType___bool__(self)
def __len__(self): return _gdcmswig.ValuesType___len__(self)
def append(self, *args): return _gdcmswig.ValuesType_append(self, *args)
def __contains__(self, *args): return _gdcmswig.ValuesType___contains__(self, *args)
def __getitem__(self, *args): return _gdcmswig.ValuesType___getitem__(self, *args)
def add(self, *args): return _gdcmswig.ValuesType_add(self, *args)
def discard(self, *args): return _gdcmswig.ValuesType_discard(self, *args)
def __init__(self, *args):
this = _gdcmswig.new_ValuesType(*args)
try: self.this.append(this)
except: self.this = this
def empty(self): return _gdcmswig.ValuesType_empty(self)
def size(self): return _gdcmswig.ValuesType_size(self)
def clear(self): return _gdcmswig.ValuesType_clear(self)
def swap(self, *args): return _gdcmswig.ValuesType_swap(self, *args)
def count(self, *args): return _gdcmswig.ValuesType_count(self, *args)
def begin(self): return _gdcmswig.ValuesType_begin(self)
def end(self): return _gdcmswig.ValuesType_end(self)
def rbegin(self): return _gdcmswig.ValuesType_rbegin(self)
def rend(self): return _gdcmswig.ValuesType_rend(self)
def erase(self, *args): return _gdcmswig.ValuesType_erase(self, *args)
def find(self, *args): return _gdcmswig.ValuesType_find(self, *args)
def lower_bound(self, *args): return _gdcmswig.ValuesType_lower_bound(self, *args)
def upper_bound(self, *args): return _gdcmswig.ValuesType_upper_bound(self, *args)
def equal_range(self, *args): return _gdcmswig.ValuesType_equal_range(self, *args)
def insert(self, *args): return _gdcmswig.ValuesType_insert(self, *args)
__swig_destroy__ = _gdcmswig.delete_ValuesType
__del__ = lambda self : None;
ValuesType_swigregister = _gdcmswig.ValuesType_swigregister
ValuesType_swigregister(ValuesType)
class Subject(Object):
"""
Subject.
See: Command Event
C++ includes: gdcmSubject.h
"""
__swig_setmethods__ = {}
for _s in [Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Subject, name, value)
__swig_getmethods__ = {}
for _s in [Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Subject, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Subject::Subject() """
this = _gdcmswig.new_Subject()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Subject
__del__ = lambda self : None;
def AddObserver(self, *args):
"""
unsigned long
gdcm::Subject::AddObserver(const Event &event, Command *)
Allow people to add/remove/invoke observers (callbacks) to any GDCM
object. This is an implementation of the subject/observer design
pattern. An observer is added by specifying an event to respond to and
an gdcm::Command to execute. It returns an unsigned long tag which can
be used later to remove the event or retrieve the command. The memory
for the Command becomes the responsibility of this object, so don't
pass the same instance of a command to two different objects
"""
return _gdcmswig.Subject_AddObserver(self, *args)
def GetCommand(self, *args):
"""
Command*
gdcm::Subject::GetCommand(unsigned long tag)
Get the command associated with the given tag. NOTE: This returns a
pointer to a Command, but it is safe to asign this to a
Command::Pointer. Since Command inherits from LightObject, at this
point in the code, only a pointer or a reference to the Command can be
used.
"""
return _gdcmswig.Subject_GetCommand(self, *args)
def InvokeEvent(self, *args):
"""
void
gdcm::Subject::InvokeEvent(const Event &)
Call Execute on all the Commands observing this event id.
"""
return _gdcmswig.Subject_InvokeEvent(self, *args)
def RemoveObserver(self, *args):
"""
void
gdcm::Subject::RemoveObserver(unsigned long tag)
Remove the observer with this tag value.
"""
return _gdcmswig.Subject_RemoveObserver(self, *args)
def RemoveAllObservers(self):
"""
void
gdcm::Subject::RemoveAllObservers()
Remove all observers .
"""
return _gdcmswig.Subject_RemoveAllObservers(self)
def HasObserver(self, *args):
"""
bool
gdcm::Subject::HasObserver(const Event &event) const
Return true if an observer is registered for this event.
"""
return _gdcmswig.Subject_HasObserver(self, *args)
Subject_swigregister = _gdcmswig.Subject_swigregister
Subject_swigregister(Subject)
class Command(Subject):
"""
Command superclass for callback/observer methods.
See: Subject
C++ includes: gdcmCommand.h
"""
__swig_setmethods__ = {}
for _s in [Subject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Command, name, value)
__swig_getmethods__ = {}
for _s in [Subject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Command, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
def Execute(self, *args):
"""
virtual void
gdcm::Command::Execute(const Subject *caller, const Event &event)=0
Abstract method that defines the action to be taken by the command.
This variant is expected to be used when requests comes from a const
Object
"""
return _gdcmswig.Command_Execute(self, *args)
Command_swigregister = _gdcmswig.Command_swigregister
Command_swigregister(Command)
class SmartPtrScan(_object):
"""
Class for Smart Pointer.
Will only work for subclass of gdcm::Object See tr1/shared_ptr for a
more general approach (not invasive) include <tr1/memory> {
shared_ptr<Bla> b(new Bla); } Class partly based on post by Bill
Hubauer:http://groups.google.com/group/comp.lang.c++/msg/173ddc38a827a930
See: http://www.davethehat.com/articles/smartp.htm and
itk::SmartPointer
C++ includes: gdcmSmartPointer.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SmartPtrScan, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SmartPtrScan, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""gdcm::SmartPointer< ObjectType >::SmartPointer(ObjectType *p) """
this = _gdcmswig.new_SmartPtrScan(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_SmartPtrScan
__del__ = lambda self : None;
def __deref__(self): return _gdcmswig.SmartPtrScan___deref__(self)
def __ref__(self): return _gdcmswig.SmartPtrScan___ref__(self)
def GetPointer(self):
"""
ObjectType*
gdcm::SmartPointer< ObjectType >::GetPointer() const
Explicit function to retrieve the pointer.
"""
return _gdcmswig.SmartPtrScan_GetPointer(self)
def AddTag(self, *args):
"""
void
gdcm::Scanner::AddTag(Tag const &t)
Add a tag that will need to be read. Those are root level skip tags.
"""
return _gdcmswig.SmartPtrScan_AddTag(self, *args)
def ClearTags(self):
"""
void
gdcm::Scanner::ClearTags()
"""
return _gdcmswig.SmartPtrScan_ClearTags(self)
def AddPrivateTag(self, *args):
"""
void
gdcm::Scanner::AddPrivateTag(PrivateTag const &t)
"""
return _gdcmswig.SmartPtrScan_AddPrivateTag(self, *args)
def AddSkipTag(self, *args):
"""
void
gdcm::Scanner::AddSkipTag(Tag const &t)
Add a tag that will need to be skipped. Those are root level skip
tags.
"""
return _gdcmswig.SmartPtrScan_AddSkipTag(self, *args)
def ClearSkipTags(self):
"""
void
gdcm::Scanner::ClearSkipTags()
"""
return _gdcmswig.SmartPtrScan_ClearSkipTags(self)
def Scan(self, *args):
"""
bool
gdcm::Scanner::Scan(Directory::FilenamesType const &filenames)
Start the scan !
"""
return _gdcmswig.SmartPtrScan_Scan(self, *args)
def GetFilenames(self):
"""Directory::FilenamesType const& gdcm::Scanner::GetFilenames() const """
return _gdcmswig.SmartPtrScan_GetFilenames(self)
def Print(self, *args):
"""
void
gdcm::Scanner::Print(std::ostream &os) const
Print result.
"""
return _gdcmswig.SmartPtrScan_Print(self, *args)
def IsKey(self, *args):
"""
bool
gdcm::Scanner::IsKey(const char *filename) const
Check if filename is a key in the Mapping table. returns true only of
file can be found, which means the file was indeed a DICOM file that
could be processed
"""
return _gdcmswig.SmartPtrScan_IsKey(self, *args)
def GetKeys(self):
"""
Directory::FilenamesType gdcm::Scanner::GetKeys() const
Return the list of filename that are key in the internal map, which
means those filename were properly parsed
"""
return _gdcmswig.SmartPtrScan_GetKeys(self)
def GetValues(self, *args):
"""
ValuesType
gdcm::Scanner::GetValues(Tag const &t) const
Get all the values found (in lexicographic order) associated with Tag
't'.
"""
return _gdcmswig.SmartPtrScan_GetValues(self, *args)
def GetOrderedValues(self, *args):
"""
Directory::FilenamesType gdcm::Scanner::GetOrderedValues(Tag const &t)
const
Get all the values found (in a vector) associated with Tag 't' This
function is identical to GetValues, but is accessible from the wrapped
layer (python, C#, java)
"""
return _gdcmswig.SmartPtrScan_GetOrderedValues(self, *args)
def Begin(self):
"""
ConstIterator
gdcm::Scanner::Begin() const
"""
return _gdcmswig.SmartPtrScan_Begin(self)
def End(self):
"""
ConstIterator
gdcm::Scanner::End() const
"""
return _gdcmswig.SmartPtrScan_End(self)
def GetMappings(self):
"""
MappingType const&
gdcm::Scanner::GetMappings() const
Mappings are the mapping from a particular tag to the map, mapping
filename to value:
"""
return _gdcmswig.SmartPtrScan_GetMappings(self)
def GetMapping(self, *args):
"""
TagToValue const&
gdcm::Scanner::GetMapping(const char *filename) const
Get the std::map mapping filenames to value for file 'filename'.
"""
return _gdcmswig.SmartPtrScan_GetMapping(self, *args)
def GetFilenameFromTagToValue(self, *args):
"""
const char* gdcm::Scanner::GetFilenameFromTagToValue(Tag const &t,
const char *valueref) const
Will loop over all files and return the first file where value match
the reference value 'valueref'
"""
return _gdcmswig.SmartPtrScan_GetFilenameFromTagToValue(self, *args)
def GetAllFilenamesFromTagToValue(self, *args):
"""
Directory::FilenamesType
gdcm::Scanner::GetAllFilenamesFromTagToValue(Tag const &t, const char
*valueref) const
Will loop over all files and return a vector of std::strings of
filenames where value match the reference value 'valueref'
"""
return _gdcmswig.SmartPtrScan_GetAllFilenamesFromTagToValue(self, *args)
def GetMappingFromTagToValue(self, *args):
"""
TagToValue const& gdcm::Scanner::GetMappingFromTagToValue(Tag const
&t, const char *value) const
See GetFilenameFromTagToValue(). This is simply
GetFilenameFromTagToValue followed.
"""
return _gdcmswig.SmartPtrScan_GetMappingFromTagToValue(self, *args)
def GetValue(self, *args):
"""
const char*
gdcm::Scanner::GetValue(const char *filename, Tag const &t) const
Retrieve the value found for tag: t associated withfile: filename This
is meant for a single short call. If multiple calls (multiple tags)
should be done, prefer the GetMapping function, and then reuse the
TagToValue hash table. WARNING: Tag 't' should have been added via
AddTag() prior to the Scan() call !
"""
return _gdcmswig.SmartPtrScan_GetValue(self, *args)
def New(self): return _gdcmswig.SmartPtrScan_New(self)
def __str__(self): return _gdcmswig.SmartPtrScan___str__(self)
def AddObserver(self, *args):
"""
unsigned long
gdcm::Subject::AddObserver(const Event &event, Command *)
Allow people to add/remove/invoke observers (callbacks) to any GDCM
object. This is an implementation of the subject/observer design
pattern. An observer is added by specifying an event to respond to and
an gdcm::Command to execute. It returns an unsigned long tag which can
be used later to remove the event or retrieve the command. The memory
for the Command becomes the responsibility of this object, so don't
pass the same instance of a command to two different objects
"""
return _gdcmswig.SmartPtrScan_AddObserver(self, *args)
def GetCommand(self, *args):
"""
Command*
gdcm::Subject::GetCommand(unsigned long tag)
Get the command associated with the given tag. NOTE: This returns a
pointer to a Command, but it is safe to asign this to a
Command::Pointer. Since Command inherits from LightObject, at this
point in the code, only a pointer or a reference to the Command can be
used.
"""
return _gdcmswig.SmartPtrScan_GetCommand(self, *args)
def InvokeEvent(self, *args):
"""
void
gdcm::Subject::InvokeEvent(const Event &)
Call Execute on all the Commands observing this event id.
"""
return _gdcmswig.SmartPtrScan_InvokeEvent(self, *args)
def RemoveObserver(self, *args):
"""
void
gdcm::Subject::RemoveObserver(unsigned long tag)
Remove the observer with this tag value.
"""
return _gdcmswig.SmartPtrScan_RemoveObserver(self, *args)
def RemoveAllObservers(self):
"""
void
gdcm::Subject::RemoveAllObservers()
Remove all observers .
"""
return _gdcmswig.SmartPtrScan_RemoveAllObservers(self)
def HasObserver(self, *args):
"""
bool
gdcm::Subject::HasObserver(const Event &event) const
Return true if an observer is registered for this event.
"""
return _gdcmswig.SmartPtrScan_HasObserver(self, *args)
SmartPtrScan_swigregister = _gdcmswig.SmartPtrScan_swigregister
SmartPtrScan_swigregister(SmartPtrScan)
class Scanner(Subject):
"""
Scanner This filter is meant for quickly browsing a FileSet (a set of
files on disk). Special consideration are taken so as to read the
mimimum amount of information in each file in order to retrieve the
user specified set of DICOM Attribute.
This filter is dealing with both VRASCII and VRBINARY element, thanks
to the help of gdcm::StringFilter
WARNING: IMPORTANT In case of file where tags are not ordered
(illegal as per DICOM specification), the output will be missing
information
implementation details. All values are stored in a std::set of
std::string. Then the address of the cstring underlying the
std::string is used in the std::map. This class implement the
Subject/Observer pattern trigger the following events: ProgressEvent
StartEvent
EndEvent
C++ includes: gdcmScanner.h
"""
__swig_setmethods__ = {}
for _s in [Subject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Scanner, name, value)
__swig_getmethods__ = {}
for _s in [Subject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Scanner, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Scanner::Scanner() """
this = _gdcmswig.new_Scanner()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Scanner
__del__ = lambda self : None;
def AddTag(self, *args):
"""
void
gdcm::Scanner::AddTag(Tag const &t)
Add a tag that will need to be read. Those are root level skip tags.
"""
return _gdcmswig.Scanner_AddTag(self, *args)
def ClearTags(self):
"""
void
gdcm::Scanner::ClearTags()
"""
return _gdcmswig.Scanner_ClearTags(self)
def AddPrivateTag(self, *args):
"""
void
gdcm::Scanner::AddPrivateTag(PrivateTag const &t)
"""
return _gdcmswig.Scanner_AddPrivateTag(self, *args)
def AddSkipTag(self, *args):
"""
void
gdcm::Scanner::AddSkipTag(Tag const &t)
Add a tag that will need to be skipped. Those are root level skip
tags.
"""
return _gdcmswig.Scanner_AddSkipTag(self, *args)
def ClearSkipTags(self):
"""
void
gdcm::Scanner::ClearSkipTags()
"""
return _gdcmswig.Scanner_ClearSkipTags(self)
def Scan(self, *args):
"""
bool
gdcm::Scanner::Scan(Directory::FilenamesType const &filenames)
Start the scan !
"""
return _gdcmswig.Scanner_Scan(self, *args)
def GetFilenames(self):
"""Directory::FilenamesType const& gdcm::Scanner::GetFilenames() const """
return _gdcmswig.Scanner_GetFilenames(self)
def Print(self, *args):
"""
void
gdcm::Scanner::Print(std::ostream &os) const
Print result.
"""
return _gdcmswig.Scanner_Print(self, *args)
def IsKey(self, *args):
"""
bool
gdcm::Scanner::IsKey(const char *filename) const
Check if filename is a key in the Mapping table. returns true only of
file can be found, which means the file was indeed a DICOM file that
could be processed
"""
return _gdcmswig.Scanner_IsKey(self, *args)
def GetKeys(self):
"""
Directory::FilenamesType gdcm::Scanner::GetKeys() const
Return the list of filename that are key in the internal map, which
means those filename were properly parsed
"""
return _gdcmswig.Scanner_GetKeys(self)
def GetValues(self, *args):
"""
ValuesType
gdcm::Scanner::GetValues(Tag const &t) const
Get all the values found (in lexicographic order) associated with Tag
't'.
"""
return _gdcmswig.Scanner_GetValues(self, *args)
def GetOrderedValues(self, *args):
"""
Directory::FilenamesType gdcm::Scanner::GetOrderedValues(Tag const &t)
const
Get all the values found (in a vector) associated with Tag 't' This
function is identical to GetValues, but is accessible from the wrapped
layer (python, C#, java)
"""
return _gdcmswig.Scanner_GetOrderedValues(self, *args)
def Begin(self):
"""
ConstIterator
gdcm::Scanner::Begin() const
"""
return _gdcmswig.Scanner_Begin(self)
def End(self):
"""
ConstIterator
gdcm::Scanner::End() const
"""
return _gdcmswig.Scanner_End(self)
def GetMappings(self):
"""
MappingType const&
gdcm::Scanner::GetMappings() const
Mappings are the mapping from a particular tag to the map, mapping
filename to value:
"""
return _gdcmswig.Scanner_GetMappings(self)
def GetMapping(self, *args):
"""
TagToValue const&
gdcm::Scanner::GetMapping(const char *filename) const
Get the std::map mapping filenames to value for file 'filename'.
"""
return _gdcmswig.Scanner_GetMapping(self, *args)
def GetFilenameFromTagToValue(self, *args):
"""
const char* gdcm::Scanner::GetFilenameFromTagToValue(Tag const &t,
const char *valueref) const
Will loop over all files and return the first file where value match
the reference value 'valueref'
"""
return _gdcmswig.Scanner_GetFilenameFromTagToValue(self, *args)
def GetAllFilenamesFromTagToValue(self, *args):
"""
Directory::FilenamesType
gdcm::Scanner::GetAllFilenamesFromTagToValue(Tag const &t, const char
*valueref) const
Will loop over all files and return a vector of std::strings of
filenames where value match the reference value 'valueref'
"""
return _gdcmswig.Scanner_GetAllFilenamesFromTagToValue(self, *args)
def GetMappingFromTagToValue(self, *args):
"""
TagToValue const& gdcm::Scanner::GetMappingFromTagToValue(Tag const
&t, const char *value) const
See GetFilenameFromTagToValue(). This is simply
GetFilenameFromTagToValue followed.
"""
return _gdcmswig.Scanner_GetMappingFromTagToValue(self, *args)
def GetValue(self, *args):
"""
const char*
gdcm::Scanner::GetValue(const char *filename, Tag const &t) const
Retrieve the value found for tag: t associated withfile: filename This
is meant for a single short call. If multiple calls (multiple tags)
should be done, prefer the GetMapping function, and then reuse the
TagToValue hash table. WARNING: Tag 't' should have been added via
AddTag() prior to the Scan() call !
"""
return _gdcmswig.Scanner_GetValue(self, *args)
__swig_getmethods__["New"] = lambda x: _gdcmswig.Scanner_New
if _newclass:New = staticmethod(_gdcmswig.Scanner_New)
def __str__(self): return _gdcmswig.Scanner___str__(self)
Scanner_swigregister = _gdcmswig.Scanner_swigregister
Scanner_swigregister(Scanner)
def Scanner_New():
return _gdcmswig.Scanner_New()
Scanner_New = _gdcmswig.Scanner_New
class PythonTagToValue(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PythonTagToValue, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PythonTagToValue, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _gdcmswig.new_PythonTagToValue(*args)
try: self.this.append(this)
except: self.this = this
def GetCurrent(self): return _gdcmswig.PythonTagToValue_GetCurrent(self)
def GetCurrentTag(self): return _gdcmswig.PythonTagToValue_GetCurrentTag(self)
def GetCurrentValue(self): return _gdcmswig.PythonTagToValue_GetCurrentValue(self)
def Start(self): return _gdcmswig.PythonTagToValue_Start(self)
def IsAtEnd(self): return _gdcmswig.PythonTagToValue_IsAtEnd(self)
def Next(self): return _gdcmswig.PythonTagToValue_Next(self)
__swig_destroy__ = _gdcmswig.delete_PythonTagToValue
__del__ = lambda self : None;
PythonTagToValue_swigregister = _gdcmswig.PythonTagToValue_swigregister
PythonTagToValue_swigregister(PythonTagToValue)
class SmartPtrAno(_object):
"""
Class for Smart Pointer.
Will only work for subclass of gdcm::Object See tr1/shared_ptr for a
more general approach (not invasive) include <tr1/memory> {
shared_ptr<Bla> b(new Bla); } Class partly based on post by Bill
Hubauer:http://groups.google.com/group/comp.lang.c++/msg/173ddc38a827a930
See: http://www.davethehat.com/articles/smartp.htm and
itk::SmartPointer
C++ includes: gdcmSmartPointer.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SmartPtrAno, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SmartPtrAno, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""gdcm::SmartPointer< ObjectType >::SmartPointer(ObjectType *p) """
this = _gdcmswig.new_SmartPtrAno(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_SmartPtrAno
__del__ = lambda self : None;
def __deref__(self): return _gdcmswig.SmartPtrAno___deref__(self)
def __ref__(self): return _gdcmswig.SmartPtrAno___ref__(self)
def GetPointer(self):
"""
ObjectType*
gdcm::SmartPointer< ObjectType >::GetPointer() const
Explicit function to retrieve the pointer.
"""
return _gdcmswig.SmartPtrAno_GetPointer(self)
def Empty(self, *args):
"""
bool
gdcm::Anonymizer::Empty(Tag const &t)
Make Tag t empty (if not found tag will be created) Warning: does not
handle SQ element
"""
return _gdcmswig.SmartPtrAno_Empty(self, *args)
def Remove(self, *args):
"""
bool
gdcm::Anonymizer::Remove(Tag const &t)
remove a tag (even a SQ can be removed) Return code is false when tag
t cannot be found
"""
return _gdcmswig.SmartPtrAno_Remove(self, *args)
def Replace(self, *args):
"""
bool
gdcm::Anonymizer::Replace(Tag const &t, const char *value)
Replace tag with another value, if tag is not found it will be
created: WARNING: this function can only execute if tag is a VRASCII
"""
return _gdcmswig.SmartPtrAno_Replace(self, *args)
def RemovePrivateTags(self):
"""
bool
gdcm::Anonymizer::RemovePrivateTags()
Main function that loop over all elements and remove private tags.
"""
return _gdcmswig.SmartPtrAno_RemovePrivateTags(self)
def RemoveGroupLength(self):
"""
bool
gdcm::Anonymizer::RemoveGroupLength()
Main function that loop over all elements and remove group length.
"""
return _gdcmswig.SmartPtrAno_RemoveGroupLength(self)
def RemoveRetired(self):
"""
bool
gdcm::Anonymizer::RemoveRetired()
Main function that loop over all elements and remove retired element.
"""
return _gdcmswig.SmartPtrAno_RemoveRetired(self)
def SetFile(self, *args):
"""
void
gdcm::Anonymizer::SetFile(const File &f)
Set/Get File.
"""
return _gdcmswig.SmartPtrAno_SetFile(self, *args)
def GetFile(self):
"""
File&
gdcm::Anonymizer::GetFile()
"""
return _gdcmswig.SmartPtrAno_GetFile(self)
def BasicApplicationLevelConfidentialityProfile(self, deidentify=True):
"""
bool
gdcm::Anonymizer::BasicApplicationLevelConfidentialityProfile(bool
deidentify=true)
PS 3.15 / E.1.1 De-Identifier An Application may claim conformance to
the Basic Application Level Confidentiality Profile as a deidentifier
if it protects all Attributes that might be used by unauthorized
entities to identify the patient. NOT THREAD SAFE
"""
return _gdcmswig.SmartPtrAno_BasicApplicationLevelConfidentialityProfile(self, deidentify)
def SetCryptographicMessageSyntax(self, *args):
"""
void
gdcm::Anonymizer::SetCryptographicMessageSyntax(CryptographicMessageSyntax
*cms)
Set/Get CMS key that will be used to encrypt the dataset within
BasicApplicationLevelConfidentialityProfile.
"""
return _gdcmswig.SmartPtrAno_SetCryptographicMessageSyntax(self, *args)
def GetCryptographicMessageSyntax(self):
"""
const CryptographicMessageSyntax*
gdcm::Anonymizer::GetCryptographicMessageSyntax() const
"""
return _gdcmswig.SmartPtrAno_GetCryptographicMessageSyntax(self)
def New(self): return _gdcmswig.SmartPtrAno_New(self)
def GetBasicApplicationLevelConfidentialityProfileAttributes(self): return _gdcmswig.SmartPtrAno_GetBasicApplicationLevelConfidentialityProfileAttributes(self)
def AddObserver(self, *args):
"""
unsigned long
gdcm::Subject::AddObserver(const Event &event, Command *)
Allow people to add/remove/invoke observers (callbacks) to any GDCM
object. This is an implementation of the subject/observer design
pattern. An observer is added by specifying an event to respond to and
an gdcm::Command to execute. It returns an unsigned long tag which can
be used later to remove the event or retrieve the command. The memory
for the Command becomes the responsibility of this object, so don't
pass the same instance of a command to two different objects
"""
return _gdcmswig.SmartPtrAno_AddObserver(self, *args)
def GetCommand(self, *args):
"""
Command*
gdcm::Subject::GetCommand(unsigned long tag)
Get the command associated with the given tag. NOTE: This returns a
pointer to a Command, but it is safe to asign this to a
Command::Pointer. Since Command inherits from LightObject, at this
point in the code, only a pointer or a reference to the Command can be
used.
"""
return _gdcmswig.SmartPtrAno_GetCommand(self, *args)
def InvokeEvent(self, *args):
"""
void
gdcm::Subject::InvokeEvent(const Event &)
Call Execute on all the Commands observing this event id.
"""
return _gdcmswig.SmartPtrAno_InvokeEvent(self, *args)
def RemoveObserver(self, *args):
"""
void
gdcm::Subject::RemoveObserver(unsigned long tag)
Remove the observer with this tag value.
"""
return _gdcmswig.SmartPtrAno_RemoveObserver(self, *args)
def RemoveAllObservers(self):
"""
void
gdcm::Subject::RemoveAllObservers()
Remove all observers .
"""
return _gdcmswig.SmartPtrAno_RemoveAllObservers(self)
def HasObserver(self, *args):
"""
bool
gdcm::Subject::HasObserver(const Event &event) const
Return true if an observer is registered for this event.
"""
return _gdcmswig.SmartPtrAno_HasObserver(self, *args)
def Print(self, *args):
"""
virtual void
gdcm::Object::Print(std::ostream &) const
"""
return _gdcmswig.SmartPtrAno_Print(self, *args)
SmartPtrAno_swigregister = _gdcmswig.SmartPtrAno_swigregister
SmartPtrAno_swigregister(SmartPtrAno)
class Anonymizer(Subject):
"""
Anonymizer This class is a multi purpose anonymizer. It can work in 2
mode: Full (irreversible) anonymizer (aka dumb mode)
reversible de-identifier/re-identifier (aka smart mode). This
implements the Basic Application Level Confidentiality Profile, DICOM
PS 3.15-2009.
1. dumb mode This is a dumb anonymizer implementation. All it allows
user is simple operation such as:
Tag based functions: complete removal of DICOM attribute (Remove)
make a tag empty, ie make it's length 0 (Empty)
replace with another string-based value (Replace)
DataSet based functions: Remove all group length attribute from a
DICOM dataset (Group Length element are deprecated, DICOM 2008)
Remove all private attributes
Remove all retired attributes
All function calls actually execute the user specified request.
Previous implementation were calling a general Anonymize function but
traversing a std::set is O(n) operation, while a simple user specified
request is O(log(n)) operation. So 'm' user interaction is O(m*log(n))
which is < O(n) complexity.
2. smart mode this mode implements the Basic Application Level
Confidentiality Profile (DICOM PS 3.15-2008) In this case, it is
extremely important to use the same gdcm::Anonymizer class when
anonymizing a FileSet. Once the gdcm::Anonymizer is destroyed its
memory of known (already processed) UIDs will be lost. which will make
the anonymizer behaves incorrectly for attributes such as Series UID
Study UID where user want some consistency. When attribute is Type 1 /
Type 1C, a dummy generator will take in the existing value and produce
a dummy value (a sha1 representation). sha1 algorithm is considered to
be cryptographically strong (compared to md5sum) so that we meet the
following two conditions: Produce the same dummy value for the same
input value
do not provide an easy way to retrieve the original value from the
sha1 generated value
This class implement the Subject/Observer pattern trigger the
following event: AnonymizeEvent
IterationEvent
StartEvent
EndEvent
See: CryptographicMessageSyntax
C++ includes: gdcmAnonymizer.h
"""
__swig_setmethods__ = {}
for _s in [Subject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Anonymizer, name, value)
__swig_getmethods__ = {}
for _s in [Subject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Anonymizer, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Anonymizer::Anonymizer() """
this = _gdcmswig.new_Anonymizer()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Anonymizer
__del__ = lambda self : None;
def Empty(self, *args):
"""
bool
gdcm::Anonymizer::Empty(Tag const &t)
Make Tag t empty (if not found tag will be created) Warning: does not
handle SQ element
"""
return _gdcmswig.Anonymizer_Empty(self, *args)
def Remove(self, *args):
"""
bool
gdcm::Anonymizer::Remove(Tag const &t)
remove a tag (even a SQ can be removed) Return code is false when tag
t cannot be found
"""
return _gdcmswig.Anonymizer_Remove(self, *args)
def Replace(self, *args):
"""
bool
gdcm::Anonymizer::Replace(Tag const &t, const char *value)
Replace tag with another value, if tag is not found it will be
created: WARNING: this function can only execute if tag is a VRASCII
"""
return _gdcmswig.Anonymizer_Replace(self, *args)
def RemovePrivateTags(self):
"""
bool
gdcm::Anonymizer::RemovePrivateTags()
Main function that loop over all elements and remove private tags.
"""
return _gdcmswig.Anonymizer_RemovePrivateTags(self)
def RemoveGroupLength(self):
"""
bool
gdcm::Anonymizer::RemoveGroupLength()
Main function that loop over all elements and remove group length.
"""
return _gdcmswig.Anonymizer_RemoveGroupLength(self)
def RemoveRetired(self):
"""
bool
gdcm::Anonymizer::RemoveRetired()
Main function that loop over all elements and remove retired element.
"""
return _gdcmswig.Anonymizer_RemoveRetired(self)
def SetFile(self, *args):
"""
void
gdcm::Anonymizer::SetFile(const File &f)
Set/Get File.
"""
return _gdcmswig.Anonymizer_SetFile(self, *args)
def GetFile(self):
"""
File&
gdcm::Anonymizer::GetFile()
"""
return _gdcmswig.Anonymizer_GetFile(self)
def BasicApplicationLevelConfidentialityProfile(self, deidentify=True):
"""
bool
gdcm::Anonymizer::BasicApplicationLevelConfidentialityProfile(bool
deidentify=true)
PS 3.15 / E.1.1 De-Identifier An Application may claim conformance to
the Basic Application Level Confidentiality Profile as a deidentifier
if it protects all Attributes that might be used by unauthorized
entities to identify the patient. NOT THREAD SAFE
"""
return _gdcmswig.Anonymizer_BasicApplicationLevelConfidentialityProfile(self, deidentify)
def SetCryptographicMessageSyntax(self, *args):
"""
void
gdcm::Anonymizer::SetCryptographicMessageSyntax(CryptographicMessageSyntax
*cms)
Set/Get CMS key that will be used to encrypt the dataset within
BasicApplicationLevelConfidentialityProfile.
"""
return _gdcmswig.Anonymizer_SetCryptographicMessageSyntax(self, *args)
def GetCryptographicMessageSyntax(self):
"""
const CryptographicMessageSyntax*
gdcm::Anonymizer::GetCryptographicMessageSyntax() const
"""
return _gdcmswig.Anonymizer_GetCryptographicMessageSyntax(self)
__swig_getmethods__["New"] = lambda x: _gdcmswig.Anonymizer_New
if _newclass:New = staticmethod(_gdcmswig.Anonymizer_New)
__swig_getmethods__["GetBasicApplicationLevelConfidentialityProfileAttributes"] = lambda x: _gdcmswig.Anonymizer_GetBasicApplicationLevelConfidentialityProfileAttributes
if _newclass:GetBasicApplicationLevelConfidentialityProfileAttributes = staticmethod(_gdcmswig.Anonymizer_GetBasicApplicationLevelConfidentialityProfileAttributes)
Anonymizer_swigregister = _gdcmswig.Anonymizer_swigregister
Anonymizer_swigregister(Anonymizer)
def Anonymizer_New():
return _gdcmswig.Anonymizer_New()
Anonymizer_New = _gdcmswig.Anonymizer_New
def Anonymizer_GetBasicApplicationLevelConfidentialityProfileAttributes():
return _gdcmswig.Anonymizer_GetBasicApplicationLevelConfidentialityProfileAttributes()
Anonymizer_GetBasicApplicationLevelConfidentialityProfileAttributes = _gdcmswig.Anonymizer_GetBasicApplicationLevelConfidentialityProfileAttributes
class System(_object):
"""
Class to do system operation.
OS independent functionalities
C++ includes: gdcmSystem.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, System, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, System, name)
__repr__ = _swig_repr
__swig_getmethods__["MakeDirectory"] = lambda x: _gdcmswig.System_MakeDirectory
if _newclass:MakeDirectory = staticmethod(_gdcmswig.System_MakeDirectory)
__swig_getmethods__["FileExists"] = lambda x: _gdcmswig.System_FileExists
if _newclass:FileExists = staticmethod(_gdcmswig.System_FileExists)
__swig_getmethods__["FileIsDirectory"] = lambda x: _gdcmswig.System_FileIsDirectory
if _newclass:FileIsDirectory = staticmethod(_gdcmswig.System_FileIsDirectory)
__swig_getmethods__["FileIsSymlink"] = lambda x: _gdcmswig.System_FileIsSymlink
if _newclass:FileIsSymlink = staticmethod(_gdcmswig.System_FileIsSymlink)
__swig_getmethods__["RemoveFile"] = lambda x: _gdcmswig.System_RemoveFile
if _newclass:RemoveFile = staticmethod(_gdcmswig.System_RemoveFile)
__swig_getmethods__["DeleteDirectory"] = lambda x: _gdcmswig.System_DeleteDirectory
if _newclass:DeleteDirectory = staticmethod(_gdcmswig.System_DeleteDirectory)
__swig_getmethods__["GetLastSystemError"] = lambda x: _gdcmswig.System_GetLastSystemError
if _newclass:GetLastSystemError = staticmethod(_gdcmswig.System_GetLastSystemError)
__swig_getmethods__["FileSize"] = lambda x: _gdcmswig.System_FileSize
if _newclass:FileSize = staticmethod(_gdcmswig.System_FileSize)
__swig_getmethods__["FileTime"] = lambda x: _gdcmswig.System_FileTime
if _newclass:FileTime = staticmethod(_gdcmswig.System_FileTime)
__swig_getmethods__["GetCurrentProcessFileName"] = lambda x: _gdcmswig.System_GetCurrentProcessFileName
if _newclass:GetCurrentProcessFileName = staticmethod(_gdcmswig.System_GetCurrentProcessFileName)
__swig_getmethods__["GetCurrentModuleFileName"] = lambda x: _gdcmswig.System_GetCurrentModuleFileName
if _newclass:GetCurrentModuleFileName = staticmethod(_gdcmswig.System_GetCurrentModuleFileName)
__swig_getmethods__["GetCurrentResourcesDirectory"] = lambda x: _gdcmswig.System_GetCurrentResourcesDirectory
if _newclass:GetCurrentResourcesDirectory = staticmethod(_gdcmswig.System_GetCurrentResourcesDirectory)
__swig_getmethods__["GetHostName"] = lambda x: _gdcmswig.System_GetHostName
if _newclass:GetHostName = staticmethod(_gdcmswig.System_GetHostName)
__swig_getmethods__["GetCurrentDateTime"] = lambda x: _gdcmswig.System_GetCurrentDateTime
if _newclass:GetCurrentDateTime = staticmethod(_gdcmswig.System_GetCurrentDateTime)
__swig_getmethods__["FormatDateTime"] = lambda x: _gdcmswig.System_FormatDateTime
if _newclass:FormatDateTime = staticmethod(_gdcmswig.System_FormatDateTime)
__swig_getmethods__["ParseDateTime"] = lambda x: _gdcmswig.System_ParseDateTime
if _newclass:ParseDateTime = staticmethod(_gdcmswig.System_ParseDateTime)
__swig_getmethods__["GetTimezoneOffsetFromUTC"] = lambda x: _gdcmswig.System_GetTimezoneOffsetFromUTC
if _newclass:GetTimezoneOffsetFromUTC = staticmethod(_gdcmswig.System_GetTimezoneOffsetFromUTC)
__swig_getmethods__["EncodeBytes"] = lambda x: _gdcmswig.System_EncodeBytes
if _newclass:EncodeBytes = staticmethod(_gdcmswig.System_EncodeBytes)
__swig_getmethods__["StrCaseCmp"] = lambda x: _gdcmswig.System_StrCaseCmp
if _newclass:StrCaseCmp = staticmethod(_gdcmswig.System_StrCaseCmp)
__swig_getmethods__["StrNCaseCmp"] = lambda x: _gdcmswig.System_StrNCaseCmp
if _newclass:StrNCaseCmp = staticmethod(_gdcmswig.System_StrNCaseCmp)
__swig_getmethods__["GetCWD"] = lambda x: _gdcmswig.System_GetCWD
if _newclass:GetCWD = staticmethod(_gdcmswig.System_GetCWD)
__swig_getmethods__["StrTokR"] = lambda x: _gdcmswig.System_StrTokR
if _newclass:StrTokR = staticmethod(_gdcmswig.System_StrTokR)
__swig_getmethods__["GetLocaleCharset"] = lambda x: _gdcmswig.System_GetLocaleCharset
if _newclass:GetLocaleCharset = staticmethod(_gdcmswig.System_GetLocaleCharset)
def __init__(self):
this = _gdcmswig.new_System()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_System
__del__ = lambda self : None;
System_swigregister = _gdcmswig.System_swigregister
System_swigregister(System)
def System_MakeDirectory(*args):
return _gdcmswig.System_MakeDirectory(*args)
System_MakeDirectory = _gdcmswig.System_MakeDirectory
def System_FileExists(*args):
return _gdcmswig.System_FileExists(*args)
System_FileExists = _gdcmswig.System_FileExists
def System_FileIsDirectory(*args):
return _gdcmswig.System_FileIsDirectory(*args)
System_FileIsDirectory = _gdcmswig.System_FileIsDirectory
def System_FileIsSymlink(*args):
return _gdcmswig.System_FileIsSymlink(*args)
System_FileIsSymlink = _gdcmswig.System_FileIsSymlink
def System_RemoveFile(*args):
return _gdcmswig.System_RemoveFile(*args)
System_RemoveFile = _gdcmswig.System_RemoveFile
def System_DeleteDirectory(*args):
return _gdcmswig.System_DeleteDirectory(*args)
System_DeleteDirectory = _gdcmswig.System_DeleteDirectory
def System_GetLastSystemError():
return _gdcmswig.System_GetLastSystemError()
System_GetLastSystemError = _gdcmswig.System_GetLastSystemError
def System_FileSize(*args):
return _gdcmswig.System_FileSize(*args)
System_FileSize = _gdcmswig.System_FileSize
def System_FileTime(*args):
return _gdcmswig.System_FileTime(*args)
System_FileTime = _gdcmswig.System_FileTime
def System_GetCurrentProcessFileName():
return _gdcmswig.System_GetCurrentProcessFileName()
System_GetCurrentProcessFileName = _gdcmswig.System_GetCurrentProcessFileName
def System_GetCurrentModuleFileName():
return _gdcmswig.System_GetCurrentModuleFileName()
System_GetCurrentModuleFileName = _gdcmswig.System_GetCurrentModuleFileName
def System_GetCurrentResourcesDirectory():
return _gdcmswig.System_GetCurrentResourcesDirectory()
System_GetCurrentResourcesDirectory = _gdcmswig.System_GetCurrentResourcesDirectory
def System_GetHostName(*args):
return _gdcmswig.System_GetHostName(*args)
System_GetHostName = _gdcmswig.System_GetHostName
def System_GetCurrentDateTime(*args):
return _gdcmswig.System_GetCurrentDateTime(*args)
System_GetCurrentDateTime = _gdcmswig.System_GetCurrentDateTime
def System_FormatDateTime(*args):
return _gdcmswig.System_FormatDateTime(*args)
System_FormatDateTime = _gdcmswig.System_FormatDateTime
def System_ParseDateTime(*args):
return _gdcmswig.System_ParseDateTime(*args)
System_ParseDateTime = _gdcmswig.System_ParseDateTime
def System_GetTimezoneOffsetFromUTC():
return _gdcmswig.System_GetTimezoneOffsetFromUTC()
System_GetTimezoneOffsetFromUTC = _gdcmswig.System_GetTimezoneOffsetFromUTC
def System_EncodeBytes(*args):
return _gdcmswig.System_EncodeBytes(*args)
System_EncodeBytes = _gdcmswig.System_EncodeBytes
def System_StrCaseCmp(*args):
return _gdcmswig.System_StrCaseCmp(*args)
System_StrCaseCmp = _gdcmswig.System_StrCaseCmp
def System_StrNCaseCmp(*args):
return _gdcmswig.System_StrNCaseCmp(*args)
System_StrNCaseCmp = _gdcmswig.System_StrNCaseCmp
def System_GetCWD():
return _gdcmswig.System_GetCWD()
System_GetCWD = _gdcmswig.System_GetCWD
def System_StrTokR(*args):
return _gdcmswig.System_StrTokR(*args)
System_StrTokR = _gdcmswig.System_StrTokR
def System_GetLocaleCharset():
return _gdcmswig.System_GetLocaleCharset()
System_GetLocaleCharset = _gdcmswig.System_GetLocaleCharset
class Trace(_object):
"""
Trace.
Debug / Warning and Error are encapsulated in this class by default
the Trace class will redirect any debug/warning/error to std::cerr.
Unless SetStream was specified with another (open) stream or
SetStreamToFile was specified to a writable file on the system.
WARNING: All string messages are removed during compilation time when
compiled with CMAKE_BUILD_TYPE being set to either: Release
MinSizeRel It is recommended to compile with RelWithDebInfo and/or
Debug during prototyping of applications.
C++ includes: gdcmTrace.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Trace, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Trace, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Trace::Trace() """
this = _gdcmswig.new_Trace()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Trace
__del__ = lambda self : None;
__swig_getmethods__["SetStream"] = lambda x: _gdcmswig.Trace_SetStream
if _newclass:SetStream = staticmethod(_gdcmswig.Trace_SetStream)
__swig_getmethods__["GetStream"] = lambda x: _gdcmswig.Trace_GetStream
if _newclass:GetStream = staticmethod(_gdcmswig.Trace_GetStream)
__swig_getmethods__["SetDebugStream"] = lambda x: _gdcmswig.Trace_SetDebugStream
if _newclass:SetDebugStream = staticmethod(_gdcmswig.Trace_SetDebugStream)
__swig_getmethods__["GetDebugStream"] = lambda x: _gdcmswig.Trace_GetDebugStream
if _newclass:GetDebugStream = staticmethod(_gdcmswig.Trace_GetDebugStream)
__swig_getmethods__["SetWarningStream"] = lambda x: _gdcmswig.Trace_SetWarningStream
if _newclass:SetWarningStream = staticmethod(_gdcmswig.Trace_SetWarningStream)
__swig_getmethods__["GetWarningStream"] = lambda x: _gdcmswig.Trace_GetWarningStream
if _newclass:GetWarningStream = staticmethod(_gdcmswig.Trace_GetWarningStream)
__swig_getmethods__["SetErrorStream"] = lambda x: _gdcmswig.Trace_SetErrorStream
if _newclass:SetErrorStream = staticmethod(_gdcmswig.Trace_SetErrorStream)
__swig_getmethods__["GetErrorStream"] = lambda x: _gdcmswig.Trace_GetErrorStream
if _newclass:GetErrorStream = staticmethod(_gdcmswig.Trace_GetErrorStream)
__swig_getmethods__["SetStreamToFile"] = lambda x: _gdcmswig.Trace_SetStreamToFile
if _newclass:SetStreamToFile = staticmethod(_gdcmswig.Trace_SetStreamToFile)
__swig_getmethods__["SetDebug"] = lambda x: _gdcmswig.Trace_SetDebug
if _newclass:SetDebug = staticmethod(_gdcmswig.Trace_SetDebug)
__swig_getmethods__["DebugOn"] = lambda x: _gdcmswig.Trace_DebugOn
if _newclass:DebugOn = staticmethod(_gdcmswig.Trace_DebugOn)
__swig_getmethods__["DebugOff"] = lambda x: _gdcmswig.Trace_DebugOff
if _newclass:DebugOff = staticmethod(_gdcmswig.Trace_DebugOff)
__swig_getmethods__["GetDebugFlag"] = lambda x: _gdcmswig.Trace_GetDebugFlag
if _newclass:GetDebugFlag = staticmethod(_gdcmswig.Trace_GetDebugFlag)
__swig_getmethods__["SetWarning"] = lambda x: _gdcmswig.Trace_SetWarning
if _newclass:SetWarning = staticmethod(_gdcmswig.Trace_SetWarning)
__swig_getmethods__["WarningOn"] = lambda x: _gdcmswig.Trace_WarningOn
if _newclass:WarningOn = staticmethod(_gdcmswig.Trace_WarningOn)
__swig_getmethods__["WarningOff"] = lambda x: _gdcmswig.Trace_WarningOff
if _newclass:WarningOff = staticmethod(_gdcmswig.Trace_WarningOff)
__swig_getmethods__["GetWarningFlag"] = lambda x: _gdcmswig.Trace_GetWarningFlag
if _newclass:GetWarningFlag = staticmethod(_gdcmswig.Trace_GetWarningFlag)
__swig_getmethods__["SetError"] = lambda x: _gdcmswig.Trace_SetError
if _newclass:SetError = staticmethod(_gdcmswig.Trace_SetError)
__swig_getmethods__["ErrorOn"] = lambda x: _gdcmswig.Trace_ErrorOn
if _newclass:ErrorOn = staticmethod(_gdcmswig.Trace_ErrorOn)
__swig_getmethods__["ErrorOff"] = lambda x: _gdcmswig.Trace_ErrorOff
if _newclass:ErrorOff = staticmethod(_gdcmswig.Trace_ErrorOff)
__swig_getmethods__["GetErrorFlag"] = lambda x: _gdcmswig.Trace_GetErrorFlag
if _newclass:GetErrorFlag = staticmethod(_gdcmswig.Trace_GetErrorFlag)
Trace_swigregister = _gdcmswig.Trace_swigregister
Trace_swigregister(Trace)
def Trace_SetStream(*args):
return _gdcmswig.Trace_SetStream(*args)
Trace_SetStream = _gdcmswig.Trace_SetStream
def Trace_GetStream():
return _gdcmswig.Trace_GetStream()
Trace_GetStream = _gdcmswig.Trace_GetStream
def Trace_SetDebugStream(*args):
return _gdcmswig.Trace_SetDebugStream(*args)
Trace_SetDebugStream = _gdcmswig.Trace_SetDebugStream
def Trace_GetDebugStream():
return _gdcmswig.Trace_GetDebugStream()
Trace_GetDebugStream = _gdcmswig.Trace_GetDebugStream
def Trace_SetWarningStream(*args):
return _gdcmswig.Trace_SetWarningStream(*args)
Trace_SetWarningStream = _gdcmswig.Trace_SetWarningStream
def Trace_GetWarningStream():
return _gdcmswig.Trace_GetWarningStream()
Trace_GetWarningStream = _gdcmswig.Trace_GetWarningStream
def Trace_SetErrorStream(*args):
return _gdcmswig.Trace_SetErrorStream(*args)
Trace_SetErrorStream = _gdcmswig.Trace_SetErrorStream
def Trace_GetErrorStream():
return _gdcmswig.Trace_GetErrorStream()
Trace_GetErrorStream = _gdcmswig.Trace_GetErrorStream
def Trace_SetStreamToFile(*args):
return _gdcmswig.Trace_SetStreamToFile(*args)
Trace_SetStreamToFile = _gdcmswig.Trace_SetStreamToFile
def Trace_SetDebug(*args):
return _gdcmswig.Trace_SetDebug(*args)
Trace_SetDebug = _gdcmswig.Trace_SetDebug
def Trace_DebugOn():
return _gdcmswig.Trace_DebugOn()
Trace_DebugOn = _gdcmswig.Trace_DebugOn
def Trace_DebugOff():
return _gdcmswig.Trace_DebugOff()
Trace_DebugOff = _gdcmswig.Trace_DebugOff
def Trace_GetDebugFlag():
return _gdcmswig.Trace_GetDebugFlag()
Trace_GetDebugFlag = _gdcmswig.Trace_GetDebugFlag
def Trace_SetWarning(*args):
return _gdcmswig.Trace_SetWarning(*args)
Trace_SetWarning = _gdcmswig.Trace_SetWarning
def Trace_WarningOn():
return _gdcmswig.Trace_WarningOn()
Trace_WarningOn = _gdcmswig.Trace_WarningOn
def Trace_WarningOff():
return _gdcmswig.Trace_WarningOff()
Trace_WarningOff = _gdcmswig.Trace_WarningOff
def Trace_GetWarningFlag():
return _gdcmswig.Trace_GetWarningFlag()
Trace_GetWarningFlag = _gdcmswig.Trace_GetWarningFlag
def Trace_SetError(*args):
return _gdcmswig.Trace_SetError(*args)
Trace_SetError = _gdcmswig.Trace_SetError
def Trace_ErrorOn():
return _gdcmswig.Trace_ErrorOn()
Trace_ErrorOn = _gdcmswig.Trace_ErrorOn
def Trace_ErrorOff():
return _gdcmswig.Trace_ErrorOff()
Trace_ErrorOff = _gdcmswig.Trace_ErrorOff
def Trace_GetErrorFlag():
return _gdcmswig.Trace_GetErrorFlag()
Trace_GetErrorFlag = _gdcmswig.Trace_GetErrorFlag
class UIDs(_object):
"""
all known uids
C++ includes: gdcmUIDs.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, UIDs, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, UIDs, name)
__repr__ = _swig_repr
uid_1_2_840_10008_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_1_1
uid_1_2_840_10008_1_2 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2
uid_1_2_840_10008_1_2_1 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_1
uid_1_2_840_10008_1_2_1_99 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_1_99
uid_1_2_840_10008_1_2_2 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_2
uid_1_2_840_10008_1_2_4_50 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_50
uid_1_2_840_10008_1_2_4_51 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_51
uid_1_2_840_10008_1_2_4_52 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_52
uid_1_2_840_10008_1_2_4_53 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_53
uid_1_2_840_10008_1_2_4_54 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_54
uid_1_2_840_10008_1_2_4_55 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_55
uid_1_2_840_10008_1_2_4_56 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_56
uid_1_2_840_10008_1_2_4_57 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_57
uid_1_2_840_10008_1_2_4_58 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_58
uid_1_2_840_10008_1_2_4_59 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_59
uid_1_2_840_10008_1_2_4_60 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_60
uid_1_2_840_10008_1_2_4_61 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_61
uid_1_2_840_10008_1_2_4_62 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_62
uid_1_2_840_10008_1_2_4_63 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_63
uid_1_2_840_10008_1_2_4_64 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_64
uid_1_2_840_10008_1_2_4_65 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_65
uid_1_2_840_10008_1_2_4_66 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_66
uid_1_2_840_10008_1_2_4_70 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_70
uid_1_2_840_10008_1_2_4_80 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_80
uid_1_2_840_10008_1_2_4_81 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_81
uid_1_2_840_10008_1_2_4_90 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_90
uid_1_2_840_10008_1_2_4_91 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_91
uid_1_2_840_10008_1_2_4_92 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_92
uid_1_2_840_10008_1_2_4_93 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_93
uid_1_2_840_10008_1_2_4_94 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_94
uid_1_2_840_10008_1_2_4_95 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_95
uid_1_2_840_10008_1_2_4_100 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_4_100
uid_1_2_840_10008_1_2_5 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_5
uid_1_2_840_10008_1_2_6_1 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_6_1
uid_1_2_840_10008_1_2_6_2 = _gdcmswig.UIDs_uid_1_2_840_10008_1_2_6_2
uid_1_2_840_10008_1_3_10 = _gdcmswig.UIDs_uid_1_2_840_10008_1_3_10
uid_1_2_840_10008_1_4_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_1
uid_1_2_840_10008_1_4_1_2 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_2
uid_1_2_840_10008_1_4_1_3 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_3
uid_1_2_840_10008_1_4_1_4 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_4
uid_1_2_840_10008_1_4_1_5 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_5
uid_1_2_840_10008_1_4_1_6 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_6
uid_1_2_840_10008_1_4_1_7 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_7
uid_1_2_840_10008_1_4_1_8 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_8
uid_1_2_840_10008_1_4_1_9 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_9
uid_1_2_840_10008_1_4_1_10 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_10
uid_1_2_840_10008_1_4_1_11 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_11
uid_1_2_840_10008_1_4_1_12 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_12
uid_1_2_840_10008_1_4_1_13 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_13
uid_1_2_840_10008_1_4_1_14 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_14
uid_1_2_840_10008_1_4_1_15 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_15
uid_1_2_840_10008_1_4_1_16 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_16
uid_1_2_840_10008_1_4_1_17 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_17
uid_1_2_840_10008_1_4_1_18 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_1_18
uid_1_2_840_10008_1_4_2_1 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_2_1
uid_1_2_840_10008_1_4_2_2 = _gdcmswig.UIDs_uid_1_2_840_10008_1_4_2_2
uid_1_2_840_10008_1_9 = _gdcmswig.UIDs_uid_1_2_840_10008_1_9
uid_1_2_840_10008_1_20_1 = _gdcmswig.UIDs_uid_1_2_840_10008_1_20_1
uid_1_2_840_10008_1_20_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_1_20_1_1
uid_1_2_840_10008_1_20_2 = _gdcmswig.UIDs_uid_1_2_840_10008_1_20_2
uid_1_2_840_10008_1_20_2_1 = _gdcmswig.UIDs_uid_1_2_840_10008_1_20_2_1
uid_1_2_840_10008_1_40 = _gdcmswig.UIDs_uid_1_2_840_10008_1_40
uid_1_2_840_10008_1_40_1 = _gdcmswig.UIDs_uid_1_2_840_10008_1_40_1
uid_1_2_840_10008_1_42 = _gdcmswig.UIDs_uid_1_2_840_10008_1_42
uid_1_2_840_10008_1_42_1 = _gdcmswig.UIDs_uid_1_2_840_10008_1_42_1
uid_1_2_840_10008_2_6_1 = _gdcmswig.UIDs_uid_1_2_840_10008_2_6_1
uid_1_2_840_10008_2_16_4 = _gdcmswig.UIDs_uid_1_2_840_10008_2_16_4
uid_1_2_840_10008_3_1_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_3_1_1_1
uid_1_2_840_10008_3_1_2_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_3_1_2_1_1
uid_1_2_840_10008_3_1_2_1_4 = _gdcmswig.UIDs_uid_1_2_840_10008_3_1_2_1_4
uid_1_2_840_10008_3_1_2_2_1 = _gdcmswig.UIDs_uid_1_2_840_10008_3_1_2_2_1
uid_1_2_840_10008_3_1_2_3_1 = _gdcmswig.UIDs_uid_1_2_840_10008_3_1_2_3_1
uid_1_2_840_10008_3_1_2_3_2 = _gdcmswig.UIDs_uid_1_2_840_10008_3_1_2_3_2
uid_1_2_840_10008_3_1_2_3_3 = _gdcmswig.UIDs_uid_1_2_840_10008_3_1_2_3_3
uid_1_2_840_10008_3_1_2_3_4 = _gdcmswig.UIDs_uid_1_2_840_10008_3_1_2_3_4
uid_1_2_840_10008_3_1_2_3_5 = _gdcmswig.UIDs_uid_1_2_840_10008_3_1_2_3_5
uid_1_2_840_10008_3_1_2_5_1 = _gdcmswig.UIDs_uid_1_2_840_10008_3_1_2_5_1
uid_1_2_840_10008_3_1_2_5_4 = _gdcmswig.UIDs_uid_1_2_840_10008_3_1_2_5_4
uid_1_2_840_10008_3_1_2_5_5 = _gdcmswig.UIDs_uid_1_2_840_10008_3_1_2_5_5
uid_1_2_840_10008_3_1_2_6_1 = _gdcmswig.UIDs_uid_1_2_840_10008_3_1_2_6_1
uid_1_2_840_10008_4_2 = _gdcmswig.UIDs_uid_1_2_840_10008_4_2
uid_1_2_840_10008_5_1_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_1
uid_1_2_840_10008_5_1_1_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_2
uid_1_2_840_10008_5_1_1_4 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_4
uid_1_2_840_10008_5_1_1_4_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_4_1
uid_1_2_840_10008_5_1_1_4_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_4_2
uid_1_2_840_10008_5_1_1_9 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_9
uid_1_2_840_10008_5_1_1_9_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_9_1
uid_1_2_840_10008_5_1_1_14 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_14
uid_1_2_840_10008_5_1_1_15 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_15
uid_1_2_840_10008_5_1_1_16 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_16
uid_1_2_840_10008_5_1_1_16_376 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_16_376
uid_1_2_840_10008_5_1_1_17 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_17
uid_1_2_840_10008_5_1_1_17_376 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_17_376
uid_1_2_840_10008_5_1_1_18 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_18
uid_1_2_840_10008_5_1_1_18_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_18_1
uid_1_2_840_10008_5_1_1_22 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_22
uid_1_2_840_10008_5_1_1_23 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_23
uid_1_2_840_10008_5_1_1_24 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_24
uid_1_2_840_10008_5_1_1_24_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_24_1
uid_1_2_840_10008_5_1_1_25 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_25
uid_1_2_840_10008_5_1_1_26 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_26
uid_1_2_840_10008_5_1_1_27 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_27
uid_1_2_840_10008_5_1_1_29 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_29
uid_1_2_840_10008_5_1_1_30 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_30
uid_1_2_840_10008_5_1_1_31 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_31
uid_1_2_840_10008_5_1_1_32 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_32
uid_1_2_840_10008_5_1_1_33 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_1_33
uid_1_2_840_10008_5_1_4_1_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_1
uid_1_2_840_10008_5_1_4_1_1_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_1_1
uid_1_2_840_10008_5_1_4_1_1_1_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_1_1_1
uid_1_2_840_10008_5_1_4_1_1_1_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_1_2
uid_1_2_840_10008_5_1_4_1_1_1_2_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_1_2_1
uid_1_2_840_10008_5_1_4_1_1_1_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_1_3
uid_1_2_840_10008_5_1_4_1_1_1_3_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_1_3_1
uid_1_2_840_10008_5_1_4_1_1_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_2
uid_1_2_840_10008_5_1_4_1_1_2_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_2_1
uid_1_2_840_10008_5_1_4_1_1_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_3
uid_1_2_840_10008_5_1_4_1_1_3_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_3_1
uid_1_2_840_10008_5_1_4_1_1_4 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_4
uid_1_2_840_10008_5_1_4_1_1_4_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_4_1
uid_1_2_840_10008_5_1_4_1_1_4_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_4_2
uid_1_2_840_10008_5_1_4_1_1_5 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_5
uid_1_2_840_10008_5_1_4_1_1_6 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_6
uid_1_2_840_10008_5_1_4_1_1_6_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_6_1
uid_1_2_840_10008_5_1_4_1_1_7 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_7
uid_1_2_840_10008_5_1_4_1_1_7_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_7_1
uid_1_2_840_10008_5_1_4_1_1_7_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_7_2
uid_1_2_840_10008_5_1_4_1_1_7_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_7_3
uid_1_2_840_10008_5_1_4_1_1_7_4 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_7_4
uid_1_2_840_10008_5_1_4_1_1_8 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_8
uid_1_2_840_10008_5_1_4_1_1_9 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_9
uid_1_2_840_10008_5_1_4_1_1_9_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_9_1
uid_1_2_840_10008_5_1_4_1_1_9_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_9_1_1
uid_1_2_840_10008_5_1_4_1_1_9_1_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_9_1_2
uid_1_2_840_10008_5_1_4_1_1_9_1_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_9_1_3
uid_1_2_840_10008_5_1_4_1_1_9_2_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_9_2_1
uid_1_2_840_10008_5_1_4_1_1_9_3_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_9_3_1
uid_1_2_840_10008_5_1_4_1_1_9_4_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_9_4_1
uid_1_2_840_10008_5_1_4_1_1_10 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_10
uid_1_2_840_10008_5_1_4_1_1_11 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_11
uid_1_2_840_10008_5_1_4_1_1_11_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_11_1
uid_1_2_840_10008_5_1_4_1_1_11_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_11_2
uid_1_2_840_10008_5_1_4_1_1_11_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_11_3
uid_1_2_840_10008_5_1_4_1_1_11_4 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_11_4
uid_1_2_840_10008_5_1_4_1_1_12_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_12_1
uid_1_2_840_10008_5_1_4_1_1_12_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_12_1_1
uid_1_2_840_10008_5_1_4_1_1_12_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_12_2
uid_1_2_840_10008_5_1_4_1_1_12_2_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_12_2_1
uid_1_2_840_10008_5_1_4_1_1_13_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_13_1_1
uid_1_2_840_10008_5_1_4_1_1_13_1_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_13_1_2
uid_1_2_840_10008_5_1_4_1_1_12_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_12_3
uid_1_2_840_10008_5_1_4_1_1_20 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_20
uid_1_2_840_10008_5_1_4_1_1_66 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_66
uid_1_2_840_10008_5_1_4_1_1_66_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_66_1
uid_1_2_840_10008_5_1_4_1_1_66_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_66_2
uid_1_2_840_10008_5_1_4_1_1_66_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_66_3
uid_1_2_840_10008_5_1_4_1_1_66_4 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_66_4
uid_1_2_840_10008_5_1_4_1_1_67 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_67
uid_1_2_840_10008_5_1_4_1_1_77_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_77_1
uid_1_2_840_10008_5_1_4_1_1_77_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_77_2
uid_1_2_840_10008_5_1_4_1_1_77_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_77_1_1
uid_1_2_840_10008_5_1_4_1_1_77_1_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_77_1_1_1
uid_1_2_840_10008_5_1_4_1_1_77_1_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_77_1_2
uid_1_2_840_10008_5_1_4_1_1_77_1_2_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_77_1_2_1
uid_1_2_840_10008_5_1_4_1_1_77_1_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_77_1_3
uid_1_2_840_10008_5_1_4_1_1_77_1_4 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_77_1_4
uid_1_2_840_10008_5_1_4_1_1_77_1_4_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_77_1_4_1
uid_1_2_840_10008_5_1_4_1_1_77_1_5_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_77_1_5_1
uid_1_2_840_10008_5_1_4_1_1_77_1_5_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_77_1_5_2
uid_1_2_840_10008_5_1_4_1_1_77_1_5_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_77_1_5_3
uid_1_2_840_10008_5_1_4_1_1_77_1_5_4 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_77_1_5_4
uid_1_2_840_10008_5_1_4_1_1_88_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_88_1
uid_1_2_840_10008_5_1_4_1_1_88_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_88_2
uid_1_2_840_10008_5_1_4_1_1_88_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_88_3
uid_1_2_840_10008_5_1_4_1_1_88_4 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_88_4
uid_1_2_840_10008_5_1_4_1_1_88_11 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_88_11
uid_1_2_840_10008_5_1_4_1_1_88_22 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_88_22
uid_1_2_840_10008_5_1_4_1_1_88_33 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_88_33
uid_1_2_840_10008_5_1_4_1_1_88_40 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_88_40
uid_1_2_840_10008_5_1_4_1_1_88_50 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_88_50
uid_1_2_840_10008_5_1_4_1_1_88_59 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_88_59
uid_1_2_840_10008_5_1_4_1_1_88_65 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_88_65
uid_1_2_840_10008_5_1_4_1_1_88_67 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_88_67
uid_1_2_840_10008_5_1_4_1_1_104_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_104_1
uid_1_2_840_10008_5_1_4_1_1_104_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_104_2
uid_1_2_840_10008_5_1_4_1_1_128 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_128
uid_1_2_840_10008_5_1_4_1_1_129 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_129
uid_1_2_840_10008_5_1_4_1_1_481_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_481_1
uid_1_2_840_10008_5_1_4_1_1_481_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_481_2
uid_1_2_840_10008_5_1_4_1_1_481_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_481_3
uid_1_2_840_10008_5_1_4_1_1_481_4 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_481_4
uid_1_2_840_10008_5_1_4_1_1_481_5 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_481_5
uid_1_2_840_10008_5_1_4_1_1_481_6 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_481_6
uid_1_2_840_10008_5_1_4_1_1_481_7 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_481_7
uid_1_2_840_10008_5_1_4_1_1_481_8 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_481_8
uid_1_2_840_10008_5_1_4_1_1_481_9 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_481_9
uid_1_2_840_10008_5_1_4_1_2_1_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_2_1_1
uid_1_2_840_10008_5_1_4_1_2_1_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_2_1_2
uid_1_2_840_10008_5_1_4_1_2_1_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_2_1_3
uid_1_2_840_10008_5_1_4_1_2_2_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_2_2_1
uid_1_2_840_10008_5_1_4_1_2_2_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_2_2_2
uid_1_2_840_10008_5_1_4_1_2_2_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_2_2_3
uid_1_2_840_10008_5_1_4_1_2_3_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_2_3_1
uid_1_2_840_10008_5_1_4_1_2_3_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_2_3_2
uid_1_2_840_10008_5_1_4_1_2_3_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_2_3_3
uid_1_2_840_10008_5_1_4_31 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_31
uid_1_2_840_10008_5_1_4_32_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_32_1
uid_1_2_840_10008_5_1_4_32_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_32_2
uid_1_2_840_10008_5_1_4_32_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_32_3
uid_1_2_840_10008_5_1_4_32 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_32
uid_1_2_840_10008_5_1_4_33 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_33
uid_1_2_840_10008_5_1_4_34_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_34_1
uid_1_2_840_10008_5_1_4_34_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_34_2
uid_1_2_840_10008_5_1_4_34_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_34_3
uid_1_2_840_10008_5_1_4_34_4 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_34_4
uid_1_2_840_10008_5_1_4_34_4_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_34_4_1
uid_1_2_840_10008_5_1_4_34_4_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_34_4_2
uid_1_2_840_10008_5_1_4_34_4_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_34_4_3
uid_1_2_840_10008_5_1_4_34_4_4 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_34_4_4
uid_1_2_840_10008_5_1_4_34_5 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_34_5
uid_1_2_840_10008_5_1_4_37_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_37_1
uid_1_2_840_10008_5_1_4_37_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_37_2
uid_1_2_840_10008_5_1_4_37_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_37_3
uid_1_2_840_10008_5_1_4_38_1 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_38_1
uid_1_2_840_10008_5_1_4_38_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_38_2
uid_1_2_840_10008_5_1_4_38_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_38_3
uid_1_2_840_10008_5_1_4_41 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_41
uid_1_2_840_10008_5_1_4_42 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_42
uid_1_2_840_10008_15_0_3_1 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_1
uid_1_2_840_10008_15_0_3_2 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_2
uid_1_2_840_10008_15_0_3_3 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_3
uid_1_2_840_10008_15_0_3_4 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_4
uid_1_2_840_10008_15_0_3_5 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_5
uid_1_2_840_10008_15_0_3_6 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_6
uid_1_2_840_10008_15_0_3_7 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_7
uid_1_2_840_10008_15_0_3_8 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_8
uid_1_2_840_10008_15_0_3_9 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_9
uid_1_2_840_10008_15_0_3_10 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_10
uid_1_2_840_10008_15_0_3_11 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_11
uid_1_2_840_10008_15_0_3_12 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_12
uid_1_2_840_10008_15_0_3_13 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_13
uid_1_2_840_10008_15_0_3_14 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_14
uid_1_2_840_10008_15_0_3_15 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_15
uid_1_2_840_10008_15_0_3_16 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_16
uid_1_2_840_10008_15_0_3_17 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_17
uid_1_2_840_10008_15_0_3_18 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_18
uid_1_2_840_10008_15_0_3_19 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_19
uid_1_2_840_10008_15_0_3_20 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_20
uid_1_2_840_10008_15_0_3_21 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_21
uid_1_2_840_10008_15_0_3_22 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_22
uid_1_2_840_10008_15_0_3_23 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_23
uid_1_2_840_10008_15_0_3_24 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_24
uid_1_2_840_10008_15_0_3_25 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_25
uid_1_2_840_10008_15_0_3_26 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_26
uid_1_2_840_10008_15_0_3_27 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_27
uid_1_2_840_10008_15_0_3_28 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_28
uid_1_2_840_10008_15_0_3_29 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_29
uid_1_2_840_10008_15_0_3_30 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_30
uid_1_2_840_10008_15_0_3_31 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_3_31
uid_1_2_840_10008_15_0_4_1 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_4_1
uid_1_2_840_10008_15_0_4_2 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_4_2
uid_1_2_840_10008_15_0_4_3 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_4_3
uid_1_2_840_10008_15_0_4_4 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_4_4
uid_1_2_840_10008_15_0_4_5 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_4_5
uid_1_2_840_10008_15_0_4_6 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_4_6
uid_1_2_840_10008_15_0_4_7 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_4_7
uid_1_2_840_10008_15_0_4_8 = _gdcmswig.UIDs_uid_1_2_840_10008_15_0_4_8
uid_1_2_840_10008_5_1_4_1_1_77_1_6 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_77_1_6
uid_1_2_840_10008_5_1_4_1_1_6_2 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_6_2
uid_1_2_840_10008_5_1_4_1_1_66_5 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_66_5
uid_1_2_840_10008_5_1_4_1_1_13_1_3 = _gdcmswig.UIDs_uid_1_2_840_10008_5_1_4_1_1_13_1_3
VerificationSOPClass = _gdcmswig.UIDs_VerificationSOPClass
ImplicitVRLittleEndianDefaultTransferSyntaxforDICOM = _gdcmswig.UIDs_ImplicitVRLittleEndianDefaultTransferSyntaxforDICOM
ExplicitVRLittleEndian = _gdcmswig.UIDs_ExplicitVRLittleEndian
DeflatedExplicitVRLittleEndian = _gdcmswig.UIDs_DeflatedExplicitVRLittleEndian
ExplicitVRBigEndian = _gdcmswig.UIDs_ExplicitVRBigEndian
JPEGBaselineProcess1DefaultTransferSyntaxforLossyJPEG8BitImageCompression = _gdcmswig.UIDs_JPEGBaselineProcess1DefaultTransferSyntaxforLossyJPEG8BitImageCompression
JPEGExtendedProcess24DefaultTransferSyntaxforLossyJPEG12BitImageCompressionProcess4only = _gdcmswig.UIDs_JPEGExtendedProcess24DefaultTransferSyntaxforLossyJPEG12BitImageCompressionProcess4only
JPEGExtendedProcess35Retired = _gdcmswig.UIDs_JPEGExtendedProcess35Retired
JPEGSpectralSelectionNonHierarchicalProcess68Retired = _gdcmswig.UIDs_JPEGSpectralSelectionNonHierarchicalProcess68Retired
JPEGSpectralSelectionNonHierarchicalProcess79Retired = _gdcmswig.UIDs_JPEGSpectralSelectionNonHierarchicalProcess79Retired
JPEGFullProgressionNonHierarchicalProcess1012Retired = _gdcmswig.UIDs_JPEGFullProgressionNonHierarchicalProcess1012Retired
JPEGFullProgressionNonHierarchicalProcess1113Retired = _gdcmswig.UIDs_JPEGFullProgressionNonHierarchicalProcess1113Retired
JPEGLosslessNonHierarchicalProcess14 = _gdcmswig.UIDs_JPEGLosslessNonHierarchicalProcess14
JPEGLosslessNonHierarchicalProcess15Retired = _gdcmswig.UIDs_JPEGLosslessNonHierarchicalProcess15Retired
JPEGExtendedHierarchicalProcess1618Retired = _gdcmswig.UIDs_JPEGExtendedHierarchicalProcess1618Retired
JPEGExtendedHierarchicalProcess1719Retired = _gdcmswig.UIDs_JPEGExtendedHierarchicalProcess1719Retired
JPEGSpectralSelectionHierarchicalProcess2022Retired = _gdcmswig.UIDs_JPEGSpectralSelectionHierarchicalProcess2022Retired
JPEGSpectralSelectionHierarchicalProcess2123Retired = _gdcmswig.UIDs_JPEGSpectralSelectionHierarchicalProcess2123Retired
JPEGFullProgressionHierarchicalProcess2426Retired = _gdcmswig.UIDs_JPEGFullProgressionHierarchicalProcess2426Retired
JPEGFullProgressionHierarchicalProcess2527Retired = _gdcmswig.UIDs_JPEGFullProgressionHierarchicalProcess2527Retired
JPEGLosslessHierarchicalProcess28Retired = _gdcmswig.UIDs_JPEGLosslessHierarchicalProcess28Retired
JPEGLosslessHierarchicalProcess29Retired = _gdcmswig.UIDs_JPEGLosslessHierarchicalProcess29Retired
JPEGLosslessNonHierarchicalFirstOrderPredictionProcess14SelectionValue1DefaultTransferSyntaxforLosslessJPEGImageCompression = _gdcmswig.UIDs_JPEGLosslessNonHierarchicalFirstOrderPredictionProcess14SelectionValue1DefaultTransferSyntaxforLosslessJPEGImageCompression
JPEGLSLosslessImageCompression = _gdcmswig.UIDs_JPEGLSLosslessImageCompression
JPEGLSLossyNearLosslessImageCompression = _gdcmswig.UIDs_JPEGLSLossyNearLosslessImageCompression
JPEG2000ImageCompressionLosslessOnly = _gdcmswig.UIDs_JPEG2000ImageCompressionLosslessOnly
JPEG2000ImageCompression = _gdcmswig.UIDs_JPEG2000ImageCompression
JPEG2000Part2MulticomponentImageCompressionLosslessOnly = _gdcmswig.UIDs_JPEG2000Part2MulticomponentImageCompressionLosslessOnly
JPEG2000Part2MulticomponentImageCompression = _gdcmswig.UIDs_JPEG2000Part2MulticomponentImageCompression
JPIPReferenced = _gdcmswig.UIDs_JPIPReferenced
JPIPReferencedDeflate = _gdcmswig.UIDs_JPIPReferencedDeflate
MPEG2MainProfileMainLevel = _gdcmswig.UIDs_MPEG2MainProfileMainLevel
RLELossless = _gdcmswig.UIDs_RLELossless
RFC2557MIMEencapsulation = _gdcmswig.UIDs_RFC2557MIMEencapsulation
XMLEncoding = _gdcmswig.UIDs_XMLEncoding
MediaStorageDirectoryStorage = _gdcmswig.UIDs_MediaStorageDirectoryStorage
TalairachBrainAtlasFrameofReference = _gdcmswig.UIDs_TalairachBrainAtlasFrameofReference
SPM2T1FrameofReference = _gdcmswig.UIDs_SPM2T1FrameofReference
SPM2T2FrameofReference = _gdcmswig.UIDs_SPM2T2FrameofReference
SPM2PDFrameofReference = _gdcmswig.UIDs_SPM2PDFrameofReference
SPM2EPIFrameofReference = _gdcmswig.UIDs_SPM2EPIFrameofReference
SPM2FILT1FrameofReference = _gdcmswig.UIDs_SPM2FILT1FrameofReference
SPM2PETFrameofReference = _gdcmswig.UIDs_SPM2PETFrameofReference
SPM2TRANSMFrameofReference = _gdcmswig.UIDs_SPM2TRANSMFrameofReference
SPM2SPECTFrameofReference = _gdcmswig.UIDs_SPM2SPECTFrameofReference
SPM2GRAYFrameofReference = _gdcmswig.UIDs_SPM2GRAYFrameofReference
SPM2WHITEFrameofReference = _gdcmswig.UIDs_SPM2WHITEFrameofReference
SPM2CSFFrameofReference = _gdcmswig.UIDs_SPM2CSFFrameofReference
SPM2BRAINMASKFrameofReference = _gdcmswig.UIDs_SPM2BRAINMASKFrameofReference
SPM2AVG305T1FrameofReference = _gdcmswig.UIDs_SPM2AVG305T1FrameofReference
SPM2AVG152T1FrameofReference = _gdcmswig.UIDs_SPM2AVG152T1FrameofReference
SPM2AVG152T2FrameofReference = _gdcmswig.UIDs_SPM2AVG152T2FrameofReference
SPM2AVG152PDFrameofReference = _gdcmswig.UIDs_SPM2AVG152PDFrameofReference
SPM2SINGLESUBJT1FrameofReference = _gdcmswig.UIDs_SPM2SINGLESUBJT1FrameofReference
ICBM452T1FrameofReference = _gdcmswig.UIDs_ICBM452T1FrameofReference
ICBMSingleSubjectMRIFrameofReference = _gdcmswig.UIDs_ICBMSingleSubjectMRIFrameofReference
BasicStudyContentNotificationSOPClassRetired = _gdcmswig.UIDs_BasicStudyContentNotificationSOPClassRetired
StorageCommitmentPushModelSOPClass = _gdcmswig.UIDs_StorageCommitmentPushModelSOPClass
StorageCommitmentPushModelSOPInstance = _gdcmswig.UIDs_StorageCommitmentPushModelSOPInstance
StorageCommitmentPullModelSOPClassRetired = _gdcmswig.UIDs_StorageCommitmentPullModelSOPClassRetired
StorageCommitmentPullModelSOPInstanceRetired = _gdcmswig.UIDs_StorageCommitmentPullModelSOPInstanceRetired
ProceduralEventLoggingSOPClass = _gdcmswig.UIDs_ProceduralEventLoggingSOPClass
ProceduralEventLoggingSOPInstance = _gdcmswig.UIDs_ProceduralEventLoggingSOPInstance
SubstanceAdministrationLoggingSOPClass = _gdcmswig.UIDs_SubstanceAdministrationLoggingSOPClass
SubstanceAdministrationLoggingSOPInstance = _gdcmswig.UIDs_SubstanceAdministrationLoggingSOPInstance
DICOMUIDRegistry = _gdcmswig.UIDs_DICOMUIDRegistry
DICOMControlledTerminology = _gdcmswig.UIDs_DICOMControlledTerminology
DICOMApplicationContextName = _gdcmswig.UIDs_DICOMApplicationContextName
DetachedPatientManagementSOPClassRetired = _gdcmswig.UIDs_DetachedPatientManagementSOPClassRetired
DetachedPatientManagementMetaSOPClassRetired = _gdcmswig.UIDs_DetachedPatientManagementMetaSOPClassRetired
DetachedVisitManagementSOPClassRetired = _gdcmswig.UIDs_DetachedVisitManagementSOPClassRetired
DetachedStudyManagementSOPClassRetired = _gdcmswig.UIDs_DetachedStudyManagementSOPClassRetired
StudyComponentManagementSOPClassRetired = _gdcmswig.UIDs_StudyComponentManagementSOPClassRetired
ModalityPerformedProcedureStepSOPClass = _gdcmswig.UIDs_ModalityPerformedProcedureStepSOPClass
ModalityPerformedProcedureStepRetrieveSOPClass = _gdcmswig.UIDs_ModalityPerformedProcedureStepRetrieveSOPClass
ModalityPerformedProcedureStepNotificationSOPClass = _gdcmswig.UIDs_ModalityPerformedProcedureStepNotificationSOPClass
DetachedResultsManagementSOPClassRetired = _gdcmswig.UIDs_DetachedResultsManagementSOPClassRetired
DetachedResultsManagementMetaSOPClassRetired = _gdcmswig.UIDs_DetachedResultsManagementMetaSOPClassRetired
DetachedStudyManagementMetaSOPClassRetired = _gdcmswig.UIDs_DetachedStudyManagementMetaSOPClassRetired
DetachedInterpretationManagementSOPClassRetired = _gdcmswig.UIDs_DetachedInterpretationManagementSOPClassRetired
StorageServiceClass = _gdcmswig.UIDs_StorageServiceClass
BasicFilmSessionSOPClass = _gdcmswig.UIDs_BasicFilmSessionSOPClass
BasicFilmBoxSOPClass = _gdcmswig.UIDs_BasicFilmBoxSOPClass
BasicGrayscaleImageBoxSOPClass = _gdcmswig.UIDs_BasicGrayscaleImageBoxSOPClass
BasicColorImageBoxSOPClass = _gdcmswig.UIDs_BasicColorImageBoxSOPClass
ReferencedImageBoxSOPClassRetired = _gdcmswig.UIDs_ReferencedImageBoxSOPClassRetired
BasicGrayscalePrintManagementMetaSOPClass = _gdcmswig.UIDs_BasicGrayscalePrintManagementMetaSOPClass
ReferencedGrayscalePrintManagementMetaSOPClassRetired = _gdcmswig.UIDs_ReferencedGrayscalePrintManagementMetaSOPClassRetired
PrintJobSOPClass = _gdcmswig.UIDs_PrintJobSOPClass
BasicAnnotationBoxSOPClass = _gdcmswig.UIDs_BasicAnnotationBoxSOPClass
PrinterSOPClass = _gdcmswig.UIDs_PrinterSOPClass
PrinterConfigurationRetrievalSOPClass = _gdcmswig.UIDs_PrinterConfigurationRetrievalSOPClass
PrinterSOPInstance = _gdcmswig.UIDs_PrinterSOPInstance
PrinterConfigurationRetrievalSOPInstance = _gdcmswig.UIDs_PrinterConfigurationRetrievalSOPInstance
BasicColorPrintManagementMetaSOPClass = _gdcmswig.UIDs_BasicColorPrintManagementMetaSOPClass
ReferencedColorPrintManagementMetaSOPClassRetired = _gdcmswig.UIDs_ReferencedColorPrintManagementMetaSOPClassRetired
VOILUTBoxSOPClass = _gdcmswig.UIDs_VOILUTBoxSOPClass
PresentationLUTSOPClass = _gdcmswig.UIDs_PresentationLUTSOPClass
ImageOverlayBoxSOPClassRetired = _gdcmswig.UIDs_ImageOverlayBoxSOPClassRetired
BasicPrintImageOverlayBoxSOPClassRetired = _gdcmswig.UIDs_BasicPrintImageOverlayBoxSOPClassRetired
PrintQueueSOPInstanceRetired = _gdcmswig.UIDs_PrintQueueSOPInstanceRetired
PrintQueueManagementSOPClassRetired = _gdcmswig.UIDs_PrintQueueManagementSOPClassRetired
StoredPrintStorageSOPClassRetired = _gdcmswig.UIDs_StoredPrintStorageSOPClassRetired
HardcopyGrayscaleImageStorageSOPClassRetired = _gdcmswig.UIDs_HardcopyGrayscaleImageStorageSOPClassRetired
HardcopyColorImageStorageSOPClassRetired = _gdcmswig.UIDs_HardcopyColorImageStorageSOPClassRetired
PullPrintRequestSOPClassRetired = _gdcmswig.UIDs_PullPrintRequestSOPClassRetired
PullStoredPrintManagementMetaSOPClassRetired = _gdcmswig.UIDs_PullStoredPrintManagementMetaSOPClassRetired
MediaCreationManagementSOPClassUID = _gdcmswig.UIDs_MediaCreationManagementSOPClassUID
ComputedRadiographyImageStorage = _gdcmswig.UIDs_ComputedRadiographyImageStorage
DigitalXRayImageStorageForPresentation = _gdcmswig.UIDs_DigitalXRayImageStorageForPresentation
DigitalXRayImageStorageForProcessing = _gdcmswig.UIDs_DigitalXRayImageStorageForProcessing
DigitalMammographyXRayImageStorageForPresentation = _gdcmswig.UIDs_DigitalMammographyXRayImageStorageForPresentation
DigitalMammographyXRayImageStorageForProcessing = _gdcmswig.UIDs_DigitalMammographyXRayImageStorageForProcessing
DigitalIntraoralXRayImageStorageForPresentation = _gdcmswig.UIDs_DigitalIntraoralXRayImageStorageForPresentation
DigitalIntraoralXRayImageStorageForProcessing = _gdcmswig.UIDs_DigitalIntraoralXRayImageStorageForProcessing
CTImageStorage = _gdcmswig.UIDs_CTImageStorage
EnhancedCTImageStorage = _gdcmswig.UIDs_EnhancedCTImageStorage
UltrasoundMultiframeImageStorageRetired = _gdcmswig.UIDs_UltrasoundMultiframeImageStorageRetired
UltrasoundMultiframeImageStorage = _gdcmswig.UIDs_UltrasoundMultiframeImageStorage
MRImageStorage = _gdcmswig.UIDs_MRImageStorage
EnhancedMRImageStorage = _gdcmswig.UIDs_EnhancedMRImageStorage
MRSpectroscopyStorage = _gdcmswig.UIDs_MRSpectroscopyStorage
NuclearMedicineImageStorageRetired = _gdcmswig.UIDs_NuclearMedicineImageStorageRetired
UltrasoundImageStorageRetired = _gdcmswig.UIDs_UltrasoundImageStorageRetired
UltrasoundImageStorage = _gdcmswig.UIDs_UltrasoundImageStorage
SecondaryCaptureImageStorage = _gdcmswig.UIDs_SecondaryCaptureImageStorage
MultiframeSingleBitSecondaryCaptureImageStorage = _gdcmswig.UIDs_MultiframeSingleBitSecondaryCaptureImageStorage
MultiframeGrayscaleByteSecondaryCaptureImageStorage = _gdcmswig.UIDs_MultiframeGrayscaleByteSecondaryCaptureImageStorage
MultiframeGrayscaleWordSecondaryCaptureImageStorage = _gdcmswig.UIDs_MultiframeGrayscaleWordSecondaryCaptureImageStorage
MultiframeTrueColorSecondaryCaptureImageStorage = _gdcmswig.UIDs_MultiframeTrueColorSecondaryCaptureImageStorage
StandaloneOverlayStorageRetired = _gdcmswig.UIDs_StandaloneOverlayStorageRetired
StandaloneCurveStorageRetired = _gdcmswig.UIDs_StandaloneCurveStorageRetired
WaveformStorageTrialRetired = _gdcmswig.UIDs_WaveformStorageTrialRetired
GeneralECGWaveformStorage = _gdcmswig.UIDs_GeneralECGWaveformStorage
AmbulatoryECGWaveformStorage = _gdcmswig.UIDs_AmbulatoryECGWaveformStorage
HemodynamicWaveformStorage = _gdcmswig.UIDs_HemodynamicWaveformStorage
CardiacElectrophysiologyWaveformStorage = _gdcmswig.UIDs_CardiacElectrophysiologyWaveformStorage
BasicVoiceAudioWaveformStorage = _gdcmswig.UIDs_BasicVoiceAudioWaveformStorage
StandaloneModalityLUTStorageRetired = _gdcmswig.UIDs_StandaloneModalityLUTStorageRetired
StandaloneVOILUTStorageRetired = _gdcmswig.UIDs_StandaloneVOILUTStorageRetired
GrayscaleSoftcopyPresentationStateStorageSOPClass = _gdcmswig.UIDs_GrayscaleSoftcopyPresentationStateStorageSOPClass
ColorSoftcopyPresentationStateStorageSOPClass = _gdcmswig.UIDs_ColorSoftcopyPresentationStateStorageSOPClass
PseudoColorSoftcopyPresentationStateStorageSOPClass = _gdcmswig.UIDs_PseudoColorSoftcopyPresentationStateStorageSOPClass
BlendingSoftcopyPresentationStateStorageSOPClass = _gdcmswig.UIDs_BlendingSoftcopyPresentationStateStorageSOPClass
XRayAngiographicImageStorage = _gdcmswig.UIDs_XRayAngiographicImageStorage
EnhancedXAImageStorage = _gdcmswig.UIDs_EnhancedXAImageStorage
XRayRadiofluoroscopicImageStorage = _gdcmswig.UIDs_XRayRadiofluoroscopicImageStorage
EnhancedXRFImageStorage = _gdcmswig.UIDs_EnhancedXRFImageStorage
XRay3DAngiographicImageStorage = _gdcmswig.UIDs_XRay3DAngiographicImageStorage
XRay3DCraniofacialImageStorage = _gdcmswig.UIDs_XRay3DCraniofacialImageStorage
XRayAngiographicBiPlaneImageStorageRetired = _gdcmswig.UIDs_XRayAngiographicBiPlaneImageStorageRetired
NuclearMedicineImageStorage = _gdcmswig.UIDs_NuclearMedicineImageStorage
RawDataStorage = _gdcmswig.UIDs_RawDataStorage
SpatialRegistrationStorage = _gdcmswig.UIDs_SpatialRegistrationStorage
SpatialFiducialsStorage = _gdcmswig.UIDs_SpatialFiducialsStorage
DeformableSpatialRegistrationStorage = _gdcmswig.UIDs_DeformableSpatialRegistrationStorage
SegmentationStorage = _gdcmswig.UIDs_SegmentationStorage
RealWorldValueMappingStorage = _gdcmswig.UIDs_RealWorldValueMappingStorage
VLImageStorageTrialRetired = _gdcmswig.UIDs_VLImageStorageTrialRetired
VLMultiframeImageStorageTrialRetired = _gdcmswig.UIDs_VLMultiframeImageStorageTrialRetired
VLEndoscopicImageStorage = _gdcmswig.UIDs_VLEndoscopicImageStorage
VideoEndoscopicImageStorage = _gdcmswig.UIDs_VideoEndoscopicImageStorage
VLMicroscopicImageStorage = _gdcmswig.UIDs_VLMicroscopicImageStorage
VideoMicroscopicImageStorage = _gdcmswig.UIDs_VideoMicroscopicImageStorage
VLSlideCoordinatesMicroscopicImageStorage = _gdcmswig.UIDs_VLSlideCoordinatesMicroscopicImageStorage
VLPhotographicImageStorage = _gdcmswig.UIDs_VLPhotographicImageStorage
VideoPhotographicImageStorage = _gdcmswig.UIDs_VideoPhotographicImageStorage
OphthalmicPhotography8BitImageStorage = _gdcmswig.UIDs_OphthalmicPhotography8BitImageStorage
OphthalmicPhotography16BitImageStorage = _gdcmswig.UIDs_OphthalmicPhotography16BitImageStorage
StereometricRelationshipStorage = _gdcmswig.UIDs_StereometricRelationshipStorage
OphthalmicTomographyImageStorage = _gdcmswig.UIDs_OphthalmicTomographyImageStorage
TextSRStorageTrialRetired = _gdcmswig.UIDs_TextSRStorageTrialRetired
AudioSRStorageTrialRetired = _gdcmswig.UIDs_AudioSRStorageTrialRetired
DetailSRStorageTrialRetired = _gdcmswig.UIDs_DetailSRStorageTrialRetired
ComprehensiveSRStorageTrialRetired = _gdcmswig.UIDs_ComprehensiveSRStorageTrialRetired
BasicTextSRStorage = _gdcmswig.UIDs_BasicTextSRStorage
EnhancedSRStorage = _gdcmswig.UIDs_EnhancedSRStorage
ComprehensiveSRStorage = _gdcmswig.UIDs_ComprehensiveSRStorage
ProcedureLogStorage = _gdcmswig.UIDs_ProcedureLogStorage
MammographyCADSRStorage = _gdcmswig.UIDs_MammographyCADSRStorage
KeyObjectSelectionDocumentStorage = _gdcmswig.UIDs_KeyObjectSelectionDocumentStorage
ChestCADSRStorage = _gdcmswig.UIDs_ChestCADSRStorage
XRayRadiationDoseSRStorage = _gdcmswig.UIDs_XRayRadiationDoseSRStorage
EncapsulatedPDFStorage = _gdcmswig.UIDs_EncapsulatedPDFStorage
EncapsulatedCDAStorage = _gdcmswig.UIDs_EncapsulatedCDAStorage
PositronEmissionTomographyImageStorage = _gdcmswig.UIDs_PositronEmissionTomographyImageStorage
StandalonePETCurveStorageRetired = _gdcmswig.UIDs_StandalonePETCurveStorageRetired
RTImageStorage = _gdcmswig.UIDs_RTImageStorage
RTDoseStorage = _gdcmswig.UIDs_RTDoseStorage
RTStructureSetStorage = _gdcmswig.UIDs_RTStructureSetStorage
RTBeamsTreatmentRecordStorage = _gdcmswig.UIDs_RTBeamsTreatmentRecordStorage
RTPlanStorage = _gdcmswig.UIDs_RTPlanStorage
RTBrachyTreatmentRecordStorage = _gdcmswig.UIDs_RTBrachyTreatmentRecordStorage
RTTreatmentSummaryRecordStorage = _gdcmswig.UIDs_RTTreatmentSummaryRecordStorage
RTIonPlanStorage = _gdcmswig.UIDs_RTIonPlanStorage
RTIonBeamsTreatmentRecordStorage = _gdcmswig.UIDs_RTIonBeamsTreatmentRecordStorage
PatientRootQueryRetrieveInformationModelFIND = _gdcmswig.UIDs_PatientRootQueryRetrieveInformationModelFIND
PatientRootQueryRetrieveInformationModelMOVE = _gdcmswig.UIDs_PatientRootQueryRetrieveInformationModelMOVE
PatientRootQueryRetrieveInformationModelGET = _gdcmswig.UIDs_PatientRootQueryRetrieveInformationModelGET
StudyRootQueryRetrieveInformationModelFIND = _gdcmswig.UIDs_StudyRootQueryRetrieveInformationModelFIND
StudyRootQueryRetrieveInformationModelMOVE = _gdcmswig.UIDs_StudyRootQueryRetrieveInformationModelMOVE
StudyRootQueryRetrieveInformationModelGET = _gdcmswig.UIDs_StudyRootQueryRetrieveInformationModelGET
PatientStudyOnlyQueryRetrieveInformationModelFINDRetired = _gdcmswig.UIDs_PatientStudyOnlyQueryRetrieveInformationModelFINDRetired
PatientStudyOnlyQueryRetrieveInformationModelMOVERetired = _gdcmswig.UIDs_PatientStudyOnlyQueryRetrieveInformationModelMOVERetired
PatientStudyOnlyQueryRetrieveInformationModelGETRetired = _gdcmswig.UIDs_PatientStudyOnlyQueryRetrieveInformationModelGETRetired
ModalityWorklistInformationModelFIND = _gdcmswig.UIDs_ModalityWorklistInformationModelFIND
GeneralPurposeWorklistInformationModelFIND = _gdcmswig.UIDs_GeneralPurposeWorklistInformationModelFIND
GeneralPurposeScheduledProcedureStepSOPClass = _gdcmswig.UIDs_GeneralPurposeScheduledProcedureStepSOPClass
GeneralPurposePerformedProcedureStepSOPClass = _gdcmswig.UIDs_GeneralPurposePerformedProcedureStepSOPClass
GeneralPurposeWorklistManagementMetaSOPClass = _gdcmswig.UIDs_GeneralPurposeWorklistManagementMetaSOPClass
InstanceAvailabilityNotificationSOPClass = _gdcmswig.UIDs_InstanceAvailabilityNotificationSOPClass
RTBeamsDeliveryInstructionStorageSupplement74FrozenDraft = _gdcmswig.UIDs_RTBeamsDeliveryInstructionStorageSupplement74FrozenDraft
RTConventionalMachineVerificationSupplement74FrozenDraft = _gdcmswig.UIDs_RTConventionalMachineVerificationSupplement74FrozenDraft
RTIonMachineVerificationSupplement74FrozenDraft = _gdcmswig.UIDs_RTIonMachineVerificationSupplement74FrozenDraft
UnifiedWorklistandProcedureStepServiceClass = _gdcmswig.UIDs_UnifiedWorklistandProcedureStepServiceClass
UnifiedProcedureStepPushSOPClass = _gdcmswig.UIDs_UnifiedProcedureStepPushSOPClass
UnifiedProcedureStepWatchSOPClass = _gdcmswig.UIDs_UnifiedProcedureStepWatchSOPClass
UnifiedProcedureStepPullSOPClass = _gdcmswig.UIDs_UnifiedProcedureStepPullSOPClass
UnifiedProcedureStepEventSOPClass = _gdcmswig.UIDs_UnifiedProcedureStepEventSOPClass
UnifiedWorklistandProcedureStepSOPInstance = _gdcmswig.UIDs_UnifiedWorklistandProcedureStepSOPInstance
GeneralRelevantPatientInformationQuery = _gdcmswig.UIDs_GeneralRelevantPatientInformationQuery
BreastImagingRelevantPatientInformationQuery = _gdcmswig.UIDs_BreastImagingRelevantPatientInformationQuery
CardiacRelevantPatientInformationQuery = _gdcmswig.UIDs_CardiacRelevantPatientInformationQuery
HangingProtocolStorage = _gdcmswig.UIDs_HangingProtocolStorage
HangingProtocolInformationModelFIND = _gdcmswig.UIDs_HangingProtocolInformationModelFIND
HangingProtocolInformationModelMOVE = _gdcmswig.UIDs_HangingProtocolInformationModelMOVE
ProductCharacteristicsQuerySOPClass = _gdcmswig.UIDs_ProductCharacteristicsQuerySOPClass
SubstanceApprovalQuerySOPClass = _gdcmswig.UIDs_SubstanceApprovalQuerySOPClass
dicomDeviceName = _gdcmswig.UIDs_dicomDeviceName
dicomDescription = _gdcmswig.UIDs_dicomDescription
dicomManufacturer = _gdcmswig.UIDs_dicomManufacturer
dicomManufacturerModelName = _gdcmswig.UIDs_dicomManufacturerModelName
dicomSoftwareVersion = _gdcmswig.UIDs_dicomSoftwareVersion
dicomVendorData = _gdcmswig.UIDs_dicomVendorData
dicomAETitle = _gdcmswig.UIDs_dicomAETitle
dicomNetworkConnectionReference = _gdcmswig.UIDs_dicomNetworkConnectionReference
dicomApplicationCluster = _gdcmswig.UIDs_dicomApplicationCluster
dicomAssociationInitiator = _gdcmswig.UIDs_dicomAssociationInitiator
dicomAssociationAcceptor = _gdcmswig.UIDs_dicomAssociationAcceptor
dicomHostname = _gdcmswig.UIDs_dicomHostname
dicomPort = _gdcmswig.UIDs_dicomPort
dicomSOPClass = _gdcmswig.UIDs_dicomSOPClass
dicomTransferRole = _gdcmswig.UIDs_dicomTransferRole
dicomTransferSyntax = _gdcmswig.UIDs_dicomTransferSyntax
dicomPrimaryDeviceType = _gdcmswig.UIDs_dicomPrimaryDeviceType
dicomRelatedDeviceReference = _gdcmswig.UIDs_dicomRelatedDeviceReference
dicomPreferredCalledAETitle = _gdcmswig.UIDs_dicomPreferredCalledAETitle
dicomTLSCyphersuite = _gdcmswig.UIDs_dicomTLSCyphersuite
dicomAuthorizedNodeCertificateReference = _gdcmswig.UIDs_dicomAuthorizedNodeCertificateReference
dicomThisNodeCertificateReference = _gdcmswig.UIDs_dicomThisNodeCertificateReference
dicomInstalled = _gdcmswig.UIDs_dicomInstalled
dicomStationName = _gdcmswig.UIDs_dicomStationName
dicomDeviceSerialNumber = _gdcmswig.UIDs_dicomDeviceSerialNumber
dicomInstitutionName = _gdcmswig.UIDs_dicomInstitutionName
dicomInstitutionAddress = _gdcmswig.UIDs_dicomInstitutionAddress
dicomInstitutionDepartmentName = _gdcmswig.UIDs_dicomInstitutionDepartmentName
dicomIssuerOfPatientID = _gdcmswig.UIDs_dicomIssuerOfPatientID
dicomPreferredCallingAETitle = _gdcmswig.UIDs_dicomPreferredCallingAETitle
dicomSupportedCharacterSet = _gdcmswig.UIDs_dicomSupportedCharacterSet
dicomConfigurationRoot = _gdcmswig.UIDs_dicomConfigurationRoot
dicomDevicesRoot = _gdcmswig.UIDs_dicomDevicesRoot
dicomUniqueAETitlesRegistryRoot = _gdcmswig.UIDs_dicomUniqueAETitlesRegistryRoot
dicomDevice = _gdcmswig.UIDs_dicomDevice
dicomNetworkAE = _gdcmswig.UIDs_dicomNetworkAE
dicomNetworkConnection = _gdcmswig.UIDs_dicomNetworkConnection
dicomUniqueAETitle = _gdcmswig.UIDs_dicomUniqueAETitle
dicomTransferCapability = _gdcmswig.UIDs_dicomTransferCapability
VLWholeSlideMicroscopyImageStorage = _gdcmswig.UIDs_VLWholeSlideMicroscopyImageStorage
EnhancedUSVolumeStorage = _gdcmswig.UIDs_EnhancedUSVolumeStorage
SurfaceSegmentationStorage = _gdcmswig.UIDs_SurfaceSegmentationStorage
BreastTomosynthesisImageStorage = _gdcmswig.UIDs_BreastTomosynthesisImageStorage
__swig_getmethods__["GetTransferSyntaxStrings"] = lambda x: _gdcmswig.UIDs_GetTransferSyntaxStrings
if _newclass:GetTransferSyntaxStrings = staticmethod(_gdcmswig.UIDs_GetTransferSyntaxStrings)
__swig_getmethods__["GetTransferSyntaxString"] = lambda x: _gdcmswig.UIDs_GetTransferSyntaxString
if _newclass:GetTransferSyntaxString = staticmethod(_gdcmswig.UIDs_GetTransferSyntaxString)
__swig_getmethods__["GetNumberOfTransferSyntaxStrings"] = lambda x: _gdcmswig.UIDs_GetNumberOfTransferSyntaxStrings
if _newclass:GetNumberOfTransferSyntaxStrings = staticmethod(_gdcmswig.UIDs_GetNumberOfTransferSyntaxStrings)
__swig_getmethods__["GetUIDString"] = lambda x: _gdcmswig.UIDs_GetUIDString
if _newclass:GetUIDString = staticmethod(_gdcmswig.UIDs_GetUIDString)
__swig_getmethods__["GetUIDName"] = lambda x: _gdcmswig.UIDs_GetUIDName
if _newclass:GetUIDName = staticmethod(_gdcmswig.UIDs_GetUIDName)
def SetFromUID(self, *args):
"""
bool
gdcm::UIDs::SetFromUID(const char *str)
Initialize object from a string (a uid number) return false on error,
and internal state is set to 0
"""
return _gdcmswig.UIDs_SetFromUID(self, *args)
def GetName(self):
"""
const char*
gdcm::UIDs::GetName() const
When object is Initialize function return the well known name
associated with uid return NULL when not initialized
"""
return _gdcmswig.UIDs_GetName(self)
def GetString(self):
"""
const char*
gdcm::UIDs::GetString() const
When object is Initialize function return the uid return NULL when not
initialized
"""
return _gdcmswig.UIDs_GetString(self)
def __str__(self): return _gdcmswig.UIDs___str__(self)
def __init__(self):
this = _gdcmswig.new_UIDs()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_UIDs
__del__ = lambda self : None;
UIDs_swigregister = _gdcmswig.UIDs_swigregister
UIDs_swigregister(UIDs)
def UIDs_GetTransferSyntaxStrings():
return _gdcmswig.UIDs_GetTransferSyntaxStrings()
UIDs_GetTransferSyntaxStrings = _gdcmswig.UIDs_GetTransferSyntaxStrings
def UIDs_GetTransferSyntaxString(*args):
return _gdcmswig.UIDs_GetTransferSyntaxString(*args)
UIDs_GetTransferSyntaxString = _gdcmswig.UIDs_GetTransferSyntaxString
def UIDs_GetNumberOfTransferSyntaxStrings():
return _gdcmswig.UIDs_GetNumberOfTransferSyntaxStrings()
UIDs_GetNumberOfTransferSyntaxStrings = _gdcmswig.UIDs_GetNumberOfTransferSyntaxStrings
def UIDs_GetUIDString(*args):
return _gdcmswig.UIDs_GetUIDString(*args)
UIDs_GetUIDString = _gdcmswig.UIDs_GetUIDString
def UIDs_GetUIDName(*args):
return _gdcmswig.UIDs_GetUIDName(*args)
UIDs_GetUIDName = _gdcmswig.UIDs_GetUIDName
class Sorter(_object):
"""
Sorter General class to do sorting using a custom function You simply
need to provide a function of type: Sorter::SortFunction.
WARNING: implementation details. For now there is no cache mechanism.
Which means that everytime you call Sort, all files specified as input
paramater are *read*
See: Scanner
C++ includes: gdcmSorter.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Sorter, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Sorter, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::Sorter::Sorter()
"""
this = _gdcmswig.new_Sorter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Sorter
__del__ = lambda self : None;
def Sort(self, *args):
"""
virtual bool
gdcm::Sorter::Sort(std::vector< std::string > const &filenames)
Typically the output of gdcm::Directory::GetFilenames().
"""
return _gdcmswig.Sorter_Sort(self, *args)
def GetFilenames(self):
"""
const
std::vector<std::string>& gdcm::Sorter::GetFilenames() const
Return the list of filenames as sorted by the specific algorithm used.
Empty by default (before Sort() is called)
"""
return _gdcmswig.Sorter_GetFilenames(self)
def Print(self, *args):
"""
void
gdcm::Sorter::Print(std::ostream &os) const
Print.
"""
return _gdcmswig.Sorter_Print(self, *args)
def AddSelect(self, *args):
"""
bool
gdcm::Sorter::AddSelect(Tag const &tag, const char *value)
UNSUPPORTED FOR NOW.
"""
return _gdcmswig.Sorter_AddSelect(self, *args)
def SetSortFunction(self, *args):
"""
void
gdcm::Sorter::SetSortFunction(SortFunction f)
"""
return _gdcmswig.Sorter_SetSortFunction(self, *args)
def StableSort(self, *args):
"""
virtual bool
gdcm::Sorter::StableSort(std::vector< std::string > const &filenames)
"""
return _gdcmswig.Sorter_StableSort(self, *args)
def __str__(self): return _gdcmswig.Sorter___str__(self)
Sorter_swigregister = _gdcmswig.Sorter_swigregister
Sorter_swigregister(Sorter)
class IPPSorter(Sorter):
"""
IPPSorter Implement a simple Image Position ( Patient) sorter, along
the Image Orientation ( Patient) direction. This algorithm does NOT
support duplicate and will FAIL in case of duplicate IPP.
WARNING: See special note for SetZSpacingTolerance when computing the
ZSpacing from the IPP of each DICOM files (default tolerance for
consistant spacing is: 1e-6mm) For more information on Spacing, and
how it is defined in DICOM, advanced users may refers to:
http://gdcm.sourceforge.net/wiki/index.php/Imager_Pixel_Spacing
Bug There are currently a couple of bugs in this implementation:
Gantry Tilt is not considered
C++ includes: gdcmIPPSorter.h
"""
__swig_setmethods__ = {}
for _s in [Sorter]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, IPPSorter, name, value)
__swig_getmethods__ = {}
for _s in [Sorter]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, IPPSorter, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::IPPSorter::IPPSorter() """
this = _gdcmswig.new_IPPSorter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_IPPSorter
__del__ = lambda self : None;
def Sort(self, *args):
"""
virtual bool
gdcm::IPPSorter::Sort(std::vector< std::string > const &filenames)
Main entry point to the sorter. It will execute the filter, option
should be set before running this function (SetZSpacingTolerance, ...)
Return value indicate if sorting could be achived. Warning this does
*NOT* imply that spacing is consistant, it only means the file are
sorted according to IPP You should check if ZSpacing is 0 or not to
deduce if file are actually a 3D volume
"""
return _gdcmswig.IPPSorter_Sort(self, *args)
def SetComputeZSpacing(self, *args):
"""
void
gdcm::IPPSorter::SetComputeZSpacing(bool b)
Functions related to Z-Spacing computation Set to true when sort
algorithm should also perform a regular Z-Spacing computation using
the Image Position ( Patient) Potential reason for failure: 1. ALL
slices are taken into account, if one slice if missing then ZSpacing
will be set to 0 since the spacing will not be found to be regular
along the Series
"""
return _gdcmswig.IPPSorter_SetComputeZSpacing(self, *args)
def SetZSpacingTolerance(self, *args):
"""
void
gdcm::IPPSorter::SetZSpacingTolerance(double tol)
2. Another reason for failure is that that Z-Spacing is only slightly
changing (eg 1e-3) along the serie, a human can determine that this is
ok and change the tolerance from its default value: 1e-6
"""
return _gdcmswig.IPPSorter_SetZSpacingTolerance(self, *args)
def GetZSpacingTolerance(self):
"""
double
gdcm::IPPSorter::GetZSpacingTolerance() const
"""
return _gdcmswig.IPPSorter_GetZSpacingTolerance(self)
def SetDirectionCosinesTolerance(self, *args):
"""
void gdcm::IPPSorter::SetDirectionCosinesTolerance(double tol)
Sometimes IOP along a series is slightly changing for example:
"0.999081\\\\0.0426953\\\\0.00369272\\\\-0.0419025\\\\0.955059\\\\0.293439",
"0.999081\\\\0.0426953\\\\0.00369275\\\\-0.0419025\\\\0.955059\\\\0.293439",
"0.999081\\\\0.0426952\\\\0.00369272\\\\-0.0419025\\\\0.955059\\\\0.293439",
We need an API to define the tolerance which is allowed. Internally
the cross vector of each direction cosines is computed. The tolerance
then define the the distance in between 1. to the dot product of those
cross vectors. In a perfect world this dot product is of course 1.0
which imply a DirectionCosines tolerance of exactly 0.0 (default).
"""
return _gdcmswig.IPPSorter_SetDirectionCosinesTolerance(self, *args)
def GetDirectionCosinesTolerance(self):
"""double gdcm::IPPSorter::GetDirectionCosinesTolerance() const """
return _gdcmswig.IPPSorter_GetDirectionCosinesTolerance(self)
def SetDropDuplicatePositions(self, *args):
"""
void gdcm::IPPSorter::SetDropDuplicatePositions(bool b)
Makes the IPPSorter ignore multiple images located at the same
position. Only the first occurence will be kept.
DropDuplicatePositions defaults to false.
"""
return _gdcmswig.IPPSorter_SetDropDuplicatePositions(self, *args)
def GetZSpacing(self):
"""
double
gdcm::IPPSorter::GetZSpacing() const
Read-only function to provide access to the computed value for the
Z-Spacing The ComputeZSpacing must have been set to true before
execution of sort algorithm. Call this function *after* calling
Sort(); Z-Spacing will be 0 on 2 occasions: Sorting simply failed,
potentially duplicate IPP => ZSpacing = 0
ZSpacing could not be computed (Z-Spacing is not constant, or
ZTolerance is too low)
"""
return _gdcmswig.IPPSorter_GetZSpacing(self)
def __str__(self): return _gdcmswig.IPPSorter___str__(self)
IPPSorter_swigregister = _gdcmswig.IPPSorter_swigregister
IPPSorter_swigregister(IPPSorter)
class Spectroscopy(_object):
"""
Spectroscopy class.
C++ includes: gdcmSpectroscopy.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Spectroscopy, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Spectroscopy, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Spectroscopy::Spectroscopy() """
this = _gdcmswig.new_Spectroscopy()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Spectroscopy
__del__ = lambda self : None;
Spectroscopy_swigregister = _gdcmswig.Spectroscopy_swigregister
Spectroscopy_swigregister(Spectroscopy)
class Printer(_object):
"""
Printer class.
C++ includes: gdcmPrinter.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Printer, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Printer, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Printer::Printer() """
this = _gdcmswig.new_Printer()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Printer
__del__ = lambda self : None;
def SetFile(self, *args):
"""
void
gdcm::Printer::SetFile(File const &f)
Set file.
"""
return _gdcmswig.Printer_SetFile(self, *args)
def SetColor(self, *args):
"""
void
gdcm::Printer::SetColor(bool c)
Set color mode or not.
"""
return _gdcmswig.Printer_SetColor(self, *args)
VERBOSE_STYLE = _gdcmswig.Printer_VERBOSE_STYLE
CONDENSED_STYLE = _gdcmswig.Printer_CONDENSED_STYLE
XML = _gdcmswig.Printer_XML
def SetStyle(self, *args):
"""
void
gdcm::Printer::SetStyle(PrintStyles ps)
Set PrintStyle value.
"""
return _gdcmswig.Printer_SetStyle(self, *args)
def GetPrintStyle(self):
"""
PrintStyles
gdcm::Printer::GetPrintStyle() const
Get PrintStyle value.
"""
return _gdcmswig.Printer_GetPrintStyle(self)
def Print(self, *args):
"""
void
gdcm::Printer::Print(std::ostream &os)
Print.
"""
return _gdcmswig.Printer_Print(self, *args)
def PrintDataSet(self, *args):
"""
void
gdcm::Printer::PrintDataSet(const DataSet &ds, std::ostream &os, const
std::string &s="")
Print an individual dataset.
"""
return _gdcmswig.Printer_PrintDataSet(self, *args)
Printer_swigregister = _gdcmswig.Printer_swigregister
Printer_swigregister(Printer)
class Dumper(Printer):
"""
Codec class.
Use it to simply dump value read from the file. No interpretation is
done. But it is real fast ! Almost no overhead
C++ includes: gdcmDumper.h
"""
__swig_setmethods__ = {}
for _s in [Printer]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Dumper, name, value)
__swig_getmethods__ = {}
for _s in [Printer]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Dumper, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::Dumper::Dumper()
"""
this = _gdcmswig.new_Dumper()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Dumper
__del__ = lambda self : None;
Dumper_swigregister = _gdcmswig.Dumper_swigregister
Dumper_swigregister(Dumper)
class Orientation(_object):
"""
class to handle Orientation
C++ includes: gdcmOrientation.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Orientation, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Orientation, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Orientation::Orientation() """
this = _gdcmswig.new_Orientation()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Orientation
__del__ = lambda self : None;
def Print(self, *args):
"""
void
gdcm::Orientation::Print(std::ostream &) const
Print.
"""
return _gdcmswig.Orientation_Print(self, *args)
UNKNOWN = _gdcmswig.Orientation_UNKNOWN
AXIAL = _gdcmswig.Orientation_AXIAL
CORONAL = _gdcmswig.Orientation_CORONAL
SAGITTAL = _gdcmswig.Orientation_SAGITTAL
OBLIQUE = _gdcmswig.Orientation_OBLIQUE
__swig_getmethods__["GetType"] = lambda x: _gdcmswig.Orientation_GetType
if _newclass:GetType = staticmethod(_gdcmswig.Orientation_GetType)
__swig_getmethods__["SetObliquityThresholdCosineValue"] = lambda x: _gdcmswig.Orientation_SetObliquityThresholdCosineValue
if _newclass:SetObliquityThresholdCosineValue = staticmethod(_gdcmswig.Orientation_SetObliquityThresholdCosineValue)
__swig_getmethods__["GetObliquityThresholdCosineValue"] = lambda x: _gdcmswig.Orientation_GetObliquityThresholdCosineValue
if _newclass:GetObliquityThresholdCosineValue = staticmethod(_gdcmswig.Orientation_GetObliquityThresholdCosineValue)
__swig_getmethods__["GetLabel"] = lambda x: _gdcmswig.Orientation_GetLabel
if _newclass:GetLabel = staticmethod(_gdcmswig.Orientation_GetLabel)
def __str__(self): return _gdcmswig.Orientation___str__(self)
Orientation_swigregister = _gdcmswig.Orientation_swigregister
Orientation_swigregister(Orientation)
def Orientation_GetType(*args):
return _gdcmswig.Orientation_GetType(*args)
Orientation_GetType = _gdcmswig.Orientation_GetType
def Orientation_SetObliquityThresholdCosineValue(*args):
return _gdcmswig.Orientation_SetObliquityThresholdCosineValue(*args)
Orientation_SetObliquityThresholdCosineValue = _gdcmswig.Orientation_SetObliquityThresholdCosineValue
def Orientation_GetObliquityThresholdCosineValue():
return _gdcmswig.Orientation_GetObliquityThresholdCosineValue()
Orientation_GetObliquityThresholdCosineValue = _gdcmswig.Orientation_GetObliquityThresholdCosineValue
def Orientation_GetLabel(*args):
return _gdcmswig.Orientation_GetLabel(*args)
Orientation_GetLabel = _gdcmswig.Orientation_GetLabel
class DirectionCosines(_object):
"""
class to handle DirectionCosines
C++ includes: gdcmDirectionCosines.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DirectionCosines, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DirectionCosines, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""gdcm::DirectionCosines::DirectionCosines(const double dircos[6]) """
this = _gdcmswig.new_DirectionCosines(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_DirectionCosines
__del__ = lambda self : None;
def Print(self, *args):
"""
void
gdcm::DirectionCosines::Print(std::ostream &) const
Print.
"""
return _gdcmswig.DirectionCosines_Print(self, *args)
def Cross(self, *args):
"""
void
gdcm::DirectionCosines::Cross(double z[3]) const
Compute Cross product.
"""
return _gdcmswig.DirectionCosines_Cross(self, *args)
def Dot(self):
"""
double
gdcm::DirectionCosines::Dot() const
Compute Dot.
"""
return _gdcmswig.DirectionCosines_Dot(self)
def Normalize(self):
"""
void
gdcm::DirectionCosines::Normalize()
Normalize in-place.
"""
return _gdcmswig.DirectionCosines_Normalize(self)
def IsValid(self):
"""
bool
gdcm::DirectionCosines::IsValid() const
Return whether or not this is a valid direction cosines.
"""
return _gdcmswig.DirectionCosines_IsValid(self)
def SetFromString(self, *args):
"""
bool
gdcm::DirectionCosines::SetFromString(const char *str)
Initialize from string str. It requires 6 floating point separated by
a backslash character.
"""
return _gdcmswig.DirectionCosines_SetFromString(self, *args)
def CrossDot(self, *args):
"""
double
gdcm::DirectionCosines::CrossDot(DirectionCosines const &dc) const
Compute the Dot product of the two cross vector of both
DirectionCosines object.
"""
return _gdcmswig.DirectionCosines_CrossDot(self, *args)
def ComputeDistAlongNormal(self, *args):
"""
double gdcm::DirectionCosines::ComputeDistAlongNormal(const double
ipp[3]) const
Compute the distance along the normal.
"""
return _gdcmswig.DirectionCosines_ComputeDistAlongNormal(self, *args)
def __str__(self): return _gdcmswig.DirectionCosines___str__(self)
DirectionCosines_swigregister = _gdcmswig.DirectionCosines_swigregister
DirectionCosines_swigregister(DirectionCosines)
class Fiducials(_object):
"""
Fiducials.
C++ includes: gdcmFiducials.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Fiducials, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Fiducials, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Fiducials::Fiducials() """
this = _gdcmswig.new_Fiducials()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Fiducials
__del__ = lambda self : None;
Fiducials_swigregister = _gdcmswig.Fiducials_swigregister
Fiducials_swigregister(Fiducials)
class Waveform(_object):
"""
Waveform class.
C++ includes: gdcmWaveform.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Waveform, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Waveform, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Waveform::Waveform() """
this = _gdcmswig.new_Waveform()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Waveform
__del__ = lambda self : None;
Waveform_swigregister = _gdcmswig.Waveform_swigregister
Waveform_swigregister(Waveform)
class PersonName(_object):
"""
PersonName class.
C++ includes: gdcmPersonName.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PersonName, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PersonName, name)
__repr__ = _swig_repr
MaxNumberOfComponents = _gdcmswig.PersonName_MaxNumberOfComponents
MaxLength = _gdcmswig.PersonName_MaxLength
__swig_setmethods__["Component"] = _gdcmswig.PersonName_Component_set
__swig_getmethods__["Component"] = _gdcmswig.PersonName_Component_get
if _newclass:Component = _swig_property(_gdcmswig.PersonName_Component_get, _gdcmswig.PersonName_Component_set)
Separator = _gdcmswig.PersonName_Separator
Padding = _gdcmswig.PersonName_Padding
def GetNumberOfComponents(self):
"""unsigned int gdcm::PersonName::GetNumberOfComponents() const """
return _gdcmswig.PersonName_GetNumberOfComponents(self)
def GetMaxLength(self):
"""
unsigned int
gdcm::PersonName::GetMaxLength() const
"""
return _gdcmswig.PersonName_GetMaxLength(self)
def SetBlob(self, *args):
"""
void
gdcm::PersonName::SetBlob(const std::vector< char > &v)
"""
return _gdcmswig.PersonName_SetBlob(self, *args)
def SetComponents(self, *args):
"""
void
gdcm::PersonName::SetComponents(const char *comp1="", const char
*comp2="", const char *comp3="", const char *comp4="", const
char *comp5="")
"""
return _gdcmswig.PersonName_SetComponents(self, *args)
def Print(self, *args):
"""
void
gdcm::PersonName::Print(std::ostream &os) const
"""
return _gdcmswig.PersonName_Print(self, *args)
def __init__(self):
this = _gdcmswig.new_PersonName()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_PersonName
__del__ = lambda self : None;
PersonName_swigregister = _gdcmswig.PersonName_swigregister
PersonName_swigregister(PersonName)
class Curve(Object):
"""
Curve class to handle element 50xx,3000 Curve Data WARNING: This is
deprecated and lastly defined in PS 3.3 - 2004.
Examples: GE_DLX-8-MONO2-Multiframe-Jpeg_Lossless.dcm
GE_DLX-8-MONO2-Multiframe.dcm
gdcmSampleData/Philips_Medical_Images/integris_HV_5000/xa_integris.dcm
TOSHIBA-CurveData[1-3].dcm
C++ includes: gdcmCurve.h
"""
__swig_setmethods__ = {}
for _s in [Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, Curve, name, value)
__swig_getmethods__ = {}
for _s in [Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, Curve, name)
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_Curve
__del__ = lambda self : None;
def Print(self, *args):
"""
void
gdcm::Curve::Print(std::ostream &) const
"""
return _gdcmswig.Curve_Print(self, *args)
def GetAsPoints(self, *args):
"""
void
gdcm::Curve::GetAsPoints(float *array) const
"""
return _gdcmswig.Curve_GetAsPoints(self, *args)
__swig_getmethods__["GetNumberOfCurves"] = lambda x: _gdcmswig.Curve_GetNumberOfCurves
if _newclass:GetNumberOfCurves = staticmethod(_gdcmswig.Curve_GetNumberOfCurves)
def Update(self, *args):
"""
void
gdcm::Curve::Update(const DataElement &de)
"""
return _gdcmswig.Curve_Update(self, *args)
def SetGroup(self, *args):
"""
void
gdcm::Curve::SetGroup(unsigned short group)
"""
return _gdcmswig.Curve_SetGroup(self, *args)
def GetGroup(self):
"""
unsigned short
gdcm::Curve::GetGroup() const
"""
return _gdcmswig.Curve_GetGroup(self)
def SetDimensions(self, *args):
"""
void
gdcm::Curve::SetDimensions(unsigned short dimensions)
"""
return _gdcmswig.Curve_SetDimensions(self, *args)
def GetDimensions(self):
"""
unsigned short
gdcm::Curve::GetDimensions() const
"""
return _gdcmswig.Curve_GetDimensions(self)
def SetNumberOfPoints(self, *args):
"""
void
gdcm::Curve::SetNumberOfPoints(unsigned short numberofpoints)
"""
return _gdcmswig.Curve_SetNumberOfPoints(self, *args)
def GetNumberOfPoints(self):
"""
unsigned short
gdcm::Curve::GetNumberOfPoints() const
"""
return _gdcmswig.Curve_GetNumberOfPoints(self)
def SetTypeOfData(self, *args):
"""
void
gdcm::Curve::SetTypeOfData(const char *typeofdata)
"""
return _gdcmswig.Curve_SetTypeOfData(self, *args)
def GetTypeOfData(self):
"""
const char*
gdcm::Curve::GetTypeOfData() const
"""
return _gdcmswig.Curve_GetTypeOfData(self)
def GetTypeOfDataDescription(self):
"""
const
char* gdcm::Curve::GetTypeOfDataDescription() const
"""
return _gdcmswig.Curve_GetTypeOfDataDescription(self)
def SetCurveDescription(self, *args):
"""
void
gdcm::Curve::SetCurveDescription(const char *curvedescription)
"""
return _gdcmswig.Curve_SetCurveDescription(self, *args)
def SetDataValueRepresentation(self, *args):
"""
void
gdcm::Curve::SetDataValueRepresentation(unsigned short
datavaluerepresentation)
"""
return _gdcmswig.Curve_SetDataValueRepresentation(self, *args)
def GetDataValueRepresentation(self):
"""unsigned short gdcm::Curve::GetDataValueRepresentation() const """
return _gdcmswig.Curve_GetDataValueRepresentation(self)
def SetCurveDataDescriptor(self, *args):
"""
void
gdcm::Curve::SetCurveDataDescriptor(const uint16_t *values, size_t
num)
"""
return _gdcmswig.Curve_SetCurveDataDescriptor(self, *args)
def GetCurveDataDescriptor(self):
"""
std::vector<unsigned short> const&
gdcm::Curve::GetCurveDataDescriptor() const
"""
return _gdcmswig.Curve_GetCurveDataDescriptor(self)
def SetCoordinateStartValue(self, *args):
"""
void
gdcm::Curve::SetCoordinateStartValue(unsigned short v)
"""
return _gdcmswig.Curve_SetCoordinateStartValue(self, *args)
def SetCoordinateStepValue(self, *args):
"""
void
gdcm::Curve::SetCoordinateStepValue(unsigned short v)
"""
return _gdcmswig.Curve_SetCoordinateStepValue(self, *args)
def SetCurve(self, *args):
"""
void
gdcm::Curve::SetCurve(const char *array, unsigned int length)
"""
return _gdcmswig.Curve_SetCurve(self, *args)
def IsEmpty(self):
"""
bool
gdcm::Curve::IsEmpty() const
"""
return _gdcmswig.Curve_IsEmpty(self)
def Decode(self, *args):
"""
void
gdcm::Curve::Decode(std::istream &is, std::ostream &os)
"""
return _gdcmswig.Curve_Decode(self, *args)
def __init__(self, *args):
"""
gdcm::Curve::Curve(Curve
const &ov)
"""
this = _gdcmswig.new_Curve(*args)
try: self.this.append(this)
except: self.this = this
Curve_swigregister = _gdcmswig.Curve_swigregister
Curve_swigregister(Curve)
def Curve_GetNumberOfCurves(*args):
return _gdcmswig.Curve_GetNumberOfCurves(*args)
Curve_GetNumberOfCurves = _gdcmswig.Curve_GetNumberOfCurves
class DICOMDIR(_object):
"""
DICOMDIR class.
Structured for handling DICOMDIR
C++ includes: gdcmDICOMDIR.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DICOMDIR, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DICOMDIR, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""gdcm::DICOMDIR::DICOMDIR(const FileSet &fs) """
this = _gdcmswig.new_DICOMDIR(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_DICOMDIR
__del__ = lambda self : None;
DICOMDIR_swigregister = _gdcmswig.DICOMDIR_swigregister
DICOMDIR_swigregister(DICOMDIR)
class Validate(_object):
"""
Validate class.
C++ includes: gdcmValidate.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Validate, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Validate, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Validate::Validate() """
this = _gdcmswig.new_Validate()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Validate
__del__ = lambda self : None;
def SetFile(self, *args):
"""
void
gdcm::Validate::SetFile(File const &f)
"""
return _gdcmswig.Validate_SetFile(self, *args)
def GetValidatedFile(self):
"""
const File&
gdcm::Validate::GetValidatedFile()
"""
return _gdcmswig.Validate_GetValidatedFile(self)
def Validation(self):
"""
void
gdcm::Validate::Validation()
"""
return _gdcmswig.Validate_Validation(self)
Validate_swigregister = _gdcmswig.Validate_swigregister
Validate_swigregister(Validate)
class ApplicationEntity(_object):
"""
ApplicationEntity AE Application Entity
A string of characters that identifies an Application Entity with
leading and trailing spaces (20H) being non-significant. A value
consisting solely of spaces shall not be used.
Default Character Repertoire excluding character code 5CH (the
BACKSLASH \\ in ISO-IR 6), and control characters LF, FF, CR and
ESC.
16 bytes maximum.
C++ includes: gdcmApplicationEntity.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ApplicationEntity, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ApplicationEntity, name)
__repr__ = _swig_repr
MaxNumberOfComponents = _gdcmswig.ApplicationEntity_MaxNumberOfComponents
MaxLength = _gdcmswig.ApplicationEntity_MaxLength
__swig_setmethods__["Internal"] = _gdcmswig.ApplicationEntity_Internal_set
__swig_getmethods__["Internal"] = _gdcmswig.ApplicationEntity_Internal_get
if _newclass:Internal = _swig_property(_gdcmswig.ApplicationEntity_Internal_get, _gdcmswig.ApplicationEntity_Internal_set)
Separator = _gdcmswig.ApplicationEntity_Separator
Padding = _gdcmswig.ApplicationEntity_Padding
def IsValid(self):
"""
bool
gdcm::ApplicationEntity::IsValid() const
"""
return _gdcmswig.ApplicationEntity_IsValid(self)
def Squeeze(self):
"""
void
gdcm::ApplicationEntity::Squeeze()
"""
return _gdcmswig.ApplicationEntity_Squeeze(self)
def SetBlob(self, *args):
"""
void
gdcm::ApplicationEntity::SetBlob(const std::vector< char > &v)
"""
return _gdcmswig.ApplicationEntity_SetBlob(self, *args)
def Print(self, *args):
"""
void
gdcm::ApplicationEntity::Print(std::ostream &os) const
"""
return _gdcmswig.ApplicationEntity_Print(self, *args)
def __init__(self):
this = _gdcmswig.new_ApplicationEntity()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ApplicationEntity
__del__ = lambda self : None;
ApplicationEntity_swigregister = _gdcmswig.ApplicationEntity_swigregister
ApplicationEntity_swigregister(ApplicationEntity)
class DictPrinter(Printer):
"""
DictPrinter class.
C++ includes: gdcmDictPrinter.h
"""
__swig_setmethods__ = {}
for _s in [Printer]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, DictPrinter, name, value)
__swig_getmethods__ = {}
for _s in [Printer]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, DictPrinter, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::DictPrinter::DictPrinter() """
this = _gdcmswig.new_DictPrinter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_DictPrinter
__del__ = lambda self : None;
def Print(self, *args):
"""
void
gdcm::DictPrinter::Print(std::ostream &os)
Print.
"""
return _gdcmswig.DictPrinter_Print(self, *args)
DictPrinter_swigregister = _gdcmswig.DictPrinter_swigregister
DictPrinter_swigregister(DictPrinter)
class FilenameGenerator(_object):
"""
FilenameGenerator.
class to generate filenames based on a pattern (C-style)
Output will be:
for i = 0, number of filenames: outfilename[i] = prefix + (pattern %
i)
where pattern % i means C-style snprintf of Pattern using value 'i'
C++ includes: gdcmFilenameGenerator.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, FilenameGenerator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, FilenameGenerator, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::FilenameGenerator::FilenameGenerator() """
this = _gdcmswig.new_FilenameGenerator()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_FilenameGenerator
__del__ = lambda self : None;
def SetPattern(self, *args):
"""
void
gdcm::FilenameGenerator::SetPattern(const char *pattern)
Set/Get pattern.
"""
return _gdcmswig.FilenameGenerator_SetPattern(self, *args)
def GetPattern(self):
"""
const
char* gdcm::FilenameGenerator::GetPattern() const
"""
return _gdcmswig.FilenameGenerator_GetPattern(self)
def SetPrefix(self, *args):
"""
void
gdcm::FilenameGenerator::SetPrefix(const char *prefix)
Set/Get prefix.
"""
return _gdcmswig.FilenameGenerator_SetPrefix(self, *args)
def GetPrefix(self):
"""
const
char* gdcm::FilenameGenerator::GetPrefix() const
"""
return _gdcmswig.FilenameGenerator_GetPrefix(self)
def Generate(self):
"""
bool
gdcm::FilenameGenerator::Generate()
Generate (return success).
"""
return _gdcmswig.FilenameGenerator_Generate(self)
def SetNumberOfFilenames(self, *args):
"""
void gdcm::FilenameGenerator::SetNumberOfFilenames(SizeType nfiles)
Set/Get the number of filenames to generate.
"""
return _gdcmswig.FilenameGenerator_SetNumberOfFilenames(self, *args)
def GetNumberOfFilenames(self):
"""SizeType gdcm::FilenameGenerator::GetNumberOfFilenames() const """
return _gdcmswig.FilenameGenerator_GetNumberOfFilenames(self)
def GetFilename(self, *args):
"""
const
char* gdcm::FilenameGenerator::GetFilename(SizeType n) const
Get a particular filename (call after Generate).
"""
return _gdcmswig.FilenameGenerator_GetFilename(self, *args)
def GetFilenames(self):
"""
FilenamesType const& gdcm::FilenameGenerator::GetFilenames() const
Return all filenames.
"""
return _gdcmswig.FilenameGenerator_GetFilenames(self)
FilenameGenerator_swigregister = _gdcmswig.FilenameGenerator_swigregister
FilenameGenerator_swigregister(FilenameGenerator)
class Version(_object):
"""
major/minor and build version
C++ includes: gdcmVersion.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Version, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Version, name)
__repr__ = _swig_repr
__swig_getmethods__["GetVersion"] = lambda x: _gdcmswig.Version_GetVersion
if _newclass:GetVersion = staticmethod(_gdcmswig.Version_GetVersion)
__swig_getmethods__["GetMajorVersion"] = lambda x: _gdcmswig.Version_GetMajorVersion
if _newclass:GetMajorVersion = staticmethod(_gdcmswig.Version_GetMajorVersion)
__swig_getmethods__["GetMinorVersion"] = lambda x: _gdcmswig.Version_GetMinorVersion
if _newclass:GetMinorVersion = staticmethod(_gdcmswig.Version_GetMinorVersion)
__swig_getmethods__["GetBuildVersion"] = lambda x: _gdcmswig.Version_GetBuildVersion
if _newclass:GetBuildVersion = staticmethod(_gdcmswig.Version_GetBuildVersion)
def Print(self, *args):
"""
void
gdcm::Version::Print(std::ostream &os=std::cout) const
"""
return _gdcmswig.Version_Print(self, *args)
def __init__(self):
"""gdcm::Version::Version() """
this = _gdcmswig.new_Version()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Version
__del__ = lambda self : None;
def __str__(self): return _gdcmswig.Version___str__(self)
Version_swigregister = _gdcmswig.Version_swigregister
Version_swigregister(Version)
def Version_GetVersion():
return _gdcmswig.Version_GetVersion()
Version_GetVersion = _gdcmswig.Version_GetVersion
def Version_GetMajorVersion():
return _gdcmswig.Version_GetMajorVersion()
Version_GetMajorVersion = _gdcmswig.Version_GetMajorVersion
def Version_GetMinorVersion():
return _gdcmswig.Version_GetMinorVersion()
Version_GetMinorVersion = _gdcmswig.Version_GetMinorVersion
def Version_GetBuildVersion():
return _gdcmswig.Version_GetBuildVersion()
Version_GetBuildVersion = _gdcmswig.Version_GetBuildVersion
class Filename(_object):
"""
Class to manipulate file name's.
OS independant representation of a filename (to query path, name and
extension from a filename)
C++ includes: gdcmFilename.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Filename, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Filename, name)
__repr__ = _swig_repr
def __init__(self, filename=""):
"""gdcm::Filename::Filename(const char *filename="") """
this = _gdcmswig.new_Filename(filename)
try: self.this.append(this)
except: self.this = this
def GetFileName(self):
"""
const char*
gdcm::Filename::GetFileName() const
Return the full filename.
"""
return _gdcmswig.Filename_GetFileName(self)
def GetPath(self):
"""
const char*
gdcm::Filename::GetPath()
Return only the path component of a filename.
"""
return _gdcmswig.Filename_GetPath(self)
def GetName(self):
"""
const char*
gdcm::Filename::GetName()
return only the name part of a filename
"""
return _gdcmswig.Filename_GetName(self)
def GetExtension(self):
"""
const char*
gdcm::Filename::GetExtension()
return only the extension part of a filename
"""
return _gdcmswig.Filename_GetExtension(self)
def ToUnixSlashes(self):
"""
const char*
gdcm::Filename::ToUnixSlashes()
Convert backslash (windows style) to UNIX style slash.
"""
return _gdcmswig.Filename_ToUnixSlashes(self)
def ToWindowsSlashes(self):
"""
const char*
gdcm::Filename::ToWindowsSlashes()
Convert foward slash (UNIX style) to windows style slash.
"""
return _gdcmswig.Filename_ToWindowsSlashes(self)
__swig_getmethods__["Join"] = lambda x: _gdcmswig.Filename_Join
if _newclass:Join = staticmethod(_gdcmswig.Filename_Join)
def IsEmpty(self):
"""
bool
gdcm::Filename::IsEmpty() const
return whether the filename is empty
"""
return _gdcmswig.Filename_IsEmpty(self)
def IsIdentical(self, *args):
"""
bool
gdcm::Filename::IsIdentical(Filename const &fn) const
"""
return _gdcmswig.Filename_IsIdentical(self, *args)
def EndWith(self, *args):
"""
bool
gdcm::Filename::EndWith(const char ending[]) const
Does the filename ends with a particular string ?
"""
return _gdcmswig.Filename_EndWith(self, *args)
__swig_destroy__ = _gdcmswig.delete_Filename
__del__ = lambda self : None;
Filename_swigregister = _gdcmswig.Filename_swigregister
Filename_swigregister(Filename)
def Filename_Join(*args):
return _gdcmswig.Filename_Join(*args)
Filename_Join = _gdcmswig.Filename_Join
class EnumeratedValues(_object):
"""
Element. A Data Element with Enumerated Values that does not have a
Value equivalent to one of the Values specified in this standard has
an invalid value within the scope of a specific Information Object/SOP
Class definition. Note: 1. Patient Sex (0010, 0040) is an example of a
Data Element having Enumerated Values. It is defined to have a Value
that is either "M", "F", or "O" (see PS 3.3). No other Value
shall be given to this Data Element. 2. Future modifications of this
standard may add to the set of allowed values for Data Elements with
Enumerated Values. Such additions by themselves may or may not require
a change in SOP Class UIDs, depending on the semantics of the Data
Element.
C++ includes: gdcmEnumeratedValues.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, EnumeratedValues, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, EnumeratedValues, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::EnumeratedValues::EnumeratedValues() """
this = _gdcmswig.new_EnumeratedValues()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_EnumeratedValues
__del__ = lambda self : None;
EnumeratedValues_swigregister = _gdcmswig.EnumeratedValues_swigregister
EnumeratedValues_swigregister(EnumeratedValues)
class Patient(_object):
"""
See PS 3.3 - 2007 DICOM MODEL OF THE REAL-WORLD, p 54.
C++ includes: gdcmPatient.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Patient, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Patient, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Patient::Patient() """
this = _gdcmswig.new_Patient()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Patient
__del__ = lambda self : None;
Patient_swigregister = _gdcmswig.Patient_swigregister
Patient_swigregister(Patient)
class Study(_object):
"""
Study.
C++ includes: gdcmStudy.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Study, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Study, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Study::Study() """
this = _gdcmswig.new_Study()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Study
__del__ = lambda self : None;
Study_swigregister = _gdcmswig.Study_swigregister
Study_swigregister(Study)
class Usage(_object):
"""
Usage.
A.1.3 IOD Module Table and Functional Group Macro Table This Section
of each IOD defines in a tabular form the Modules comprising the IOD.
The following information must be specified for each Module in the
table: The name of the Module or Functional Group
A reference to the Section in Annex C which defines the Module or
Functional Group
The usage of the Module or Functional Group; whether it is:
Mandatory (see A.1.3.1) , abbreviated M
Conditional (see A.1.3.2) , abbreviated C
User Option (see A.1.3.3) , abbreviated U The Modules referenced are
defined in Annex C. A.1.3.1 MANDATORY MODULES For each IOD, Mandatory
Modules shall be supported per the definitions, semantics and
requirements defined in Annex C.
A.1.3.2 CONDITIONAL MODULES Conditional Modules are Mandatory Modules
if specific conditions are met. If the specified conditions are not
met, this Module shall not be supported; that is, no information
defined in that Module shall be sent. A.1.3.3 USER OPTION MODULES User
Option Modules may or may not be supported. If an optional Module is
supported, the Attribute Types specified in the Modules in Annex C
shall be supported.
C++ includes: gdcmUsage.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Usage, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Usage, name)
__repr__ = _swig_repr
Mandatory = _gdcmswig.Usage_Mandatory
Conditional = _gdcmswig.Usage_Conditional
UserOption = _gdcmswig.Usage_UserOption
Invalid = _gdcmswig.Usage_Invalid
def __init__(self, *args):
"""gdcm::Usage::Usage(UsageType type=Invalid) """
this = _gdcmswig.new_Usage(*args)
try: self.this.append(this)
except: self.this = this
__swig_getmethods__["GetUsageString"] = lambda x: _gdcmswig.Usage_GetUsageString
if _newclass:GetUsageString = staticmethod(_gdcmswig.Usage_GetUsageString)
__swig_getmethods__["GetUsageType"] = lambda x: _gdcmswig.Usage_GetUsageType
if _newclass:GetUsageType = staticmethod(_gdcmswig.Usage_GetUsageType)
__swig_destroy__ = _gdcmswig.delete_Usage
__del__ = lambda self : None;
Usage_swigregister = _gdcmswig.Usage_swigregister
Usage_swigregister(Usage)
def Usage_GetUsageString(*args):
return _gdcmswig.Usage_GetUsageString(*args)
Usage_GetUsageString = _gdcmswig.Usage_GetUsageString
def Usage_GetUsageType(*args):
return _gdcmswig.Usage_GetUsageType(*args)
Usage_GetUsageType = _gdcmswig.Usage_GetUsageType
class ModuleEntry(_object):
"""
Class for representing a ModuleEntry.
bla
See: DictEntry
C++ includes: gdcmModuleEntry.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ModuleEntry, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ModuleEntry, name)
__repr__ = _swig_repr
def __init__(self, name="", type="3", description=""):
"""
gdcm::ModuleEntry::ModuleEntry(const char *name="", const char
*type="3", const char *description="")
"""
this = _gdcmswig.new_ModuleEntry(name, type, description)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ModuleEntry
__del__ = lambda self : None;
def SetName(self, *args):
"""
void
gdcm::ModuleEntry::SetName(const char *name)
"""
return _gdcmswig.ModuleEntry_SetName(self, *args)
def GetName(self):
"""
const char*
gdcm::ModuleEntry::GetName() const
"""
return _gdcmswig.ModuleEntry_GetName(self)
def SetType(self, *args):
"""
void
gdcm::ModuleEntry::SetType(const Type &type)
"""
return _gdcmswig.ModuleEntry_SetType(self, *args)
def GetType(self):
"""
const Type&
gdcm::ModuleEntry::GetType() const
"""
return _gdcmswig.ModuleEntry_GetType(self)
def SetDescription(self, *args):
"""
void
gdcm::ModuleEntry::SetDescription(const char *d)
"""
return _gdcmswig.ModuleEntry_SetDescription(self, *args)
def GetDescription(self):
"""
const
Description& gdcm::ModuleEntry::GetDescription() const
"""
return _gdcmswig.ModuleEntry_GetDescription(self)
def __str__(self): return _gdcmswig.ModuleEntry___str__(self)
ModuleEntry_swigregister = _gdcmswig.ModuleEntry_swigregister
ModuleEntry_swigregister(ModuleEntry)
class NestedModuleEntries(ModuleEntry):
"""
Class for representing a NestedModuleEntries.
bla
See: ModuleEntry
C++ includes: gdcmNestedModuleEntries.h
"""
__swig_setmethods__ = {}
for _s in [ModuleEntry]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, NestedModuleEntries, name, value)
__swig_getmethods__ = {}
for _s in [ModuleEntry]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, NestedModuleEntries, name)
__repr__ = _swig_repr
def __init__(self, name="", type="3", description=""):
"""
gdcm::NestedModuleEntries::NestedModuleEntries(const char
*name="", const char *type="3", const char *description="")
"""
this = _gdcmswig.new_NestedModuleEntries(name, type, description)
try: self.this.append(this)
except: self.this = this
def GetNumberOfModuleEntries(self):
"""
SizeType
gdcm::NestedModuleEntries::GetNumberOfModuleEntries()
"""
return _gdcmswig.NestedModuleEntries_GetNumberOfModuleEntries(self)
def GetModuleEntry(self, *args):
"""
const ModuleEntry& gdcm::NestedModuleEntries::GetModuleEntry(SizeType
idx) const
"""
return _gdcmswig.NestedModuleEntries_GetModuleEntry(self, *args)
def AddModuleEntry(self, *args):
"""
void gdcm::NestedModuleEntries::AddModuleEntry(const ModuleEntry &me)
"""
return _gdcmswig.NestedModuleEntries_AddModuleEntry(self, *args)
__swig_destroy__ = _gdcmswig.delete_NestedModuleEntries
__del__ = lambda self : None;
NestedModuleEntries_swigregister = _gdcmswig.NestedModuleEntries_swigregister
NestedModuleEntries_swigregister(NestedModuleEntries)
class Macro(_object):
"""
Class for representing a Macro.
Attribute Macro: a set of Attributes that are described in a single
table that is referenced by multiple Module or other tables.
See: Module
C++ includes: gdcmMacro.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Macro, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Macro, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Macro::Macro() """
this = _gdcmswig.new_Macro()
try: self.this.append(this)
except: self.this = this
def Clear(self):
"""
void gdcm::Macro::Clear()
"""
return _gdcmswig.Macro_Clear(self)
def AddMacroEntry(self, *args):
"""
void
gdcm::Macro::AddMacroEntry(const Tag &tag, const MacroEntry &module)
Will add a ModuleEntry direcly at root-level. See Macro for nested-
included level.
"""
return _gdcmswig.Macro_AddMacroEntry(self, *args)
def FindMacroEntry(self, *args):
"""
bool
gdcm::Macro::FindMacroEntry(const Tag &tag) const
Find or Get a ModuleEntry. ModuleEntry are either search are root-
level or within nested-macro included in module.
"""
return _gdcmswig.Macro_FindMacroEntry(self, *args)
def GetMacroEntry(self, *args):
"""
const MacroEntry&
gdcm::Macro::GetMacroEntry(const Tag &tag) const
"""
return _gdcmswig.Macro_GetMacroEntry(self, *args)
def SetName(self, *args):
"""
void
gdcm::Macro::SetName(const char *name)
"""
return _gdcmswig.Macro_SetName(self, *args)
def GetName(self):
"""
const char*
gdcm::Macro::GetName() const
"""
return _gdcmswig.Macro_GetName(self)
def Verify(self, *args):
"""
bool
gdcm::Macro::Verify(const DataSet &ds, Usage const &usage) const
"""
return _gdcmswig.Macro_Verify(self, *args)
__swig_destroy__ = _gdcmswig.delete_Macro
__del__ = lambda self : None;
Macro_swigregister = _gdcmswig.Macro_swigregister
Macro_swigregister(Macro)
class Macros(_object):
"""
Class for representing a Modules.
bla
See: Module
C++ includes: gdcmMacros.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Macros, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Macros, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::Macros::Macros()
"""
this = _gdcmswig.new_Macros()
try: self.this.append(this)
except: self.this = this
def Clear(self):
"""
void
gdcm::Macros::Clear()
"""
return _gdcmswig.Macros_Clear(self)
def AddMacro(self, *args):
"""
void
gdcm::Macros::AddMacro(const char *ref, const Macro &module)
"""
return _gdcmswig.Macros_AddMacro(self, *args)
def GetMacro(self, *args):
"""
const Macro&
gdcm::Macros::GetMacro(const char *name) const
"""
return _gdcmswig.Macros_GetMacro(self, *args)
def IsEmpty(self):
"""
bool
gdcm::Macros::IsEmpty() const
"""
return _gdcmswig.Macros_IsEmpty(self)
__swig_destroy__ = _gdcmswig.delete_Macros
__del__ = lambda self : None;
Macros_swigregister = _gdcmswig.Macros_swigregister
Macros_swigregister(Macros)
class Module(_object):
"""
Class for representing a Module.
Module: A set of Attributes within an Information Entity or Normalized
IOD which are logically related to each other.
See: Macro
C++ includes: gdcmModule.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Module, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Module, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::Module::Module()
"""
this = _gdcmswig.new_Module()
try: self.this.append(this)
except: self.this = this
def Clear(self):
"""
void
gdcm::Module::Clear()
"""
return _gdcmswig.Module_Clear(self)
def AddModuleEntry(self, *args):
"""
void
gdcm::Module::AddModuleEntry(const Tag &tag, const ModuleEntry
&module)
Will add a ModuleEntry direcly at root-level. See Macro for nested-
included level.
"""
return _gdcmswig.Module_AddModuleEntry(self, *args)
def AddMacro(self, *args):
"""
void
gdcm::Module::AddMacro(const char *include)
"""
return _gdcmswig.Module_AddMacro(self, *args)
def FindModuleEntryInMacros(self, *args):
"""
bool
gdcm::Module::FindModuleEntryInMacros(Macros const ¯os, const Tag
&tag) const
Find or Get a ModuleEntry. ModuleEntry are either search are root-
level or within nested-macro included in module.
"""
return _gdcmswig.Module_FindModuleEntryInMacros(self, *args)
def GetModuleEntryInMacros(self, *args):
"""
const
ModuleEntry& gdcm::Module::GetModuleEntryInMacros(Macros const
¯os, const Tag &tag) const
"""
return _gdcmswig.Module_GetModuleEntryInMacros(self, *args)
def SetName(self, *args):
"""
void
gdcm::Module::SetName(const char *name)
"""
return _gdcmswig.Module_SetName(self, *args)
def GetName(self):
"""
const char*
gdcm::Module::GetName() const
"""
return _gdcmswig.Module_GetName(self)
def Verify(self, *args):
"""
bool
gdcm::Module::Verify(const DataSet &ds, Usage const &usage) const
"""
return _gdcmswig.Module_Verify(self, *args)
__swig_destroy__ = _gdcmswig.delete_Module
__del__ = lambda self : None;
Module_swigregister = _gdcmswig.Module_swigregister
Module_swigregister(Module)
class Modules(_object):
"""
Class for representing a Modules.
bla
See: Module
C++ includes: gdcmModules.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Modules, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Modules, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Modules::Modules() """
this = _gdcmswig.new_Modules()
try: self.this.append(this)
except: self.this = this
def Clear(self):
"""
void
gdcm::Modules::Clear()
"""
return _gdcmswig.Modules_Clear(self)
def AddModule(self, *args):
"""
void
gdcm::Modules::AddModule(const char *ref, const Module &module)
"""
return _gdcmswig.Modules_AddModule(self, *args)
def GetModule(self, *args):
"""
const Module&
gdcm::Modules::GetModule(const char *name) const
"""
return _gdcmswig.Modules_GetModule(self, *args)
def IsEmpty(self):
"""
bool
gdcm::Modules::IsEmpty() const
"""
return _gdcmswig.Modules_IsEmpty(self)
__swig_destroy__ = _gdcmswig.delete_Modules
__del__ = lambda self : None;
Modules_swigregister = _gdcmswig.Modules_swigregister
Modules_swigregister(Modules)
class Defs(_object):
"""
FIXME I do not like the name 'Defs'.
bla
C++ includes: gdcmDefs.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Defs, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Defs, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Defs::Defs() """
this = _gdcmswig.new_Defs()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Defs
__del__ = lambda self : None;
def GetModules(self, *args):
"""
Modules&
gdcm::Defs::GetModules()
"""
return _gdcmswig.Defs_GetModules(self, *args)
def GetMacros(self, *args):
"""
Macros&
gdcm::Defs::GetMacros()
"""
return _gdcmswig.Defs_GetMacros(self, *args)
def GetIODs(self, *args):
"""
const IODs&
gdcm::Defs::GetIODs() const
"""
return _gdcmswig.Defs_GetIODs(self, *args)
def IsEmpty(self):
"""
bool
gdcm::Defs::IsEmpty() const
"""
return _gdcmswig.Defs_IsEmpty(self)
def Verify(self, *args):
"""
bool
gdcm::Defs::Verify(const File &file) const
"""
return _gdcmswig.Defs_Verify(self, *args)
def GetTypeFromTag(self, *args):
"""
Type
gdcm::Defs::GetTypeFromTag(const File &file, const Tag &tag) const
"""
return _gdcmswig.Defs_GetTypeFromTag(self, *args)
__swig_getmethods__["GetIODNameFromMediaStorage"] = lambda x: _gdcmswig.Defs_GetIODNameFromMediaStorage
if _newclass:GetIODNameFromMediaStorage = staticmethod(_gdcmswig.Defs_GetIODNameFromMediaStorage)
def GetIODFromFile(self, *args):
"""
const IOD&
gdcm::Defs::GetIODFromFile(const File &file) const
"""
return _gdcmswig.Defs_GetIODFromFile(self, *args)
Defs_swigregister = _gdcmswig.Defs_swigregister
Defs_swigregister(Defs)
def Defs_GetIODNameFromMediaStorage(*args):
return _gdcmswig.Defs_GetIODNameFromMediaStorage(*args)
Defs_GetIODNameFromMediaStorage = _gdcmswig.Defs_GetIODNameFromMediaStorage
class IOD(_object):
"""
Class for representing a IOD.
bla
See: Dict
C++ includes: gdcmIOD.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, IOD, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, IOD, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::IOD::IOD() """
this = _gdcmswig.new_IOD()
try: self.this.append(this)
except: self.this = this
def Clear(self):
"""void gdcm::IOD::Clear() """
return _gdcmswig.IOD_Clear(self)
def AddIODEntry(self, *args):
"""
void
gdcm::IOD::AddIODEntry(const IODEntry &iode)
"""
return _gdcmswig.IOD_AddIODEntry(self, *args)
def GetNumberOfIODs(self):
"""
SizeType
gdcm::IOD::GetNumberOfIODs() const
"""
return _gdcmswig.IOD_GetNumberOfIODs(self)
def GetIODEntry(self, *args):
"""
const IODEntry&
gdcm::IOD::GetIODEntry(SizeType idx) const
"""
return _gdcmswig.IOD_GetIODEntry(self, *args)
def GetTypeFromTag(self, *args):
"""
Type
gdcm::IOD::GetTypeFromTag(const Defs &defs, const Tag &tag) const
"""
return _gdcmswig.IOD_GetTypeFromTag(self, *args)
__swig_destroy__ = _gdcmswig.delete_IOD
__del__ = lambda self : None;
IOD_swigregister = _gdcmswig.IOD_swigregister
IOD_swigregister(IOD)
class IODs(_object):
"""
Class for representing a IODs.
bla
See: IOD
C++ includes: gdcmIODs.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, IODs, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, IODs, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::IODs::IODs() """
this = _gdcmswig.new_IODs()
try: self.this.append(this)
except: self.this = this
def Clear(self):
"""void gdcm::IODs::Clear() """
return _gdcmswig.IODs_Clear(self)
def AddIOD(self, *args):
"""
void
gdcm::IODs::AddIOD(const char *name, const IOD &module)
"""
return _gdcmswig.IODs_AddIOD(self, *args)
def GetIOD(self, *args):
"""
const IOD&
gdcm::IODs::GetIOD(const char *name) const
"""
return _gdcmswig.IODs_GetIOD(self, *args)
def Begin(self):
"""
IODMapTypeConstIterator
gdcm::IODs::Begin() const
"""
return _gdcmswig.IODs_Begin(self)
def End(self):
"""
IODMapTypeConstIterator
gdcm::IODs::End() const
"""
return _gdcmswig.IODs_End(self)
__swig_destroy__ = _gdcmswig.delete_IODs
__del__ = lambda self : None;
IODs_swigregister = _gdcmswig.IODs_swigregister
IODs_swigregister(IODs)
class TableEntry(_object):
"""
TableEntry.
C++ includes: gdcmTableEntry.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, TableEntry, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, TableEntry, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
gdcm::TableEntry::TableEntry(const char *attribute=0, Type const
&type=Type(), const char *des=0)
"""
this = _gdcmswig.new_TableEntry(*args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_TableEntry
__del__ = lambda self : None;
TableEntry_swigregister = _gdcmswig.TableEntry_swigregister
TableEntry_swigregister(TableEntry)
class DefinedTerms(_object):
"""
Defined Terms are used when the specified explicit Values may be
extended by implementors to include additional new Values. These new
Values shall be specified in the Conformance Statement (see PS 3.2)
and shall not have the same meaning as currently defined Values in
this standard. A Data Element with Defined Terms that does not contain
a Value equivalent to one of the Values currently specified in this
standard shall not be considered to have an invalid value. Note:
Interpretation Type ID (4008,0210) is an example of a Data Element
having Defined Terms. It is defined to have a Value that may be one of
the set of standard Values; REPORT or AMENDMENT (see PS 3.3). Because
this Data Element has Defined Terms other Interpretation Type IDs may
be defined by the implementor.
C++ includes: gdcmDefinedTerms.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DefinedTerms, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DefinedTerms, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::DefinedTerms::DefinedTerms() """
this = _gdcmswig.new_DefinedTerms()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_DefinedTerms
__del__ = lambda self : None;
DefinedTerms_swigregister = _gdcmswig.DefinedTerms_swigregister
DefinedTerms_swigregister(DefinedTerms)
class Series(_object):
"""
Series.
C++ includes: gdcmSeries.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Series, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Series, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::Series::Series()
"""
this = _gdcmswig.new_Series()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Series
__del__ = lambda self : None;
Series_swigregister = _gdcmswig.Series_swigregister
Series_swigregister(Series)
class IODEntry(_object):
"""
Class for representing a IODEntry.
A.1.3 IOD Module Table and Functional Group Macro Table This Section
of each IOD defines in a tabular form the Modules comprising the IOD.
The following information must be specified for each Module in the
table: The name of the Module or Functional Group
A reference to the Section in Annex C which defines the Module or
Functional Group
The usage of the Module or Functional Group; whether it is:
Mandatory (see A.1.3.1) , abbreviated M
Conditional (see A.1.3.2) , abbreviated C
User Option (see A.1.3.3) , abbreviated U The Modules referenced are
defined in Annex C. A.1.3.1 MANDATORY MODULES For each IOD, Mandatory
Modules shall be supported per the definitions, semantics and
requirements defined in Annex C. PS 3.3 - 2008 Page 96
Standard - A.1.3.2 CONDITIONAL MODULES Conditional Modules are
Mandatory Modules if specific conditions are met. If the specified
conditions are not met, this Module shall not be supported; that is,
no information defined in that Module shall be sent. A.1.3.3 USER
OPTION MODULES User Option Modules may or may not be supported. If an
optional Module is supported, the Attribute Types specified in the
Modules in Annex C shall be supported.
See: DictEntry
C++ includes: gdcmIODEntry.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, IODEntry, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, IODEntry, name)
__repr__ = _swig_repr
def __init__(self, name="", ref="", usag=""):
"""
gdcm::IODEntry::IODEntry(const char *name="", const char *ref="",
const char *usag="")
"""
this = _gdcmswig.new_IODEntry(name, ref, usag)
try: self.this.append(this)
except: self.this = this
def SetIE(self, *args):
"""
void
gdcm::IODEntry::SetIE(const char *ie)
"""
return _gdcmswig.IODEntry_SetIE(self, *args)
def GetIE(self):
"""
const char*
gdcm::IODEntry::GetIE() const
"""
return _gdcmswig.IODEntry_GetIE(self)
def SetName(self, *args):
"""
void
gdcm::IODEntry::SetName(const char *name)
"""
return _gdcmswig.IODEntry_SetName(self, *args)
def GetName(self):
"""
const char*
gdcm::IODEntry::GetName() const
"""
return _gdcmswig.IODEntry_GetName(self)
def SetRef(self, *args):
"""
void
gdcm::IODEntry::SetRef(const char *ref)
"""
return _gdcmswig.IODEntry_SetRef(self, *args)
def GetRef(self):
"""
const char*
gdcm::IODEntry::GetRef() const
"""
return _gdcmswig.IODEntry_GetRef(self)
def SetUsage(self, *args):
"""
void
gdcm::IODEntry::SetUsage(const char *usag)
"""
return _gdcmswig.IODEntry_SetUsage(self, *args)
def GetUsage(self):
"""
const char*
gdcm::IODEntry::GetUsage() const
"""
return _gdcmswig.IODEntry_GetUsage(self)
def GetUsageType(self):
"""
Usage::UsageType
gdcm::IODEntry::GetUsageType() const
"""
return _gdcmswig.IODEntry_GetUsageType(self)
__swig_destroy__ = _gdcmswig.delete_IODEntry
__del__ = lambda self : None;
IODEntry_swigregister = _gdcmswig.IODEntry_swigregister
IODEntry_swigregister(IODEntry)
class Rescaler(_object):
"""
Rescale class This class is meant to apply the linear transform of
Stored Pixel Value to Real World Value. This is mostly found in CT or
PET dataset, where the value are stored using one type, but need to be
converted to another scale using a linear transform. There are
basically two cases: In CT: the linear transform is generally integer
based. E.g. the Stored Pixel Type is unsigned short 12bits, but to get
Hounsfield unit, one need to apply the linear transform: \\[ RWV =
1. * SV - 1024 \\] So the best scalar to store the Real World Value
will be 16 bits signed type.
In PET: the linear transform is generally floating point based. Since
the dynamic range can be quite high, the Rescale Slope / Rescale
Intercept can be changing throughout the Series. So it is important to
read all linear transform and deduce the best Pixel Type only at the
end (when all the images to be read have been parsed).
WARNING: Internally any time a floating point value is found either
in the Rescale Slope or the Rescale Intercept it is assumed that the
best matching output pixel type is FLOAT64 (in previous implementation
it was FLOAT32). Because VR:DS is closer to a 64bits floating point
type FLOAT64 is thus a best matching pixel type for the floating point
transformation. Example: Let say input is FLOAT64, and we want UINT16
as ouput, we would do:
handle floating point transformation back and forth to integer
properly (no loss)
See: Unpacker12Bits
C++ includes: gdcmRescaler.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Rescaler, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Rescaler, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Rescaler::Rescaler() """
this = _gdcmswig.new_Rescaler()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Rescaler
__del__ = lambda self : None;
def Rescale(self, *args):
"""
bool
gdcm::Rescaler::Rescale(char *out, const char *in, size_t n)
Direct transform.
"""
return _gdcmswig.Rescaler_Rescale(self, *args)
def InverseRescale(self, *args):
"""
bool
gdcm::Rescaler::InverseRescale(char *out, const char *in, size_t n)
Inverse transform.
"""
return _gdcmswig.Rescaler_InverseRescale(self, *args)
def SetIntercept(self, *args):
"""
void
gdcm::Rescaler::SetIntercept(double i)
Set Intercept: used for both direct&inverse transformation.
"""
return _gdcmswig.Rescaler_SetIntercept(self, *args)
def GetIntercept(self):
"""
double
gdcm::Rescaler::GetIntercept() const
"""
return _gdcmswig.Rescaler_GetIntercept(self)
def SetSlope(self, *args):
"""
void
gdcm::Rescaler::SetSlope(double s)
Set Slope: user for both direct&inverse transformation.
"""
return _gdcmswig.Rescaler_SetSlope(self, *args)
def GetSlope(self):
"""
double
gdcm::Rescaler::GetSlope() const
"""
return _gdcmswig.Rescaler_GetSlope(self)
def SetTargetPixelType(self, *args):
"""
void
gdcm::Rescaler::SetTargetPixelType(PixelFormat const &targetst)
By default (when UseTargetPixelType is false), a best matching Target
Pixel Type is computed. However user can override this auto selection
by switching UseTargetPixelType:true and also specifying the specifix
Target Pixel Type
"""
return _gdcmswig.Rescaler_SetTargetPixelType(self, *args)
def SetUseTargetPixelType(self, *args):
"""
void
gdcm::Rescaler::SetUseTargetPixelType(bool b)
Override default behavior of Rescale.
"""
return _gdcmswig.Rescaler_SetUseTargetPixelType(self, *args)
def SetPixelFormat(self, *args):
"""
void
gdcm::Rescaler::SetPixelFormat(PixelFormat const &pf)
Set Pixel Format of input data.
"""
return _gdcmswig.Rescaler_SetPixelFormat(self, *args)
def ComputeInterceptSlopePixelType(self):
"""
PixelFormat::ScalarType
gdcm::Rescaler::ComputeInterceptSlopePixelType()
Compute the Pixel Format of the output data Used for direct
transformation
"""
return _gdcmswig.Rescaler_ComputeInterceptSlopePixelType(self)
def SetMinMaxForPixelType(self, *args):
"""
void
gdcm::Rescaler::SetMinMaxForPixelType(double min, double max)
Set target interval for output data. A best match will be computed (if
possible) Used for inverse transformation
"""
return _gdcmswig.Rescaler_SetMinMaxForPixelType(self, *args)
def ComputePixelTypeFromMinMax(self):
"""
PixelFormat gdcm::Rescaler::ComputePixelTypeFromMinMax()
Compute the Pixel Format of the output data Used for inverse
transformation
"""
return _gdcmswig.Rescaler_ComputePixelTypeFromMinMax(self)
Rescaler_swigregister = _gdcmswig.Rescaler_swigregister
Rescaler_swigregister(Rescaler)
class SegmentedPaletteColorLookupTable(LookupTable):
"""
SegmentedPaletteColorLookupTable class.
C++ includes: gdcmSegmentedPaletteColorLookupTable.h
"""
__swig_setmethods__ = {}
for _s in [LookupTable]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, SegmentedPaletteColorLookupTable, name, value)
__swig_getmethods__ = {}
for _s in [LookupTable]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, SegmentedPaletteColorLookupTable, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::SegmentedPaletteColorLookupTable::SegmentedPaletteColorLookupTable()
"""
this = _gdcmswig.new_SegmentedPaletteColorLookupTable()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_SegmentedPaletteColorLookupTable
__del__ = lambda self : None;
def Print(self, *args):
"""
void gdcm::SegmentedPaletteColorLookupTable::Print(std::ostream &)
const
"""
return _gdcmswig.SegmentedPaletteColorLookupTable_Print(self, *args)
def SetLUT(self, *args):
"""
void gdcm::SegmentedPaletteColorLookupTable::SetLUT(LookupTableType
type, const unsigned char *array, unsigned int length)
Initialize a SegmentedPaletteColorLookupTable.
"""
return _gdcmswig.SegmentedPaletteColorLookupTable_SetLUT(self, *args)
SegmentedPaletteColorLookupTable_swigregister = _gdcmswig.SegmentedPaletteColorLookupTable_swigregister
SegmentedPaletteColorLookupTable_swigregister(SegmentedPaletteColorLookupTable)
class Unpacker12Bits(_object):
"""
Pack/Unpack 12 bits pixel into 16bits.
You can only pack an even number of 16bits, which means a multiple of
4 (expressed in bytes)
You can only unpack a multiple of 3 bytes This class has no purpose
in general purpose DICOM implementation. However to be able to cope
with some early ACR-NEMA file generated by a well-known private
vendor, one would need to unpack 12bits Stored Pixel Value into a more
standard 16bits Stored Pixel Value.
See: Rescaler
C++ includes: gdcmUnpacker12Bits.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Unpacker12Bits, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Unpacker12Bits, name)
__repr__ = _swig_repr
__swig_getmethods__["Pack"] = lambda x: _gdcmswig.Unpacker12Bits_Pack
if _newclass:Pack = staticmethod(_gdcmswig.Unpacker12Bits_Pack)
__swig_getmethods__["Unpack"] = lambda x: _gdcmswig.Unpacker12Bits_Unpack
if _newclass:Unpack = staticmethod(_gdcmswig.Unpacker12Bits_Unpack)
def __init__(self):
this = _gdcmswig.new_Unpacker12Bits()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Unpacker12Bits
__del__ = lambda self : None;
Unpacker12Bits_swigregister = _gdcmswig.Unpacker12Bits_swigregister
Unpacker12Bits_swigregister(Unpacker12Bits)
def Unpacker12Bits_Pack(*args):
return _gdcmswig.Unpacker12Bits_Pack(*args)
Unpacker12Bits_Pack = _gdcmswig.Unpacker12Bits_Pack
def Unpacker12Bits_Unpack(*args):
return _gdcmswig.Unpacker12Bits_Unpack(*args)
Unpacker12Bits_Unpack = _gdcmswig.Unpacker12Bits_Unpack
class PythonFilter(_object):
"""
PythonFilter PythonFilter is the class that make gdcm2.x looks more
like gdcm1 and transform the binary blob contained in a DataElement
into a string, typically this is a nice feature to have for wrapped
language.
C++ includes: gdcmPythonFilter.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PythonFilter, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PythonFilter, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::PythonFilter::PythonFilter() """
this = _gdcmswig.new_PythonFilter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_PythonFilter
__del__ = lambda self : None;
def UseDictAlways(self, *args):
"""
void
gdcm::PythonFilter::UseDictAlways(bool use)
"""
return _gdcmswig.PythonFilter_UseDictAlways(self, *args)
def SetDicts(self, *args):
"""
void
gdcm::PythonFilter::SetDicts(const Dicts &dicts)
"""
return _gdcmswig.PythonFilter_SetDicts(self, *args)
def ToPyObject(self, *args):
"""
PyObject*
gdcm::PythonFilter::ToPyObject(const Tag &t) const
"""
return _gdcmswig.PythonFilter_ToPyObject(self, *args)
def SetFile(self, *args):
"""
void
gdcm::PythonFilter::SetFile(const File &f)
"""
return _gdcmswig.PythonFilter_SetFile(self, *args)
def GetFile(self, *args):
"""
File&
gdcm::PythonFilter::GetFile()
"""
return _gdcmswig.PythonFilter_GetFile(self, *args)
PythonFilter_swigregister = _gdcmswig.PythonFilter_swigregister
PythonFilter_swigregister(PythonFilter)
class TagPath(_object):
"""
class to handle a path of tag.
Any Resemblance to Existing XPath is Purely
Coincidentalftp://medical.nema.org/medical/dicom/supps/sup118_pc.pdf
C++ includes: gdcmTagPath.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, TagPath, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, TagPath, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::TagPath::TagPath() """
this = _gdcmswig.new_TagPath()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_TagPath
__del__ = lambda self : None;
def Print(self, *args):
"""
void
gdcm::TagPath::Print(std::ostream &) const
"""
return _gdcmswig.TagPath_Print(self, *args)
def ConstructFromString(self, *args):
"""
bool
gdcm::TagPath::ConstructFromString(const char *path)
"/0018,0018/"... No space allowed, comma is use to separate tag
group from tag element and slash is used to separate tag return false
if invalid
"""
return _gdcmswig.TagPath_ConstructFromString(self, *args)
__swig_getmethods__["IsValid"] = lambda x: _gdcmswig.TagPath_IsValid
if _newclass:IsValid = staticmethod(_gdcmswig.TagPath_IsValid)
def ConstructFromTagList(self, *args):
"""
bool
gdcm::TagPath::ConstructFromTagList(Tag const *l, unsigned int n)
Construct from a list of tags.
"""
return _gdcmswig.TagPath_ConstructFromTagList(self, *args)
def Push(self, *args):
"""
bool
gdcm::TagPath::Push(Tag const &t)
"""
return _gdcmswig.TagPath_Push(self, *args)
TagPath_swigregister = _gdcmswig.TagPath_swigregister
TagPath_swigregister(TagPath)
def TagPath_IsValid(*args):
return _gdcmswig.TagPath_IsValid(*args)
TagPath_IsValid = _gdcmswig.TagPath_IsValid
class BitmapToBitmapFilter(_object):
"""
BitmapToBitmapFilter class Super class for all filter taking an image
and producing an output image.
C++ includes: gdcmBitmapToBitmapFilter.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, BitmapToBitmapFilter, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, BitmapToBitmapFilter, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::BitmapToBitmapFilter::BitmapToBitmapFilter() """
this = _gdcmswig.new_BitmapToBitmapFilter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_BitmapToBitmapFilter
__del__ = lambda self : None;
def SetInput(self, *args):
"""
void
gdcm::BitmapToBitmapFilter::SetInput(const Bitmap &image)
Set input image.
"""
return _gdcmswig.BitmapToBitmapFilter_SetInput(self, *args)
def GetOutput(self):
"""
const
Bitmap& gdcm::BitmapToBitmapFilter::GetOutput() const
Get Output image.
"""
return _gdcmswig.BitmapToBitmapFilter_GetOutput(self)
def GetOutputAsBitmap(self):
"""const Bitmap& gdcm::BitmapToBitmapFilter::GetOutputAsBitmap() const """
return _gdcmswig.BitmapToBitmapFilter_GetOutputAsBitmap(self)
BitmapToBitmapFilter_swigregister = _gdcmswig.BitmapToBitmapFilter_swigregister
BitmapToBitmapFilter_swigregister(BitmapToBitmapFilter)
class PixmapToPixmapFilter(BitmapToBitmapFilter):
"""
PixmapToPixmapFilter class Super class for all filter taking an image
and producing an output image.
C++ includes: gdcmPixmapToPixmapFilter.h
"""
__swig_setmethods__ = {}
for _s in [BitmapToBitmapFilter]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, PixmapToPixmapFilter, name, value)
__swig_getmethods__ = {}
for _s in [BitmapToBitmapFilter]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, PixmapToPixmapFilter, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::PixmapToPixmapFilter::PixmapToPixmapFilter() """
this = _gdcmswig.new_PixmapToPixmapFilter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_PixmapToPixmapFilter
__del__ = lambda self : None;
def GetInput(self):
"""
Pixmap&
gdcm::PixmapToPixmapFilter::GetInput()
"""
return _gdcmswig.PixmapToPixmapFilter_GetInput(self)
def GetOutput(self):
"""
const
Pixmap& gdcm::PixmapToPixmapFilter::GetOutput() const
Get Output image.
"""
return _gdcmswig.PixmapToPixmapFilter_GetOutput(self)
def GetOutputAsPixmap(self):
"""const Pixmap& gdcm::PixmapToPixmapFilter::GetOutputAsPixmap() const """
return _gdcmswig.PixmapToPixmapFilter_GetOutputAsPixmap(self)
PixmapToPixmapFilter_swigregister = _gdcmswig.PixmapToPixmapFilter_swigregister
PixmapToPixmapFilter_swigregister(PixmapToPixmapFilter)
class ImageToImageFilter(PixmapToPixmapFilter):
"""
ImageToImageFilter class Super class for all filter taking an image
and producing an output image.
C++ includes: gdcmImageToImageFilter.h
"""
__swig_setmethods__ = {}
for _s in [PixmapToPixmapFilter]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ImageToImageFilter, name, value)
__swig_getmethods__ = {}
for _s in [PixmapToPixmapFilter]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ImageToImageFilter, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::ImageToImageFilter::ImageToImageFilter() """
this = _gdcmswig.new_ImageToImageFilter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ImageToImageFilter
__del__ = lambda self : None;
def GetInput(self):
"""
Image&
gdcm::ImageToImageFilter::GetInput()
"""
return _gdcmswig.ImageToImageFilter_GetInput(self)
def GetOutput(self):
"""
const
Image& gdcm::ImageToImageFilter::GetOutput() const
Get Output image.
"""
return _gdcmswig.ImageToImageFilter_GetOutput(self)
ImageToImageFilter_swigregister = _gdcmswig.ImageToImageFilter_swigregister
ImageToImageFilter_swigregister(ImageToImageFilter)
class SOPClassUIDToIOD(_object):
"""
Class convert a class SOP Class UID into IOD.
Reference PS 3.4 Table B.5-1 STANDARD SOP CLASSES
C++ includes: gdcmSOPClassUIDToIOD.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SOPClassUIDToIOD, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SOPClassUIDToIOD, name)
__repr__ = _swig_repr
__swig_getmethods__["GetIOD"] = lambda x: _gdcmswig.SOPClassUIDToIOD_GetIOD
if _newclass:GetIOD = staticmethod(_gdcmswig.SOPClassUIDToIOD_GetIOD)
__swig_getmethods__["GetNumberOfSOPClassToIOD"] = lambda x: _gdcmswig.SOPClassUIDToIOD_GetNumberOfSOPClassToIOD
if _newclass:GetNumberOfSOPClassToIOD = staticmethod(_gdcmswig.SOPClassUIDToIOD_GetNumberOfSOPClassToIOD)
__swig_getmethods__["GetSOPClassUIDToIODs"] = lambda x: _gdcmswig.SOPClassUIDToIOD_GetSOPClassUIDToIODs
if _newclass:GetSOPClassUIDToIODs = staticmethod(_gdcmswig.SOPClassUIDToIOD_GetSOPClassUIDToIODs)
__swig_getmethods__["GetSOPClassUIDToIOD"] = lambda x: _gdcmswig.SOPClassUIDToIOD_GetSOPClassUIDToIOD
if _newclass:GetSOPClassUIDToIOD = staticmethod(_gdcmswig.SOPClassUIDToIOD_GetSOPClassUIDToIOD)
__swig_getmethods__["GetSOPClassUIDFromIOD"] = lambda x: _gdcmswig.SOPClassUIDToIOD_GetSOPClassUIDFromIOD
if _newclass:GetSOPClassUIDFromIOD = staticmethod(_gdcmswig.SOPClassUIDToIOD_GetSOPClassUIDFromIOD)
__swig_getmethods__["GetIODFromSOPClassUID"] = lambda x: _gdcmswig.SOPClassUIDToIOD_GetIODFromSOPClassUID
if _newclass:GetIODFromSOPClassUID = staticmethod(_gdcmswig.SOPClassUIDToIOD_GetIODFromSOPClassUID)
def __init__(self):
this = _gdcmswig.new_SOPClassUIDToIOD()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_SOPClassUIDToIOD
__del__ = lambda self : None;
SOPClassUIDToIOD_swigregister = _gdcmswig.SOPClassUIDToIOD_swigregister
SOPClassUIDToIOD_swigregister(SOPClassUIDToIOD)
def SOPClassUIDToIOD_GetIOD(*args):
return _gdcmswig.SOPClassUIDToIOD_GetIOD(*args)
SOPClassUIDToIOD_GetIOD = _gdcmswig.SOPClassUIDToIOD_GetIOD
def SOPClassUIDToIOD_GetNumberOfSOPClassToIOD():
return _gdcmswig.SOPClassUIDToIOD_GetNumberOfSOPClassToIOD()
SOPClassUIDToIOD_GetNumberOfSOPClassToIOD = _gdcmswig.SOPClassUIDToIOD_GetNumberOfSOPClassToIOD
def SOPClassUIDToIOD_GetSOPClassUIDToIODs():
return _gdcmswig.SOPClassUIDToIOD_GetSOPClassUIDToIODs()
SOPClassUIDToIOD_GetSOPClassUIDToIODs = _gdcmswig.SOPClassUIDToIOD_GetSOPClassUIDToIODs
def SOPClassUIDToIOD_GetSOPClassUIDToIOD(*args):
return _gdcmswig.SOPClassUIDToIOD_GetSOPClassUIDToIOD(*args)
SOPClassUIDToIOD_GetSOPClassUIDToIOD = _gdcmswig.SOPClassUIDToIOD_GetSOPClassUIDToIOD
def SOPClassUIDToIOD_GetSOPClassUIDFromIOD(*args):
return _gdcmswig.SOPClassUIDToIOD_GetSOPClassUIDFromIOD(*args)
SOPClassUIDToIOD_GetSOPClassUIDFromIOD = _gdcmswig.SOPClassUIDToIOD_GetSOPClassUIDFromIOD
def SOPClassUIDToIOD_GetIODFromSOPClassUID(*args):
return _gdcmswig.SOPClassUIDToIOD_GetIODFromSOPClassUID(*args)
SOPClassUIDToIOD_GetIODFromSOPClassUID = _gdcmswig.SOPClassUIDToIOD_GetIODFromSOPClassUID
class ImageCodec(_object):
"""
ImageCodec.
Main codec, this is a central place for all implementation
C++ includes: gdcmImageCodec.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ImageCodec, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ImageCodec, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::ImageCodec::ImageCodec() """
if self.__class__ == ImageCodec:
_self = None
else:
_self = self
this = _gdcmswig.new_ImageCodec(_self, )
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ImageCodec
__del__ = lambda self : None;
def CanCode(self, *args):
"""
bool
gdcm::ImageCodec::CanCode(TransferSyntax const &) const
"""
return _gdcmswig.ImageCodec_CanCode(self, *args)
def CanDecode(self, *args):
"""
bool
gdcm::ImageCodec::CanDecode(TransferSyntax const &) const
Return whether this decoder support this transfer syntax (can decode
it).
"""
return _gdcmswig.ImageCodec_CanDecode(self, *args)
def Decode(self, *args):
"""
bool
gdcm::ImageCodec::Decode(DataElement const &is_, DataElement &os)
Decode.
"""
return _gdcmswig.ImageCodec_Decode(self, *args)
def IsLossy(self):
"""
bool
gdcm::ImageCodec::IsLossy() const
"""
return _gdcmswig.ImageCodec_IsLossy(self)
def SetLossyFlag(self, *args):
"""
void
gdcm::ImageCodec::SetLossyFlag(bool l)
"""
return _gdcmswig.ImageCodec_SetLossyFlag(self, *args)
def GetLossyFlag(self):
"""
bool
gdcm::ImageCodec::GetLossyFlag() const
"""
return _gdcmswig.ImageCodec_GetLossyFlag(self)
def GetHeaderInfo(self, *args):
"""
virtual bool
gdcm::ImageCodec::GetHeaderInfo(std::istream &is_, TransferSyntax &ts)
"""
return _gdcmswig.ImageCodec_GetHeaderInfo(self, *args)
def IsValid(self, *args): return _gdcmswig.ImageCodec_IsValid(self, *args)
def GetPlanarConfiguration(self):
"""unsigned int gdcm::ImageCodec::GetPlanarConfiguration() const """
return _gdcmswig.ImageCodec_GetPlanarConfiguration(self)
def SetPlanarConfiguration(self, *args):
"""
void
gdcm::ImageCodec::SetPlanarConfiguration(unsigned int pc)
"""
return _gdcmswig.ImageCodec_SetPlanarConfiguration(self, *args)
def GetPixelFormat(self, *args):
"""
PixelFormat&
gdcm::ImageCodec::GetPixelFormat()
"""
return _gdcmswig.ImageCodec_GetPixelFormat(self, *args)
def SetPixelFormat(self, *args):
"""
virtual void
gdcm::ImageCodec::SetPixelFormat(PixelFormat const &pf)
"""
return _gdcmswig.ImageCodec_SetPixelFormat(self, *args)
def GetPhotometricInterpretation(self):
"""
const PhotometricInterpretation&
gdcm::ImageCodec::GetPhotometricInterpretation() const
"""
return _gdcmswig.ImageCodec_GetPhotometricInterpretation(self)
def SetPhotometricInterpretation(self, *args):
"""
void
gdcm::ImageCodec::SetPhotometricInterpretation(PhotometricInterpretation
const &pi)
"""
return _gdcmswig.ImageCodec_SetPhotometricInterpretation(self, *args)
def GetNeedByteSwap(self):
"""
bool
gdcm::ImageCodec::GetNeedByteSwap() const
"""
return _gdcmswig.ImageCodec_GetNeedByteSwap(self)
def SetNeedByteSwap(self, *args):
"""
void
gdcm::ImageCodec::SetNeedByteSwap(bool b)
"""
return _gdcmswig.ImageCodec_SetNeedByteSwap(self, *args)
def SetNeedOverlayCleanup(self, *args):
"""
void
gdcm::ImageCodec::SetNeedOverlayCleanup(bool b)
"""
return _gdcmswig.ImageCodec_SetNeedOverlayCleanup(self, *args)
def SetLUT(self, *args):
"""
void
gdcm::ImageCodec::SetLUT(LookupTable const &lut)
"""
return _gdcmswig.ImageCodec_SetLUT(self, *args)
def GetLUT(self):
"""
const LookupTable&
gdcm::ImageCodec::GetLUT() const
"""
return _gdcmswig.ImageCodec_GetLUT(self)
def SetDimensions(self, *args):
"""
void
gdcm::ImageCodec::SetDimensions(const unsigned int d[3])
"""
return _gdcmswig.ImageCodec_SetDimensions(self, *args)
def GetDimensions(self):
"""
const
unsigned int* gdcm::ImageCodec::GetDimensions() const
"""
return _gdcmswig.ImageCodec_GetDimensions(self)
def SetNumberOfDimensions(self, *args):
"""
void
gdcm::ImageCodec::SetNumberOfDimensions(unsigned int dim)
"""
return _gdcmswig.ImageCodec_SetNumberOfDimensions(self, *args)
def GetNumberOfDimensions(self):
"""unsigned int gdcm::ImageCodec::GetNumberOfDimensions() const """
return _gdcmswig.ImageCodec_GetNumberOfDimensions(self)
def __disown__(self):
self.this.disown()
_gdcmswig.disown_ImageCodec(self)
return weakref_proxy(self)
ImageCodec_swigregister = _gdcmswig.ImageCodec_swigregister
ImageCodec_swigregister(ImageCodec)
class JPEGCodec(ImageCodec):
"""
JPEG codec Class to do JPEG (8bits, 12bits, 16bits lossy & lossless).
It redispatch in between the different codec implementation:
gdcm::JPEG8Codec, gdcm::JPEG12Codec & gdcm::JPEG16Codec It also
support inconsistency in between DICOM header and JPEG compressed
stream ImageCodec implementation for the JPEG case.
Things you should know if you ever want to dive into DICOM/JPEG world
(among other):
http://groups.google.com/group/comp.protocols.dicom/browse_thread/thread/625e46919f2080e1
http://groups.google.com/group/comp.protocols.dicom/browse_thread/thread/75fdfccc65a6243
http://groups.google.com/group/comp.protocols.dicom/browse_thread/thread/2d525ef6a2f093ed
http://groups.google.com/group/comp.protocols.dicom/browse_thread/thread/6b93af410f8c921f
C++ includes: gdcmJPEGCodec.h
"""
__swig_setmethods__ = {}
for _s in [ImageCodec]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, JPEGCodec, name, value)
__swig_getmethods__ = {}
for _s in [ImageCodec]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, JPEGCodec, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::JPEGCodec::JPEGCodec() """
this = _gdcmswig.new_JPEGCodec()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_JPEGCodec
__del__ = lambda self : None;
def CanDecode(self, *args):
"""
bool
gdcm::JPEGCodec::CanDecode(TransferSyntax const &ts) const
Return whether this decoder support this transfer syntax (can decode
it).
"""
return _gdcmswig.JPEGCodec_CanDecode(self, *args)
def CanCode(self, *args):
"""
bool
gdcm::JPEGCodec::CanCode(TransferSyntax const &ts) const
"""
return _gdcmswig.JPEGCodec_CanCode(self, *args)
def Decode(self, *args):
"""
bool
gdcm::JPEGCodec::Decode(DataElement const &is, DataElement &os)
Decode.
"""
return _gdcmswig.JPEGCodec_Decode(self, *args)
def SetPixelFormat(self, *args):
"""
void
gdcm::JPEGCodec::SetPixelFormat(PixelFormat const &pf)
"""
return _gdcmswig.JPEGCodec_SetPixelFormat(self, *args)
def ComputeOffsetTable(self, *args):
"""
void
gdcm::JPEGCodec::ComputeOffsetTable(bool b)
Compute the offset table:
"""
return _gdcmswig.JPEGCodec_ComputeOffsetTable(self, *args)
def Code(self, *args):
"""
bool
gdcm::JPEGCodec::Code(DataElement const &in, DataElement &out)
Compress into JPEG.
"""
return _gdcmswig.JPEGCodec_Code(self, *args)
def GetHeaderInfo(self, *args):
"""
virtual bool
gdcm::JPEGCodec::GetHeaderInfo(std::istream &is, TransferSyntax &ts)
"""
return _gdcmswig.JPEGCodec_GetHeaderInfo(self, *args)
def SetQuality(self, *args):
"""
void
gdcm::JPEGCodec::SetQuality(double q)
"""
return _gdcmswig.JPEGCodec_SetQuality(self, *args)
def GetQuality(self):
"""
double
gdcm::JPEGCodec::GetQuality() const
"""
return _gdcmswig.JPEGCodec_GetQuality(self)
def SetLossless(self, *args):
"""
void
gdcm::JPEGCodec::SetLossless(bool l)
"""
return _gdcmswig.JPEGCodec_SetLossless(self, *args)
def GetLossless(self):
"""
bool
gdcm::JPEGCodec::GetLossless() const
"""
return _gdcmswig.JPEGCodec_GetLossless(self)
JPEGCodec_swigregister = _gdcmswig.JPEGCodec_swigregister
JPEGCodec_swigregister(JPEGCodec)
class JPEGLSCodec(ImageCodec):
"""
JPEG-LS.
codec that implement the JPEG-LS compression this is an implementation
of ImageCodec for JPEG-LS It uses the CharLS JPEG-LS
implementationhttp://charls.codeplex.com
C++ includes: gdcmJPEGLSCodec.h
"""
__swig_setmethods__ = {}
for _s in [ImageCodec]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, JPEGLSCodec, name, value)
__swig_getmethods__ = {}
for _s in [ImageCodec]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, JPEGLSCodec, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::JPEGLSCodec::JPEGLSCodec() """
this = _gdcmswig.new_JPEGLSCodec()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_JPEGLSCodec
__del__ = lambda self : None;
def CanDecode(self, *args):
"""
bool
gdcm::JPEGLSCodec::CanDecode(TransferSyntax const &ts) const
Return whether this decoder support this transfer syntax (can decode
it).
"""
return _gdcmswig.JPEGLSCodec_CanDecode(self, *args)
def CanCode(self, *args):
"""
bool
gdcm::JPEGLSCodec::CanCode(TransferSyntax const &ts) const
"""
return _gdcmswig.JPEGLSCodec_CanCode(self, *args)
def GetBufferLength(self):
"""
unsigned
long gdcm::JPEGLSCodec::GetBufferLength() const
"""
return _gdcmswig.JPEGLSCodec_GetBufferLength(self)
def SetBufferLength(self, *args):
"""
void
gdcm::JPEGLSCodec::SetBufferLength(unsigned long l)
"""
return _gdcmswig.JPEGLSCodec_SetBufferLength(self, *args)
def Decode(self, *args):
"""
bool
gdcm::JPEGLSCodec::Decode(DataElement const &is, DataElement &os)
Decode.
"""
return _gdcmswig.JPEGLSCodec_Decode(self, *args)
def Code(self, *args):
"""
bool
gdcm::JPEGLSCodec::Code(DataElement const &in, DataElement &out)
"""
return _gdcmswig.JPEGLSCodec_Code(self, *args)
def GetHeaderInfo(self, *args):
"""
bool
gdcm::JPEGLSCodec::GetHeaderInfo(std::istream &is, TransferSyntax &ts)
"""
return _gdcmswig.JPEGLSCodec_GetHeaderInfo(self, *args)
def SetLossless(self, *args):
"""
void
gdcm::JPEGLSCodec::SetLossless(bool l)
"""
return _gdcmswig.JPEGLSCodec_SetLossless(self, *args)
def GetLossless(self):
"""
bool
gdcm::JPEGLSCodec::GetLossless() const
"""
return _gdcmswig.JPEGLSCodec_GetLossless(self)
def SetLossyError(self, *args):
"""
void
gdcm::JPEGLSCodec::SetLossyError(int error)
[0-3] generally
"""
return _gdcmswig.JPEGLSCodec_SetLossyError(self, *args)
JPEGLSCodec_swigregister = _gdcmswig.JPEGLSCodec_swigregister
JPEGLSCodec_swigregister(JPEGLSCodec)
class JPEG2000Codec(ImageCodec):
"""
Class to do JPEG 2000.
the class will produce JPC (JPEG 2000 codestream), since some private
implementor are using full jp2 file the decoder tolerate jp2 input
this is an implementation of an ImageCodec
C++ includes: gdcmJPEG2000Codec.h
"""
__swig_setmethods__ = {}
for _s in [ImageCodec]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, JPEG2000Codec, name, value)
__swig_getmethods__ = {}
for _s in [ImageCodec]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, JPEG2000Codec, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::JPEG2000Codec::JPEG2000Codec() """
this = _gdcmswig.new_JPEG2000Codec()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_JPEG2000Codec
__del__ = lambda self : None;
def CanDecode(self, *args):
"""
bool
gdcm::JPEG2000Codec::CanDecode(TransferSyntax const &ts) const
Return whether this decoder support this transfer syntax (can decode
it).
"""
return _gdcmswig.JPEG2000Codec_CanDecode(self, *args)
def CanCode(self, *args):
"""
bool
gdcm::JPEG2000Codec::CanCode(TransferSyntax const &ts) const
"""
return _gdcmswig.JPEG2000Codec_CanCode(self, *args)
def Decode(self, *args):
"""
bool
gdcm::JPEG2000Codec::Decode(DataElement const &is, DataElement &os)
Decode.
"""
return _gdcmswig.JPEG2000Codec_Decode(self, *args)
def Code(self, *args):
"""
bool
gdcm::JPEG2000Codec::Code(DataElement const &in, DataElement &out)
"""
return _gdcmswig.JPEG2000Codec_Code(self, *args)
def GetHeaderInfo(self, *args):
"""
virtual
bool gdcm::JPEG2000Codec::GetHeaderInfo(std::istream &is,
TransferSyntax &ts)
"""
return _gdcmswig.JPEG2000Codec_GetHeaderInfo(self, *args)
def SetRate(self, *args):
"""
void
gdcm::JPEG2000Codec::SetRate(unsigned int idx, double rate)
"""
return _gdcmswig.JPEG2000Codec_SetRate(self, *args)
def GetRate(self, idx=0):
"""
double
gdcm::JPEG2000Codec::GetRate(unsigned int idx=0) const
"""
return _gdcmswig.JPEG2000Codec_GetRate(self, idx)
def SetQuality(self, *args):
"""
void
gdcm::JPEG2000Codec::SetQuality(unsigned int idx, double q)
"""
return _gdcmswig.JPEG2000Codec_SetQuality(self, *args)
def GetQuality(self, idx=0):
"""
double
gdcm::JPEG2000Codec::GetQuality(unsigned int idx=0) const
"""
return _gdcmswig.JPEG2000Codec_GetQuality(self, idx)
def SetTileSize(self, *args):
"""
void
gdcm::JPEG2000Codec::SetTileSize(unsigned int tx, unsigned int ty)
"""
return _gdcmswig.JPEG2000Codec_SetTileSize(self, *args)
def SetNumberOfResolutions(self, *args):
"""void gdcm::JPEG2000Codec::SetNumberOfResolutions(unsigned int nres) """
return _gdcmswig.JPEG2000Codec_SetNumberOfResolutions(self, *args)
def SetReversible(self, *args):
"""
void
gdcm::JPEG2000Codec::SetReversible(bool res)
"""
return _gdcmswig.JPEG2000Codec_SetReversible(self, *args)
JPEG2000Codec_swigregister = _gdcmswig.JPEG2000Codec_swigregister
JPEG2000Codec_swigregister(JPEG2000Codec)
class ImageChangeTransferSyntax(ImageToImageFilter):
"""
ImageChangeTransferSyntax class Class to change the transfer syntax of
an input DICOM.
If only Force param is set but no input TransferSyntax is set, it is
assumed that user only wants to inspect encapsulated stream (advanced
dev. option).
When using UserCodec it is very important that the TransferSyntax (as
set in SetTransferSyntax) is actually understood by UserCodec (ie.
UserCodec->CanCode( TransferSyntax ) ). Otherwise the behavior is to
use a default codec.
See: JPEGCodec JPEGLSCodec JPEG2000Codec
C++ includes: gdcmImageChangeTransferSyntax.h
"""
__swig_setmethods__ = {}
for _s in [ImageToImageFilter]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ImageChangeTransferSyntax, name, value)
__swig_getmethods__ = {}
for _s in [ImageToImageFilter]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ImageChangeTransferSyntax, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::ImageChangeTransferSyntax::ImageChangeTransferSyntax() """
this = _gdcmswig.new_ImageChangeTransferSyntax()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ImageChangeTransferSyntax
__del__ = lambda self : None;
def SetTransferSyntax(self, *args):
"""
void
gdcm::ImageChangeTransferSyntax::SetTransferSyntax(const
TransferSyntax &ts)
Set target Transfer Syntax.
"""
return _gdcmswig.ImageChangeTransferSyntax_SetTransferSyntax(self, *args)
def GetTransferSyntax(self):
"""
const
TransferSyntax& gdcm::ImageChangeTransferSyntax::GetTransferSyntax()
const
Get Transfer Syntax.
"""
return _gdcmswig.ImageChangeTransferSyntax_GetTransferSyntax(self)
def Change(self):
"""
bool
gdcm::ImageChangeTransferSyntax::Change()
Change.
"""
return _gdcmswig.ImageChangeTransferSyntax_Change(self)
def SetCompressIconImage(self, *args):
"""
void
gdcm::ImageChangeTransferSyntax::SetCompressIconImage(bool b)
Decide whether or not to also compress the Icon Image using the same
Transfer Syntax Default is to simply decompress icon image
"""
return _gdcmswig.ImageChangeTransferSyntax_SetCompressIconImage(self, *args)
def SetForce(self, *args):
"""
void gdcm::ImageChangeTransferSyntax::SetForce(bool f)
When target Transfer Syntax is identical to input target syntax, no
operation is actually done This is an issue when someone wants to
recompress using GDCM internal implementation a JPEG (for example)
image
"""
return _gdcmswig.ImageChangeTransferSyntax_SetForce(self, *args)
def SetUserCodec(self, *args):
"""
void gdcm::ImageChangeTransferSyntax::SetUserCodec(ImageCodec *ic)
Allow user to specify exactly which codec to use. this is needed to
specify special qualities or compression option. WARNING: is the
codec 'ic' is not compatible with the TransferSyntax requested, it
will not be used. It is the user responsability to check that
UserCodec->CanCode( TransferSyntax )
"""
return _gdcmswig.ImageChangeTransferSyntax_SetUserCodec(self, *args)
ImageChangeTransferSyntax_swigregister = _gdcmswig.ImageChangeTransferSyntax_swigregister
ImageChangeTransferSyntax_swigregister(ImageChangeTransferSyntax)
class ImageApplyLookupTable(ImageToImageFilter):
"""
ImageApplyLookupTable class It applies the LUT the PixelData (only
PALETTE_COLOR images) Output will be a PhotometricInterpretation=RGB
image.
C++ includes: gdcmImageApplyLookupTable.h
"""
__swig_setmethods__ = {}
for _s in [ImageToImageFilter]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ImageApplyLookupTable, name, value)
__swig_getmethods__ = {}
for _s in [ImageToImageFilter]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ImageApplyLookupTable, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::ImageApplyLookupTable::ImageApplyLookupTable() """
this = _gdcmswig.new_ImageApplyLookupTable()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ImageApplyLookupTable
__del__ = lambda self : None;
def Apply(self):
"""
bool
gdcm::ImageApplyLookupTable::Apply()
Apply.
"""
return _gdcmswig.ImageApplyLookupTable_Apply(self)
ImageApplyLookupTable_swigregister = _gdcmswig.ImageApplyLookupTable_swigregister
ImageApplyLookupTable_swigregister(ImageApplyLookupTable)
class SplitMosaicFilter(_object):
"""
SplitMosaicFilter class Class to reshuffle bytes for a SIEMENS Mosaic
image Siemens CSA Image Header CSA:= Common Siemens Architecture,
sometimes also known as Common syngo Architecture.
C++ includes: gdcmSplitMosaicFilter.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SplitMosaicFilter, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SplitMosaicFilter, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::SplitMosaicFilter::SplitMosaicFilter() """
this = _gdcmswig.new_SplitMosaicFilter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_SplitMosaicFilter
__del__ = lambda self : None;
def Split(self):
"""
bool
gdcm::SplitMosaicFilter::Split()
Split the SIEMENS MOSAIC image.
"""
return _gdcmswig.SplitMosaicFilter_Split(self)
def ComputeMOSAICDimensions(self, *args):
"""
bool
gdcm::SplitMosaicFilter::ComputeMOSAICDimensions(unsigned int dims[3])
Compute the new dimensions according to private information stored in
the MOSAIC header.
"""
return _gdcmswig.SplitMosaicFilter_ComputeMOSAICDimensions(self, *args)
def SetImage(self, *args):
"""
void
gdcm::SplitMosaicFilter::SetImage(const Image &image)
"""
return _gdcmswig.SplitMosaicFilter_SetImage(self, *args)
def GetImage(self, *args):
"""
const
Image& gdcm::SplitMosaicFilter::GetImage() const
"""
return _gdcmswig.SplitMosaicFilter_GetImage(self, *args)
def SetFile(self, *args):
"""
void
gdcm::SplitMosaicFilter::SetFile(const File &f)
"""
return _gdcmswig.SplitMosaicFilter_SetFile(self, *args)
def GetFile(self, *args):
"""
const File&
gdcm::SplitMosaicFilter::GetFile() const
"""
return _gdcmswig.SplitMosaicFilter_GetFile(self, *args)
SplitMosaicFilter_swigregister = _gdcmswig.SplitMosaicFilter_swigregister
SplitMosaicFilter_swigregister(SplitMosaicFilter)
class ImageChangePhotometricInterpretation(ImageToImageFilter):
"""
ImageChangePhotometricInterpretation class Class to change the
Photometric Interpetation of an input DICOM.
C++ includes: gdcmImageChangePhotometricInterpretation.h
"""
__swig_setmethods__ = {}
for _s in [ImageToImageFilter]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ImageChangePhotometricInterpretation, name, value)
__swig_getmethods__ = {}
for _s in [ImageToImageFilter]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ImageChangePhotometricInterpretation, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::ImageChangePhotometricInterpretation::ImageChangePhotometricInterpretation()
"""
this = _gdcmswig.new_ImageChangePhotometricInterpretation()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ImageChangePhotometricInterpretation
__del__ = lambda self : None;
def SetPhotometricInterpretation(self, *args):
"""
void
gdcm::ImageChangePhotometricInterpretation::SetPhotometricInterpretation(PhotometricInterpretation
const &pi)
Set/Get requested PhotometricInterpretation.
"""
return _gdcmswig.ImageChangePhotometricInterpretation_SetPhotometricInterpretation(self, *args)
def GetPhotometricInterpretation(self):
"""
const PhotometricInterpretation&
gdcm::ImageChangePhotometricInterpretation::GetPhotometricInterpretation()
const
"""
return _gdcmswig.ImageChangePhotometricInterpretation_GetPhotometricInterpretation(self)
def Change(self):
"""
bool
gdcm::ImageChangePhotometricInterpretation::Change()
Change.
"""
return _gdcmswig.ImageChangePhotometricInterpretation_Change(self)
ImageChangePhotometricInterpretation_swigregister = _gdcmswig.ImageChangePhotometricInterpretation_swigregister
ImageChangePhotometricInterpretation_swigregister(ImageChangePhotometricInterpretation)
class ImageChangePlanarConfiguration(ImageToImageFilter):
"""
ImageChangePlanarConfiguration class Class to change the Planar
configuration of an input DICOM By default it will change into the
more usual reprensentation: PlanarConfiguration = 0.
C++ includes: gdcmImageChangePlanarConfiguration.h
"""
__swig_setmethods__ = {}
for _s in [ImageToImageFilter]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ImageChangePlanarConfiguration, name, value)
__swig_getmethods__ = {}
for _s in [ImageToImageFilter]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ImageChangePlanarConfiguration, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::ImageChangePlanarConfiguration::ImageChangePlanarConfiguration()
"""
this = _gdcmswig.new_ImageChangePlanarConfiguration()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ImageChangePlanarConfiguration
__del__ = lambda self : None;
def SetPlanarConfiguration(self, *args):
"""
void
gdcm::ImageChangePlanarConfiguration::SetPlanarConfiguration(unsigned
int pc)
Set/Get requested PlanarConfigation.
"""
return _gdcmswig.ImageChangePlanarConfiguration_SetPlanarConfiguration(self, *args)
def GetPlanarConfiguration(self):
"""
unsigned int
gdcm::ImageChangePlanarConfiguration::GetPlanarConfiguration() const
"""
return _gdcmswig.ImageChangePlanarConfiguration_GetPlanarConfiguration(self)
def Change(self):
"""
bool gdcm::ImageChangePlanarConfiguration::Change()
Change.
"""
return _gdcmswig.ImageChangePlanarConfiguration_Change(self)
ImageChangePlanarConfiguration_swigregister = _gdcmswig.ImageChangePlanarConfiguration_swigregister
ImageChangePlanarConfiguration_swigregister(ImageChangePlanarConfiguration)
class ImageFragmentSplitter(ImageToImageFilter):
"""
ImageFragmentSplitter class For single frame image, DICOM standard
allow splitting the frame into multiple fragments.
C++ includes: gdcmImageFragmentSplitter.h
"""
__swig_setmethods__ = {}
for _s in [ImageToImageFilter]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ImageFragmentSplitter, name, value)
__swig_getmethods__ = {}
for _s in [ImageToImageFilter]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ImageFragmentSplitter, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::ImageFragmentSplitter::ImageFragmentSplitter() """
this = _gdcmswig.new_ImageFragmentSplitter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ImageFragmentSplitter
__del__ = lambda self : None;
def Split(self):
"""
bool
gdcm::ImageFragmentSplitter::Split()
Split.
"""
return _gdcmswig.ImageFragmentSplitter_Split(self)
def SetFragmentSizeMax(self, *args):
"""
void gdcm::ImageFragmentSplitter::SetFragmentSizeMax(unsigned int
fragsize)
FragmentSizeMax needs to be an even number.
"""
return _gdcmswig.ImageFragmentSplitter_SetFragmentSizeMax(self, *args)
def GetFragmentSizeMax(self):
"""
unsigned int gdcm::ImageFragmentSplitter::GetFragmentSizeMax() const
"""
return _gdcmswig.ImageFragmentSplitter_GetFragmentSizeMax(self)
def SetForce(self, *args):
"""
void
gdcm::ImageFragmentSplitter::SetForce(bool f)
When file already has all it's segment < FragmentSizeMax there is not
need to run the filter. Unless the user explicitly say 'force'
recomputation !
"""
return _gdcmswig.ImageFragmentSplitter_SetForce(self, *args)
ImageFragmentSplitter_swigregister = _gdcmswig.ImageFragmentSplitter_swigregister
ImageFragmentSplitter_swigregister(ImageFragmentSplitter)
class DataSetHelper(_object):
"""
DataSetHelper (internal class, not intended for user level).
C++ includes: gdcmDataSetHelper.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DataSetHelper, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DataSetHelper, name)
__repr__ = _swig_repr
__swig_getmethods__["ComputeVR"] = lambda x: _gdcmswig.DataSetHelper_ComputeVR
if _newclass:ComputeVR = staticmethod(_gdcmswig.DataSetHelper_ComputeVR)
def __init__(self):
this = _gdcmswig.new_DataSetHelper()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_DataSetHelper
__del__ = lambda self : None;
DataSetHelper_swigregister = _gdcmswig.DataSetHelper_swigregister
DataSetHelper_swigregister(DataSetHelper)
def DataSetHelper_ComputeVR(*args):
return _gdcmswig.DataSetHelper_ComputeVR(*args)
DataSetHelper_ComputeVR = _gdcmswig.DataSetHelper_ComputeVR
class FileExplicitFilter(_object):
"""
FileExplicitFilter class After changing a file from Implicit to
Explicit representation (see ImageChangeTransferSyntax) one operation
is to make sure the VR of each DICOM attribute are accurate and do
match the one from PS 3.6. Indeed when a file is written in Implicit
reprensentation, the VR is not stored directly in the file.
WARNING: changing an implicit dataset to an explicit dataset is NOT a
trivial task of simply changing the VR to the dict one: One has to
make sure SQ is properly set
One has to recompute the explicit length SQ
One has to make sure that VR is valid for the encoding
One has to make sure that VR 16bits can store the original value
length
C++ includes: gdcmFileExplicitFilter.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, FileExplicitFilter, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, FileExplicitFilter, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::FileExplicitFilter::FileExplicitFilter() """
this = _gdcmswig.new_FileExplicitFilter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_FileExplicitFilter
__del__ = lambda self : None;
def SetChangePrivateTags(self, *args):
"""
void gdcm::FileExplicitFilter::SetChangePrivateTags(bool b)
Decide whether or not to VR'ify private tags.
"""
return _gdcmswig.FileExplicitFilter_SetChangePrivateTags(self, *args)
def SetUseVRUN(self, *args):
"""
void
gdcm::FileExplicitFilter::SetUseVRUN(bool b)
When VR=16bits in explicit but Implicit has a 32bits length, use
VR=UN.
"""
return _gdcmswig.FileExplicitFilter_SetUseVRUN(self, *args)
def SetRecomputeItemLength(self, *args):
"""
void
gdcm::FileExplicitFilter::SetRecomputeItemLength(bool b)
By default set Sequence & Item length to Undefined to avoid
recomputing length:
"""
return _gdcmswig.FileExplicitFilter_SetRecomputeItemLength(self, *args)
def SetRecomputeSequenceLength(self, *args):
"""
void
gdcm::FileExplicitFilter::SetRecomputeSequenceLength(bool b)
"""
return _gdcmswig.FileExplicitFilter_SetRecomputeSequenceLength(self, *args)
def Change(self):
"""
bool
gdcm::FileExplicitFilter::Change()
Set FMI Transfer Syntax.
Change
"""
return _gdcmswig.FileExplicitFilter_Change(self)
def SetFile(self, *args):
"""
void
gdcm::FileExplicitFilter::SetFile(const File &f)
Set/Get File.
"""
return _gdcmswig.FileExplicitFilter_SetFile(self, *args)
def GetFile(self):
"""
File&
gdcm::FileExplicitFilter::GetFile()
"""
return _gdcmswig.FileExplicitFilter_GetFile(self)
FileExplicitFilter_swigregister = _gdcmswig.FileExplicitFilter_swigregister
FileExplicitFilter_swigregister(FileExplicitFilter)
class DoubleArrayType(_object):
"""
STL class.
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DoubleArrayType, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DoubleArrayType, name)
__repr__ = _swig_repr
def iterator(self):
"""
STL iterator class.
"""
return _gdcmswig.DoubleArrayType_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _gdcmswig.DoubleArrayType___nonzero__(self)
def __bool__(self): return _gdcmswig.DoubleArrayType___bool__(self)
def __len__(self): return _gdcmswig.DoubleArrayType___len__(self)
def pop(self): return _gdcmswig.DoubleArrayType_pop(self)
def __getslice__(self, *args): return _gdcmswig.DoubleArrayType___getslice__(self, *args)
def __setslice__(self, *args): return _gdcmswig.DoubleArrayType___setslice__(self, *args)
def __delslice__(self, *args): return _gdcmswig.DoubleArrayType___delslice__(self, *args)
def __delitem__(self, *args): return _gdcmswig.DoubleArrayType___delitem__(self, *args)
def __getitem__(self, *args): return _gdcmswig.DoubleArrayType___getitem__(self, *args)
def __setitem__(self, *args): return _gdcmswig.DoubleArrayType___setitem__(self, *args)
def append(self, *args): return _gdcmswig.DoubleArrayType_append(self, *args)
def empty(self): return _gdcmswig.DoubleArrayType_empty(self)
def size(self): return _gdcmswig.DoubleArrayType_size(self)
def clear(self): return _gdcmswig.DoubleArrayType_clear(self)
def swap(self, *args): return _gdcmswig.DoubleArrayType_swap(self, *args)
def get_allocator(self): return _gdcmswig.DoubleArrayType_get_allocator(self)
def begin(self): return _gdcmswig.DoubleArrayType_begin(self)
def end(self): return _gdcmswig.DoubleArrayType_end(self)
def rbegin(self): return _gdcmswig.DoubleArrayType_rbegin(self)
def rend(self): return _gdcmswig.DoubleArrayType_rend(self)
def pop_back(self): return _gdcmswig.DoubleArrayType_pop_back(self)
def erase(self, *args): return _gdcmswig.DoubleArrayType_erase(self, *args)
def __init__(self, *args):
this = _gdcmswig.new_DoubleArrayType(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args): return _gdcmswig.DoubleArrayType_push_back(self, *args)
def front(self): return _gdcmswig.DoubleArrayType_front(self)
def back(self): return _gdcmswig.DoubleArrayType_back(self)
def assign(self, *args): return _gdcmswig.DoubleArrayType_assign(self, *args)
def resize(self, *args): return _gdcmswig.DoubleArrayType_resize(self, *args)
def insert(self, *args): return _gdcmswig.DoubleArrayType_insert(self, *args)
def reserve(self, *args): return _gdcmswig.DoubleArrayType_reserve(self, *args)
def capacity(self): return _gdcmswig.DoubleArrayType_capacity(self)
__swig_destroy__ = _gdcmswig.delete_DoubleArrayType
__del__ = lambda self : None;
DoubleArrayType_swigregister = _gdcmswig.DoubleArrayType_swigregister
DoubleArrayType_swigregister(DoubleArrayType)
class UShortArrayType(_object):
"""
STL class.
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, UShortArrayType, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, UShortArrayType, name)
__repr__ = _swig_repr
def iterator(self):
"""
STL iterator class.
"""
return _gdcmswig.UShortArrayType_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _gdcmswig.UShortArrayType___nonzero__(self)
def __bool__(self): return _gdcmswig.UShortArrayType___bool__(self)
def __len__(self): return _gdcmswig.UShortArrayType___len__(self)
def pop(self): return _gdcmswig.UShortArrayType_pop(self)
def __getslice__(self, *args): return _gdcmswig.UShortArrayType___getslice__(self, *args)
def __setslice__(self, *args): return _gdcmswig.UShortArrayType___setslice__(self, *args)
def __delslice__(self, *args): return _gdcmswig.UShortArrayType___delslice__(self, *args)
def __delitem__(self, *args): return _gdcmswig.UShortArrayType___delitem__(self, *args)
def __getitem__(self, *args): return _gdcmswig.UShortArrayType___getitem__(self, *args)
def __setitem__(self, *args): return _gdcmswig.UShortArrayType___setitem__(self, *args)
def append(self, *args): return _gdcmswig.UShortArrayType_append(self, *args)
def empty(self): return _gdcmswig.UShortArrayType_empty(self)
def size(self): return _gdcmswig.UShortArrayType_size(self)
def clear(self): return _gdcmswig.UShortArrayType_clear(self)
def swap(self, *args): return _gdcmswig.UShortArrayType_swap(self, *args)
def get_allocator(self): return _gdcmswig.UShortArrayType_get_allocator(self)
def begin(self): return _gdcmswig.UShortArrayType_begin(self)
def end(self): return _gdcmswig.UShortArrayType_end(self)
def rbegin(self): return _gdcmswig.UShortArrayType_rbegin(self)
def rend(self): return _gdcmswig.UShortArrayType_rend(self)
def pop_back(self): return _gdcmswig.UShortArrayType_pop_back(self)
def erase(self, *args): return _gdcmswig.UShortArrayType_erase(self, *args)
def __init__(self, *args):
this = _gdcmswig.new_UShortArrayType(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args): return _gdcmswig.UShortArrayType_push_back(self, *args)
def front(self): return _gdcmswig.UShortArrayType_front(self)
def back(self): return _gdcmswig.UShortArrayType_back(self)
def assign(self, *args): return _gdcmswig.UShortArrayType_assign(self, *args)
def resize(self, *args): return _gdcmswig.UShortArrayType_resize(self, *args)
def insert(self, *args): return _gdcmswig.UShortArrayType_insert(self, *args)
def reserve(self, *args): return _gdcmswig.UShortArrayType_reserve(self, *args)
def capacity(self): return _gdcmswig.UShortArrayType_capacity(self)
__swig_destroy__ = _gdcmswig.delete_UShortArrayType
__del__ = lambda self : None;
UShortArrayType_swigregister = _gdcmswig.UShortArrayType_swigregister
UShortArrayType_swigregister(UShortArrayType)
class UIntArrayType(_object):
"""
STL class.
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, UIntArrayType, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, UIntArrayType, name)
__repr__ = _swig_repr
def iterator(self):
"""
STL iterator class.
"""
return _gdcmswig.UIntArrayType_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _gdcmswig.UIntArrayType___nonzero__(self)
def __bool__(self): return _gdcmswig.UIntArrayType___bool__(self)
def __len__(self): return _gdcmswig.UIntArrayType___len__(self)
def pop(self): return _gdcmswig.UIntArrayType_pop(self)
def __getslice__(self, *args): return _gdcmswig.UIntArrayType___getslice__(self, *args)
def __setslice__(self, *args): return _gdcmswig.UIntArrayType___setslice__(self, *args)
def __delslice__(self, *args): return _gdcmswig.UIntArrayType___delslice__(self, *args)
def __delitem__(self, *args): return _gdcmswig.UIntArrayType___delitem__(self, *args)
def __getitem__(self, *args): return _gdcmswig.UIntArrayType___getitem__(self, *args)
def __setitem__(self, *args): return _gdcmswig.UIntArrayType___setitem__(self, *args)
def append(self, *args): return _gdcmswig.UIntArrayType_append(self, *args)
def empty(self): return _gdcmswig.UIntArrayType_empty(self)
def size(self): return _gdcmswig.UIntArrayType_size(self)
def clear(self): return _gdcmswig.UIntArrayType_clear(self)
def swap(self, *args): return _gdcmswig.UIntArrayType_swap(self, *args)
def get_allocator(self): return _gdcmswig.UIntArrayType_get_allocator(self)
def begin(self): return _gdcmswig.UIntArrayType_begin(self)
def end(self): return _gdcmswig.UIntArrayType_end(self)
def rbegin(self): return _gdcmswig.UIntArrayType_rbegin(self)
def rend(self): return _gdcmswig.UIntArrayType_rend(self)
def pop_back(self): return _gdcmswig.UIntArrayType_pop_back(self)
def erase(self, *args): return _gdcmswig.UIntArrayType_erase(self, *args)
def __init__(self, *args):
this = _gdcmswig.new_UIntArrayType(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args): return _gdcmswig.UIntArrayType_push_back(self, *args)
def front(self): return _gdcmswig.UIntArrayType_front(self)
def back(self): return _gdcmswig.UIntArrayType_back(self)
def assign(self, *args): return _gdcmswig.UIntArrayType_assign(self, *args)
def resize(self, *args): return _gdcmswig.UIntArrayType_resize(self, *args)
def insert(self, *args): return _gdcmswig.UIntArrayType_insert(self, *args)
def reserve(self, *args): return _gdcmswig.UIntArrayType_reserve(self, *args)
def capacity(self): return _gdcmswig.UIntArrayType_capacity(self)
__swig_destroy__ = _gdcmswig.delete_UIntArrayType
__del__ = lambda self : None;
UIntArrayType_swigregister = _gdcmswig.UIntArrayType_swigregister
UIntArrayType_swigregister(UIntArrayType)
class ImageHelper(_object):
"""
ImageHelper (internal class, not intended for user level).
Helper for writing World images in DICOM. DICOM has a 'template'
approach to image where MR Image Storage are distinct object from
Enhanced MR Image Storage. For example the Pixel Spacing in one object
is not at the same position (ie Tag) as in the other this class is the
central (read: fragile) place where all the dispatching is done from a
unified view of a world image (typically VTK or ITK point of view)
down to the low level DICOM point of view.
WARNING: : do not expect the API of this class to be maintained at
any point, since as Modalities are added the API might have to be
augmented or behavior changed to cope with new modalities.
C++ includes: gdcmImageHelper.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, ImageHelper, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, ImageHelper, name)
__repr__ = _swig_repr
__swig_getmethods__["SetForceRescaleInterceptSlope"] = lambda x: _gdcmswig.ImageHelper_SetForceRescaleInterceptSlope
if _newclass:SetForceRescaleInterceptSlope = staticmethod(_gdcmswig.ImageHelper_SetForceRescaleInterceptSlope)
__swig_getmethods__["GetForceRescaleInterceptSlope"] = lambda x: _gdcmswig.ImageHelper_GetForceRescaleInterceptSlope
if _newclass:GetForceRescaleInterceptSlope = staticmethod(_gdcmswig.ImageHelper_GetForceRescaleInterceptSlope)
__swig_getmethods__["SetForcePixelSpacing"] = lambda x: _gdcmswig.ImageHelper_SetForcePixelSpacing
if _newclass:SetForcePixelSpacing = staticmethod(_gdcmswig.ImageHelper_SetForcePixelSpacing)
__swig_getmethods__["GetForcePixelSpacing"] = lambda x: _gdcmswig.ImageHelper_GetForcePixelSpacing
if _newclass:GetForcePixelSpacing = staticmethod(_gdcmswig.ImageHelper_GetForcePixelSpacing)
__swig_getmethods__["GetDimensionsValue"] = lambda x: _gdcmswig.ImageHelper_GetDimensionsValue
if _newclass:GetDimensionsValue = staticmethod(_gdcmswig.ImageHelper_GetDimensionsValue)
__swig_getmethods__["SetDimensionsValue"] = lambda x: _gdcmswig.ImageHelper_SetDimensionsValue
if _newclass:SetDimensionsValue = staticmethod(_gdcmswig.ImageHelper_SetDimensionsValue)
__swig_getmethods__["GetPixelFormatValue"] = lambda x: _gdcmswig.ImageHelper_GetPixelFormatValue
if _newclass:GetPixelFormatValue = staticmethod(_gdcmswig.ImageHelper_GetPixelFormatValue)
__swig_getmethods__["GetRescaleInterceptSlopeValue"] = lambda x: _gdcmswig.ImageHelper_GetRescaleInterceptSlopeValue
if _newclass:GetRescaleInterceptSlopeValue = staticmethod(_gdcmswig.ImageHelper_GetRescaleInterceptSlopeValue)
__swig_getmethods__["SetRescaleInterceptSlopeValue"] = lambda x: _gdcmswig.ImageHelper_SetRescaleInterceptSlopeValue
if _newclass:SetRescaleInterceptSlopeValue = staticmethod(_gdcmswig.ImageHelper_SetRescaleInterceptSlopeValue)
__swig_getmethods__["GetOriginValue"] = lambda x: _gdcmswig.ImageHelper_GetOriginValue
if _newclass:GetOriginValue = staticmethod(_gdcmswig.ImageHelper_GetOriginValue)
__swig_getmethods__["SetOriginValue"] = lambda x: _gdcmswig.ImageHelper_SetOriginValue
if _newclass:SetOriginValue = staticmethod(_gdcmswig.ImageHelper_SetOriginValue)
__swig_getmethods__["GetDirectionCosinesValue"] = lambda x: _gdcmswig.ImageHelper_GetDirectionCosinesValue
if _newclass:GetDirectionCosinesValue = staticmethod(_gdcmswig.ImageHelper_GetDirectionCosinesValue)
__swig_getmethods__["SetDirectionCosinesValue"] = lambda x: _gdcmswig.ImageHelper_SetDirectionCosinesValue
if _newclass:SetDirectionCosinesValue = staticmethod(_gdcmswig.ImageHelper_SetDirectionCosinesValue)
__swig_getmethods__["GetSpacingValue"] = lambda x: _gdcmswig.ImageHelper_GetSpacingValue
if _newclass:GetSpacingValue = staticmethod(_gdcmswig.ImageHelper_GetSpacingValue)
__swig_getmethods__["SetSpacingValue"] = lambda x: _gdcmswig.ImageHelper_SetSpacingValue
if _newclass:SetSpacingValue = staticmethod(_gdcmswig.ImageHelper_SetSpacingValue)
__swig_getmethods__["ComputeSpacingFromImagePositionPatient"] = lambda x: _gdcmswig.ImageHelper_ComputeSpacingFromImagePositionPatient
if _newclass:ComputeSpacingFromImagePositionPatient = staticmethod(_gdcmswig.ImageHelper_ComputeSpacingFromImagePositionPatient)
__swig_getmethods__["GetDirectionCosinesFromDataSet"] = lambda x: _gdcmswig.ImageHelper_GetDirectionCosinesFromDataSet
if _newclass:GetDirectionCosinesFromDataSet = staticmethod(_gdcmswig.ImageHelper_GetDirectionCosinesFromDataSet)
__swig_getmethods__["GetPhotometricInterpretationValue"] = lambda x: _gdcmswig.ImageHelper_GetPhotometricInterpretationValue
if _newclass:GetPhotometricInterpretationValue = staticmethod(_gdcmswig.ImageHelper_GetPhotometricInterpretationValue)
__swig_getmethods__["GetPlanarConfigurationValue"] = lambda x: _gdcmswig.ImageHelper_GetPlanarConfigurationValue
if _newclass:GetPlanarConfigurationValue = staticmethod(_gdcmswig.ImageHelper_GetPlanarConfigurationValue)
__swig_getmethods__["GetLUT"] = lambda x: _gdcmswig.ImageHelper_GetLUT
if _newclass:GetLUT = staticmethod(_gdcmswig.ImageHelper_GetLUT)
__swig_getmethods__["GetPointerFromElement"] = lambda x: _gdcmswig.ImageHelper_GetPointerFromElement
if _newclass:GetPointerFromElement = staticmethod(_gdcmswig.ImageHelper_GetPointerFromElement)
def __init__(self):
this = _gdcmswig.new_ImageHelper()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ImageHelper
__del__ = lambda self : None;
ImageHelper_swigregister = _gdcmswig.ImageHelper_swigregister
ImageHelper_swigregister(ImageHelper)
def ImageHelper_SetForceRescaleInterceptSlope(*args):
return _gdcmswig.ImageHelper_SetForceRescaleInterceptSlope(*args)
ImageHelper_SetForceRescaleInterceptSlope = _gdcmswig.ImageHelper_SetForceRescaleInterceptSlope
def ImageHelper_GetForceRescaleInterceptSlope():
return _gdcmswig.ImageHelper_GetForceRescaleInterceptSlope()
ImageHelper_GetForceRescaleInterceptSlope = _gdcmswig.ImageHelper_GetForceRescaleInterceptSlope
def ImageHelper_SetForcePixelSpacing(*args):
return _gdcmswig.ImageHelper_SetForcePixelSpacing(*args)
ImageHelper_SetForcePixelSpacing = _gdcmswig.ImageHelper_SetForcePixelSpacing
def ImageHelper_GetForcePixelSpacing():
return _gdcmswig.ImageHelper_GetForcePixelSpacing()
ImageHelper_GetForcePixelSpacing = _gdcmswig.ImageHelper_GetForcePixelSpacing
def ImageHelper_GetDimensionsValue(*args):
return _gdcmswig.ImageHelper_GetDimensionsValue(*args)
ImageHelper_GetDimensionsValue = _gdcmswig.ImageHelper_GetDimensionsValue
def ImageHelper_SetDimensionsValue(*args):
return _gdcmswig.ImageHelper_SetDimensionsValue(*args)
ImageHelper_SetDimensionsValue = _gdcmswig.ImageHelper_SetDimensionsValue
def ImageHelper_GetPixelFormatValue(*args):
return _gdcmswig.ImageHelper_GetPixelFormatValue(*args)
ImageHelper_GetPixelFormatValue = _gdcmswig.ImageHelper_GetPixelFormatValue
def ImageHelper_GetRescaleInterceptSlopeValue(*args):
return _gdcmswig.ImageHelper_GetRescaleInterceptSlopeValue(*args)
ImageHelper_GetRescaleInterceptSlopeValue = _gdcmswig.ImageHelper_GetRescaleInterceptSlopeValue
def ImageHelper_SetRescaleInterceptSlopeValue(*args):
return _gdcmswig.ImageHelper_SetRescaleInterceptSlopeValue(*args)
ImageHelper_SetRescaleInterceptSlopeValue = _gdcmswig.ImageHelper_SetRescaleInterceptSlopeValue
def ImageHelper_GetOriginValue(*args):
return _gdcmswig.ImageHelper_GetOriginValue(*args)
ImageHelper_GetOriginValue = _gdcmswig.ImageHelper_GetOriginValue
def ImageHelper_SetOriginValue(*args):
return _gdcmswig.ImageHelper_SetOriginValue(*args)
ImageHelper_SetOriginValue = _gdcmswig.ImageHelper_SetOriginValue
def ImageHelper_GetDirectionCosinesValue(*args):
return _gdcmswig.ImageHelper_GetDirectionCosinesValue(*args)
ImageHelper_GetDirectionCosinesValue = _gdcmswig.ImageHelper_GetDirectionCosinesValue
def ImageHelper_SetDirectionCosinesValue(*args):
return _gdcmswig.ImageHelper_SetDirectionCosinesValue(*args)
ImageHelper_SetDirectionCosinesValue = _gdcmswig.ImageHelper_SetDirectionCosinesValue
def ImageHelper_GetSpacingValue(*args):
return _gdcmswig.ImageHelper_GetSpacingValue(*args)
ImageHelper_GetSpacingValue = _gdcmswig.ImageHelper_GetSpacingValue
def ImageHelper_SetSpacingValue(*args):
return _gdcmswig.ImageHelper_SetSpacingValue(*args)
ImageHelper_SetSpacingValue = _gdcmswig.ImageHelper_SetSpacingValue
def ImageHelper_ComputeSpacingFromImagePositionPatient(*args):
return _gdcmswig.ImageHelper_ComputeSpacingFromImagePositionPatient(*args)
ImageHelper_ComputeSpacingFromImagePositionPatient = _gdcmswig.ImageHelper_ComputeSpacingFromImagePositionPatient
def ImageHelper_GetDirectionCosinesFromDataSet(*args):
return _gdcmswig.ImageHelper_GetDirectionCosinesFromDataSet(*args)
ImageHelper_GetDirectionCosinesFromDataSet = _gdcmswig.ImageHelper_GetDirectionCosinesFromDataSet
def ImageHelper_GetPhotometricInterpretationValue(*args):
return _gdcmswig.ImageHelper_GetPhotometricInterpretationValue(*args)
ImageHelper_GetPhotometricInterpretationValue = _gdcmswig.ImageHelper_GetPhotometricInterpretationValue
def ImageHelper_GetPlanarConfigurationValue(*args):
return _gdcmswig.ImageHelper_GetPlanarConfigurationValue(*args)
ImageHelper_GetPlanarConfigurationValue = _gdcmswig.ImageHelper_GetPlanarConfigurationValue
def ImageHelper_GetLUT(*args):
return _gdcmswig.ImageHelper_GetLUT(*args)
ImageHelper_GetLUT = _gdcmswig.ImageHelper_GetLUT
def ImageHelper_GetPointerFromElement(*args):
return _gdcmswig.ImageHelper_GetPointerFromElement(*args)
ImageHelper_GetPointerFromElement = _gdcmswig.ImageHelper_GetPointerFromElement
class MD5(_object):
"""
Class for MD5.
WARNING: this class is able to pick from two implementations: 1. a
lightweight md5 implementation (when GDCM_BUILD_TESTING is turned ON)
2. the one from OpenSSL (when GDCM_USE_SYSTEM_OPENSSL is turned ON)
In all other cases it will return an error
C++ includes: gdcmMD5.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, MD5, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, MD5, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::MD5::MD5() """
this = _gdcmswig.new_MD5()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_MD5
__del__ = lambda self : None;
__swig_getmethods__["Compute"] = lambda x: _gdcmswig.MD5_Compute
if _newclass:Compute = staticmethod(_gdcmswig.MD5_Compute)
__swig_getmethods__["ComputeFile"] = lambda x: _gdcmswig.MD5_ComputeFile
if _newclass:ComputeFile = staticmethod(_gdcmswig.MD5_ComputeFile)
MD5_swigregister = _gdcmswig.MD5_swigregister
MD5_swigregister(MD5)
def MD5_Compute(*args):
return _gdcmswig.MD5_Compute(*args)
MD5_Compute = _gdcmswig.MD5_Compute
def MD5_ComputeFile(*args):
return _gdcmswig.MD5_ComputeFile(*args)
MD5_ComputeFile = _gdcmswig.MD5_ComputeFile
class DummyValueGenerator(_object):
"""
Class for generating dummy value.
See: Anonymizer
C++ includes: gdcmDummyValueGenerator.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DummyValueGenerator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DummyValueGenerator, name)
__repr__ = _swig_repr
__swig_getmethods__["Generate"] = lambda x: _gdcmswig.DummyValueGenerator_Generate
if _newclass:Generate = staticmethod(_gdcmswig.DummyValueGenerator_Generate)
def __init__(self):
this = _gdcmswig.new_DummyValueGenerator()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_DummyValueGenerator
__del__ = lambda self : None;
DummyValueGenerator_swigregister = _gdcmswig.DummyValueGenerator_swigregister
DummyValueGenerator_swigregister(DummyValueGenerator)
def DummyValueGenerator_Generate(*args):
return _gdcmswig.DummyValueGenerator_Generate(*args)
DummyValueGenerator_Generate = _gdcmswig.DummyValueGenerator_Generate
class SHA1(_object):
"""
Class for SHA1.
WARNING: this class is able to pick from one implementation: 1. the
one from OpenSSL (when GDCM_USE_SYSTEM_OPENSSL is turned ON)
In all other cases it will return an error
C++ includes: gdcmSHA1.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SHA1, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SHA1, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::SHA1::SHA1() """
this = _gdcmswig.new_SHA1()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_SHA1
__del__ = lambda self : None;
__swig_getmethods__["Compute"] = lambda x: _gdcmswig.SHA1_Compute
if _newclass:Compute = staticmethod(_gdcmswig.SHA1_Compute)
__swig_getmethods__["ComputeFile"] = lambda x: _gdcmswig.SHA1_ComputeFile
if _newclass:ComputeFile = staticmethod(_gdcmswig.SHA1_ComputeFile)
SHA1_swigregister = _gdcmswig.SHA1_swigregister
SHA1_swigregister(SHA1)
def SHA1_Compute(*args):
return _gdcmswig.SHA1_Compute(*args)
SHA1_Compute = _gdcmswig.SHA1_Compute
def SHA1_ComputeFile(*args):
return _gdcmswig.SHA1_ComputeFile(*args)
SHA1_ComputeFile = _gdcmswig.SHA1_ComputeFile
class Base64(_object):
"""
Class for Base64.
C++ includes: gdcmBase64.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Base64, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Base64, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::Base64::Base64()
"""
this = _gdcmswig.new_Base64()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Base64
__del__ = lambda self : None;
__swig_getmethods__["GetEncodeLength"] = lambda x: _gdcmswig.Base64_GetEncodeLength
if _newclass:GetEncodeLength = staticmethod(_gdcmswig.Base64_GetEncodeLength)
__swig_getmethods__["Encode"] = lambda x: _gdcmswig.Base64_Encode
if _newclass:Encode = staticmethod(_gdcmswig.Base64_Encode)
__swig_getmethods__["GetDecodeLength"] = lambda x: _gdcmswig.Base64_GetDecodeLength
if _newclass:GetDecodeLength = staticmethod(_gdcmswig.Base64_GetDecodeLength)
__swig_getmethods__["Decode"] = lambda x: _gdcmswig.Base64_Decode
if _newclass:Decode = staticmethod(_gdcmswig.Base64_Decode)
Base64_swigregister = _gdcmswig.Base64_swigregister
Base64_swigregister(Base64)
def Base64_GetEncodeLength(*args):
return _gdcmswig.Base64_GetEncodeLength(*args)
Base64_GetEncodeLength = _gdcmswig.Base64_GetEncodeLength
def Base64_Encode(*args):
return _gdcmswig.Base64_Encode(*args)
Base64_Encode = _gdcmswig.Base64_Encode
def Base64_GetDecodeLength(*args):
return _gdcmswig.Base64_GetDecodeLength(*args)
Base64_GetDecodeLength = _gdcmswig.Base64_GetDecodeLength
def Base64_Decode(*args):
return _gdcmswig.Base64_Decode(*args)
Base64_Decode = _gdcmswig.Base64_Decode
class CryptographicMessageSyntax(_object):
"""
Class for CryptographicMessageSyntax encryption. This is just a simple
wrapper around openssl PKCS7_encrypt functionalities.
See online
documentationhttp://www.openssl.org/docs/crypto/PKCS7_encrypt.html
C++ includes: gdcmCryptographicMessageSyntax.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CryptographicMessageSyntax, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CryptographicMessageSyntax, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::CryptographicMessageSyntax::CryptographicMessageSyntax() """
this = _gdcmswig.new_CryptographicMessageSyntax()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_CryptographicMessageSyntax
__del__ = lambda self : None;
def ParseCertificateFile(self, *args):
"""
bool
gdcm::CryptographicMessageSyntax::ParseCertificateFile(const char
*filename)
"""
return _gdcmswig.CryptographicMessageSyntax_ParseCertificateFile(self, *args)
def ParseKeyFile(self, *args):
"""
bool gdcm::CryptographicMessageSyntax::ParseKeyFile(const char
*filename)
"""
return _gdcmswig.CryptographicMessageSyntax_ParseKeyFile(self, *args)
DES_CIPHER = _gdcmswig.CryptographicMessageSyntax_DES_CIPHER
DES3_CIPHER = _gdcmswig.CryptographicMessageSyntax_DES3_CIPHER
AES128_CIPHER = _gdcmswig.CryptographicMessageSyntax_AES128_CIPHER
AES192_CIPHER = _gdcmswig.CryptographicMessageSyntax_AES192_CIPHER
AES256_CIPHER = _gdcmswig.CryptographicMessageSyntax_AES256_CIPHER
def SetCipherType(self, *args):
"""
void gdcm::CryptographicMessageSyntax::SetCipherType(CipherTypes
type)
Set Cipher Type. Default is: AES256_CIPHER
"""
return _gdcmswig.CryptographicMessageSyntax_SetCipherType(self, *args)
def GetCipherType(self):
"""
CipherTypes gdcm::CryptographicMessageSyntax::GetCipherType() const
"""
return _gdcmswig.CryptographicMessageSyntax_GetCipherType(self)
def Encrypt(self, *args):
"""
bool gdcm::CryptographicMessageSyntax::Encrypt(char *output, size_t
&outlen, const char *array, size_t len) const
create a PKCS#7 envelopedData structure
"""
return _gdcmswig.CryptographicMessageSyntax_Encrypt(self, *args)
def Decrypt(self, *args):
"""
bool gdcm::CryptographicMessageSyntax::Decrypt(char *output, size_t
&outlen, const char *array, size_t len) const
decrypt content from a PKCS#7 envelopedData structure
"""
return _gdcmswig.CryptographicMessageSyntax_Decrypt(self, *args)
CryptographicMessageSyntax_swigregister = _gdcmswig.CryptographicMessageSyntax_swigregister
CryptographicMessageSyntax_swigregister(CryptographicMessageSyntax)
class Spacing(_object):
"""
Class for Spacing.
It all began with a mail to WG6:
Subject: Imager Pixel Spacing vs Pixel Spacing Body: [Apologies for
the duplicate post, namely to David Clunie & OFFIS team]
I have been trying to understand CP-586 in the following two cases:
On the one hand: DISCIMG/IMAGES/CRIMAGE taken
fromhttp://dclunie.com/images/pixelspacingtestimages.zip
And on the other hand:
http://gdcm.sourceforge.net/thingies/cr_pixelspacing.dcm
If I understand correctly the CP, one is required to use Pixel Spacing
for measurement ('true size' print) instead of Imager Pixel Spacing,
since the two attributes are present and Pixel Spacing is different
from Imager Pixel Spacing.
If this is correct, then the test data DISCIMG/IMAGES/CRIMAGE is
incorrect. If this is incorrect (ie. I need to use Imager Pixel
Spacing), then the display of cr_pixelspacing.dcm for measurement will
be incorrect.
Could someone please let me know what am I missing here? I could not
find any information in any header that would allow me to
differentiate those.
Thank you for your time,
Ref:http://lists.nema.org/scripts/lyris.pl?sub=488573&id=400720477 See
PS 3.3-2008, Table C.7-11b IMAGE PIXEL MACRO ATTRIBUTES
Ratio of the vertical size and horizontal size of the pixels in the
image specified by a pair of integer values where the first value is
the vertical pixel size, and the second value is the horizontal pixel
size. Required if the aspect ratio values do not have a ratio of 1:1
and the physical pixel spacing is not specified by Pixel Spacing
(0028,0030), or Imager Pixel Spacing (0018,1164) or Nominal Scanned
Pixel Spacing (0018,2010), either for the entire Image or per-frame in
a Functional Group Macro. See C.7.6.3.1.7.
PS 3.3-2008 10.7.1.3 Pixel Spacing Value Order and Valid Values All
pixel spacing related attributes shall have non-zero values, except
when there is only a single row or column or pixel of data present, in
which case the corresponding value may be zero.
Ref:http://gdcm.sourceforge.net/wiki/index.php/Imager_Pixel_Spacing
C++ includes: gdcmSpacing.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Spacing, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Spacing, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::Spacing::Spacing() """
this = _gdcmswig.new_Spacing()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_Spacing
__del__ = lambda self : None;
DETECTOR = _gdcmswig.Spacing_DETECTOR
MAGNIFIED = _gdcmswig.Spacing_MAGNIFIED
CALIBRATED = _gdcmswig.Spacing_CALIBRATED
UNKNOWN = _gdcmswig.Spacing_UNKNOWN
__swig_getmethods__["ComputePixelAspectRatioFromPixelSpacing"] = lambda x: _gdcmswig.Spacing_ComputePixelAspectRatioFromPixelSpacing
if _newclass:ComputePixelAspectRatioFromPixelSpacing = staticmethod(_gdcmswig.Spacing_ComputePixelAspectRatioFromPixelSpacing)
Spacing_swigregister = _gdcmswig.Spacing_swigregister
Spacing_swigregister(Spacing)
def Spacing_ComputePixelAspectRatioFromPixelSpacing(*args):
return _gdcmswig.Spacing_ComputePixelAspectRatioFromPixelSpacing(*args)
Spacing_ComputePixelAspectRatioFromPixelSpacing = _gdcmswig.Spacing_ComputePixelAspectRatioFromPixelSpacing
class IconImageGenerator(_object):
"""
IconImageGenerator This filter will generate a valid Icon from the
Pixel Data element (an instance of gdcm::Pixmap). To generate a valid
Icon, one is only allowed the following Photometric Interpretation:
MONOCHROME1
MONOCHROME2
PALETTE_COLOR.
The Pixel Bits Allocated is restricted to 8bits, therefore 16 bits
image needs to be rescaled. By default the filter will use the full
scalar range of 16bits image to rescale to unsigned 8bits. This may
not be ideal for some situation, in which case the API SetPixelMinMax
can be used to overwrite the default min,max interval used.
See: ImageReader
C++ includes: gdcmIconImageGenerator.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, IconImageGenerator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, IconImageGenerator, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::IconImageGenerator::IconImageGenerator() """
this = _gdcmswig.new_IconImageGenerator()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_IconImageGenerator
__del__ = lambda self : None;
def SetPixmap(self, *args):
"""
void
gdcm::IconImageGenerator::SetPixmap(const Pixmap &p)
Set/Get File.
"""
return _gdcmswig.IconImageGenerator_SetPixmap(self, *args)
def GetPixmap(self, *args):
"""
Pixmap&
gdcm::IconImageGenerator::GetPixmap()
"""
return _gdcmswig.IconImageGenerator_GetPixmap(self, *args)
def SetOutputDimensions(self, *args):
"""
void gdcm::IconImageGenerator::SetOutputDimensions(const unsigned int
dims[2])
Set Target dimension of output Icon.
"""
return _gdcmswig.IconImageGenerator_SetOutputDimensions(self, *args)
def SetPixelMinMax(self, *args):
"""
void
gdcm::IconImageGenerator::SetPixelMinMax(double min, double max)
Override default min/max to compute best rescale for 16bits -> 8bits
downscale. Typically those value can be read from the
SmallestImagePixelValue LargestImagePixelValue DICOM attribute.
"""
return _gdcmswig.IconImageGenerator_SetPixelMinMax(self, *args)
def AutoPixelMinMax(self, *args):
"""
void gdcm::IconImageGenerator::AutoPixelMinMax(bool b)
Instead of explicitely specifying the min/max value for the rescale
operation, let the internal mechanism compute the min/max of icon and
rescale to best appropriate.
"""
return _gdcmswig.IconImageGenerator_AutoPixelMinMax(self, *args)
def ConvertRGBToPaletteColor(self, *args):
"""
void
gdcm::IconImageGenerator::ConvertRGBToPaletteColor(bool b)
Converting from RGB to PALETTE_COLOR can be a slow operation. However
DICOM standard requires that color icon be described as palette. Set
this boolean to false only if you understand the consequences. true,
false generates invalid Icon Image Sequence
"""
return _gdcmswig.IconImageGenerator_ConvertRGBToPaletteColor(self, *args)
def SetOutsideValuePixel(self, *args):
"""
void gdcm::IconImageGenerator::SetOutsideValuePixel(double v)
Set a pixel value that should be discarded. This happen typically for
CT image, where a pixel has been used to pad outside the image (see
Pixel Padding Value). Requires AutoPixelMinMax(true)
"""
return _gdcmswig.IconImageGenerator_SetOutsideValuePixel(self, *args)
def Generate(self):
"""
bool
gdcm::IconImageGenerator::Generate()
Generate Icon.
"""
return _gdcmswig.IconImageGenerator_Generate(self)
def GetIconImage(self):
"""
const
IconImage& gdcm::IconImageGenerator::GetIconImage() const
Retrieve generated Icon.
"""
return _gdcmswig.IconImageGenerator_GetIconImage(self)
IconImageGenerator_swigregister = _gdcmswig.IconImageGenerator_swigregister
IconImageGenerator_swigregister(IconImageGenerator)
class IconImageFilter(_object):
"""
IconImageFilter This filter will extract icons from a gdcm::File This
filter will loop over all known sequence (public and private) that may
contains an IconImage and retrieve them. The filter will fails with a
value of false if no icon can be found Since it handle both public and
private icon type, one should not assume the icon is in uncompress
form, some private vendor store private icon in JPEG8/JPEG12.
Implementation details: This filter supports the following Icons:
(0088,0200) Icon Image Sequence
(0009,10,GEIIS) GE IIS Thumbnail Sequence
(6003,10,GEMS_Ultrasound_ImageGroup_001) GEMS Image Thumbnail Sequence
(0055,30,VEPRO VIF 3.0 DATA) Icon Data
(0055,30,VEPRO VIM 5.0 DATA) ICONDATA2
WARNING: the icon stored in those private attribute do not conform to
definition of Icon Image Sequence (do not simply copy/paste). For
example some private icon can be expressed as 12bits pixel, while the
DICOM standard only allow 8bits icons.
See: ImageReader
C++ includes: gdcmIconImageFilter.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, IconImageFilter, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, IconImageFilter, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::IconImageFilter::IconImageFilter() """
this = _gdcmswig.new_IconImageFilter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_IconImageFilter
__del__ = lambda self : None;
def SetFile(self, *args):
"""
void
gdcm::IconImageFilter::SetFile(const File &f)
Set/Get File.
"""
return _gdcmswig.IconImageFilter_SetFile(self, *args)
def GetFile(self, *args):
"""
const File&
gdcm::IconImageFilter::GetFile() const
"""
return _gdcmswig.IconImageFilter_GetFile(self, *args)
def Extract(self):
"""
bool
gdcm::IconImageFilter::Extract()
Extract all Icon found in File.
"""
return _gdcmswig.IconImageFilter_Extract(self)
def GetNumberOfIconImages(self):
"""
unsigned int gdcm::IconImageFilter::GetNumberOfIconImages() const
Retrieve extract IconImage (need to call Extract first).
"""
return _gdcmswig.IconImageFilter_GetNumberOfIconImages(self)
def GetIconImage(self, *args):
"""
IconImage& gdcm::IconImageFilter::GetIconImage(unsigned int i) const
"""
return _gdcmswig.IconImageFilter_GetIconImage(self, *args)
IconImageFilter_swigregister = _gdcmswig.IconImageFilter_swigregister
IconImageFilter_swigregister(IconImageFilter)
class SimpleSubjectWatcher(_object):
"""
SimpleSubjectWatcher This is a typical Subject Watcher class. It will
observe all events.
C++ includes: gdcmSimpleSubjectWatcher.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, SimpleSubjectWatcher, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, SimpleSubjectWatcher, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
gdcm::SimpleSubjectWatcher::SimpleSubjectWatcher(Subject *s, const
char *comment="")
"""
if self.__class__ == SimpleSubjectWatcher:
_self = None
else:
_self = self
this = _gdcmswig.new_SimpleSubjectWatcher(_self, *args)
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_SimpleSubjectWatcher
__del__ = lambda self : None;
def StartFilter(self): return _gdcmswig.SimpleSubjectWatcher_StartFilter(self)
def EndFilter(self): return _gdcmswig.SimpleSubjectWatcher_EndFilter(self)
def ShowProgress(self, *args): return _gdcmswig.SimpleSubjectWatcher_ShowProgress(self, *args)
def ShowIteration(self): return _gdcmswig.SimpleSubjectWatcher_ShowIteration(self)
def ShowAnonymization(self, *args): return _gdcmswig.SimpleSubjectWatcher_ShowAnonymization(self, *args)
def ShowDataSet(self, *args): return _gdcmswig.SimpleSubjectWatcher_ShowDataSet(self, *args)
def ShowData(self, *args): return _gdcmswig.SimpleSubjectWatcher_ShowData(self, *args)
def ShowAbort(self): return _gdcmswig.SimpleSubjectWatcher_ShowAbort(self)
def __disown__(self):
self.this.disown()
_gdcmswig.disown_SimpleSubjectWatcher(self)
return weakref_proxy(self)
SimpleSubjectWatcher_swigregister = _gdcmswig.SimpleSubjectWatcher_swigregister
SimpleSubjectWatcher_swigregister(SimpleSubjectWatcher)
class DICOMDIRGenerator(_object):
"""
DICOMDIRGenerator class This is a STD-GEN-CD DICOMDIR generator. ref:
PS 3.11-2008 Annex D (Normative) - General Purpose CD-R and DVD
Interchange Profiles.
PS 3.11 - 2008 / D.3.2 Physical Medium And Medium Format The STD-GEN-
CD and STD-GEN-SEC-CD application profiles require the 120 mm CD-R
physical medium with the ISO/IEC 9660 Media Format, as defined in
PS3.12. See also PS 3.12 - 2008 / Annex F 120mm CD-R Medium
(Normative) and PS 3.10 - 2008 / 8 DICOM File Service / 8.1 FILE-SET
WARNING: : PS 3.11 - 2008 / D.3.1 SOP Classes and Transfer Syntaxes
Composite Image & Stand-alone Storage are required to be stored as
Explicit VR Little Endian Uncompressed (1.2.840.10008.1.2.1). When a
DICOM file is found using another Transfer Syntax the generator will
simply stops.
Input files should be Explicit VR Little Endian
filenames should be valid VR::CS value (16 bytes, upper case ...)
Bug : There is a current limitation of not handling Referenced SOP
Class UID / Referenced SOP Instance UID simply because the
gdcm::Scanner does not allow us See PS 3.11 / Table D.3-2 STD-GEN
Additional DICOMDIR Keys
C++ includes: gdcmDICOMDIRGenerator.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DICOMDIRGenerator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DICOMDIRGenerator, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::DICOMDIRGenerator::DICOMDIRGenerator() """
this = _gdcmswig.new_DICOMDIRGenerator()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_DICOMDIRGenerator
__del__ = lambda self : None;
def SetFilenames(self, *args):
"""
void
gdcm::DICOMDIRGenerator::SetFilenames(FilenamesType const &fns)
Set the list of filenames from which the DICOMDIR should be generated
from.
"""
return _gdcmswig.DICOMDIRGenerator_SetFilenames(self, *args)
def SetRootDirectory(self, *args):
"""
void gdcm::DICOMDIRGenerator::SetRootDirectory(FilenameType const
&root)
Set the root directory from which the filenames should be considered.
"""
return _gdcmswig.DICOMDIRGenerator_SetRootDirectory(self, *args)
def SetDescriptor(self, *args):
"""
void
gdcm::DICOMDIRGenerator::SetDescriptor(const char *d)
Set the File Set ID. WARNING: this need to be a valid VR::CS value
"""
return _gdcmswig.DICOMDIRGenerator_SetDescriptor(self, *args)
def Generate(self):
"""
bool
gdcm::DICOMDIRGenerator::Generate()
Main function to generate the DICOMDIR.
"""
return _gdcmswig.DICOMDIRGenerator_Generate(self)
def SetFile(self, *args):
"""
void
gdcm::DICOMDIRGenerator::SetFile(const File &f)
Set/Get file. The DICOMDIR file will be valid once a call to Generate
has been done.
"""
return _gdcmswig.DICOMDIRGenerator_SetFile(self, *args)
def GetFile(self):
"""
File&
gdcm::DICOMDIRGenerator::GetFile()
"""
return _gdcmswig.DICOMDIRGenerator_GetFile(self)
DICOMDIRGenerator_swigregister = _gdcmswig.DICOMDIRGenerator_swigregister
DICOMDIRGenerator_swigregister(DICOMDIRGenerator)
class FileDerivation(_object):
"""
FileDerivation class See PS 3.16 - 2008 For the list of Code Value
that can be used for in Derivation Code Sequence.
URL:http://medical.nema.org/medical/dicom/2008/08_16pu.pdf
DICOM Part 16 has two Context Groups CID 7202 and CID 7203 which
contain a set of codes defining reason for a source image reference
(ie. reason code for referenced image sequence) and a coded
description of the deriation applied to the new image data from the
original. Both these context groups are extensible.
File Derivation is compulsary when creating a lossy derived image.
C++ includes: gdcmFileDerivation.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, FileDerivation, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, FileDerivation, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::FileDerivation::FileDerivation() """
this = _gdcmswig.new_FileDerivation()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_FileDerivation
__del__ = lambda self : None;
def AddReference(self, *args):
"""
bool
gdcm::FileDerivation::AddReference(const char *referencedsopclassuid,
const char *referencedsopinstanceuid)
Create the proper reference. Need to pass the original SOP Class UID
and the original SOP Instance UID, so that those value can be used as
Reference. WARNING: referencedsopclassuid and
referencedsopinstanceuid needs to be padded. This is not compatible
with how ByteValue->GetPointer works.
"""
return _gdcmswig.FileDerivation_AddReference(self, *args)
def SetPurposeOfReferenceCodeSequenceCodeValue(self, *args):
"""
void
gdcm::FileDerivation::SetPurposeOfReferenceCodeSequenceCodeValue(unsigned
int codevalue)
Specify the Purpose Of Reference Code Value. Eg. 121320.
"""
return _gdcmswig.FileDerivation_SetPurposeOfReferenceCodeSequenceCodeValue(self, *args)
def SetDerivationCodeSequenceCodeValue(self, *args):
"""
void
gdcm::FileDerivation::SetDerivationCodeSequenceCodeValue(unsigned int
codevalue)
Specify the Derivation Code Sequence Code Value. Eg 113040.
"""
return _gdcmswig.FileDerivation_SetDerivationCodeSequenceCodeValue(self, *args)
def SetDerivationDescription(self, *args):
"""
void gdcm::FileDerivation::SetDerivationDescription(const char *dd)
Specify the Derivation Description. Eg "lossy conversion".
"""
return _gdcmswig.FileDerivation_SetDerivationDescription(self, *args)
def Derive(self):
"""
bool
gdcm::FileDerivation::Derive()
Change.
"""
return _gdcmswig.FileDerivation_Derive(self)
def SetFile(self, *args):
"""
void
gdcm::FileDerivation::SetFile(const File &f)
Set/Get File.
"""
return _gdcmswig.FileDerivation_SetFile(self, *args)
def GetFile(self, *args):
"""
const File&
gdcm::FileDerivation::GetFile() const
"""
return _gdcmswig.FileDerivation_GetFile(self, *args)
FileDerivation_swigregister = _gdcmswig.FileDerivation_swigregister
FileDerivation_swigregister(FileDerivation)
class FileAnonymizer(Subject):
"""
FileAnonymizer.
This Anonymizer is a file-based Anonymizer. It requires a valid DICOM
file and will use the Value Length to skip over any information.
It will not load the data into memory and should consume much less
memory than gdcm::Anonymizer
caveats: This class will NOT work with unordered attributes in a DICOM
File.
This class does neither recompute nor update the Group Length element.
This class currently does not update the File Meta Information header
C++ includes: gdcmFileAnonymizer.h
"""
__swig_setmethods__ = {}
for _s in [Subject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, FileAnonymizer, name, value)
__swig_getmethods__ = {}
for _s in [Subject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, FileAnonymizer, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::FileAnonymizer::FileAnonymizer() """
this = _gdcmswig.new_FileAnonymizer()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_FileAnonymizer
__del__ = lambda self : None;
def Empty(self, *args):
"""
void
gdcm::FileAnonymizer::Empty(Tag const &t)
Make Tag t empty Warning: does not handle SQ element
"""
return _gdcmswig.FileAnonymizer_Empty(self, *args)
def Remove(self, *args):
"""
void
gdcm::FileAnonymizer::Remove(Tag const &t)
remove a tag (even a SQ can be removed)
"""
return _gdcmswig.FileAnonymizer_Remove(self, *args)
def Replace(self, *args):
"""
void
gdcm::FileAnonymizer::Replace(Tag const &t, const char *value, VL
const &vl)
when the value contains , it is a good idea to specify the length.
This function is required when dealing with VRBINARY tag
"""
return _gdcmswig.FileAnonymizer_Replace(self, *args)
def SetInputFileName(self, *args):
"""
void
gdcm::FileAnonymizer::SetInputFileName(const char *filename_native)
Set input filename.
"""
return _gdcmswig.FileAnonymizer_SetInputFileName(self, *args)
def SetOutputFileName(self, *args):
"""
void
gdcm::FileAnonymizer::SetOutputFileName(const char *filename_native)
Set output filename.
"""
return _gdcmswig.FileAnonymizer_SetOutputFileName(self, *args)
def Write(self):
"""
bool
gdcm::FileAnonymizer::Write()
Write the output file.
"""
return _gdcmswig.FileAnonymizer_Write(self)
FileAnonymizer_swigregister = _gdcmswig.FileAnonymizer_swigregister
FileAnonymizer_swigregister(FileAnonymizer)
class DataSetArrayType(_object):
"""
STL class.
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, DataSetArrayType, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, DataSetArrayType, name)
__repr__ = _swig_repr
def iterator(self):
"""
STL iterator class.
"""
return _gdcmswig.DataSetArrayType_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _gdcmswig.DataSetArrayType___nonzero__(self)
def __bool__(self): return _gdcmswig.DataSetArrayType___bool__(self)
def __len__(self): return _gdcmswig.DataSetArrayType___len__(self)
def pop(self): return _gdcmswig.DataSetArrayType_pop(self)
def __getslice__(self, *args): return _gdcmswig.DataSetArrayType___getslice__(self, *args)
def __setslice__(self, *args): return _gdcmswig.DataSetArrayType___setslice__(self, *args)
def __delslice__(self, *args): return _gdcmswig.DataSetArrayType___delslice__(self, *args)
def __delitem__(self, *args): return _gdcmswig.DataSetArrayType___delitem__(self, *args)
def __getitem__(self, *args): return _gdcmswig.DataSetArrayType___getitem__(self, *args)
def __setitem__(self, *args): return _gdcmswig.DataSetArrayType___setitem__(self, *args)
def append(self, *args): return _gdcmswig.DataSetArrayType_append(self, *args)
def empty(self): return _gdcmswig.DataSetArrayType_empty(self)
def size(self): return _gdcmswig.DataSetArrayType_size(self)
def clear(self): return _gdcmswig.DataSetArrayType_clear(self)
def swap(self, *args): return _gdcmswig.DataSetArrayType_swap(self, *args)
def get_allocator(self): return _gdcmswig.DataSetArrayType_get_allocator(self)
def begin(self): return _gdcmswig.DataSetArrayType_begin(self)
def end(self): return _gdcmswig.DataSetArrayType_end(self)
def rbegin(self): return _gdcmswig.DataSetArrayType_rbegin(self)
def rend(self): return _gdcmswig.DataSetArrayType_rend(self)
def pop_back(self): return _gdcmswig.DataSetArrayType_pop_back(self)
def erase(self, *args): return _gdcmswig.DataSetArrayType_erase(self, *args)
def __init__(self, *args):
this = _gdcmswig.new_DataSetArrayType(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args): return _gdcmswig.DataSetArrayType_push_back(self, *args)
def front(self): return _gdcmswig.DataSetArrayType_front(self)
def back(self): return _gdcmswig.DataSetArrayType_back(self)
def assign(self, *args): return _gdcmswig.DataSetArrayType_assign(self, *args)
def resize(self, *args): return _gdcmswig.DataSetArrayType_resize(self, *args)
def insert(self, *args): return _gdcmswig.DataSetArrayType_insert(self, *args)
def reserve(self, *args): return _gdcmswig.DataSetArrayType_reserve(self, *args)
def capacity(self): return _gdcmswig.DataSetArrayType_capacity(self)
__swig_destroy__ = _gdcmswig.delete_DataSetArrayType
__del__ = lambda self : None;
DataSetArrayType_swigregister = _gdcmswig.DataSetArrayType_swigregister
DataSetArrayType_swigregister(DataSetArrayType)
class FileArrayType(_object):
"""
STL class.
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, FileArrayType, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, FileArrayType, name)
__repr__ = _swig_repr
def iterator(self):
"""
STL iterator class.
"""
return _gdcmswig.FileArrayType_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _gdcmswig.FileArrayType___nonzero__(self)
def __bool__(self): return _gdcmswig.FileArrayType___bool__(self)
def __len__(self): return _gdcmswig.FileArrayType___len__(self)
def pop(self): return _gdcmswig.FileArrayType_pop(self)
def __getslice__(self, *args): return _gdcmswig.FileArrayType___getslice__(self, *args)
def __setslice__(self, *args): return _gdcmswig.FileArrayType___setslice__(self, *args)
def __delslice__(self, *args): return _gdcmswig.FileArrayType___delslice__(self, *args)
def __delitem__(self, *args): return _gdcmswig.FileArrayType___delitem__(self, *args)
def __getitem__(self, *args): return _gdcmswig.FileArrayType___getitem__(self, *args)
def __setitem__(self, *args): return _gdcmswig.FileArrayType___setitem__(self, *args)
def append(self, *args): return _gdcmswig.FileArrayType_append(self, *args)
def empty(self): return _gdcmswig.FileArrayType_empty(self)
def size(self): return _gdcmswig.FileArrayType_size(self)
def clear(self): return _gdcmswig.FileArrayType_clear(self)
def swap(self, *args): return _gdcmswig.FileArrayType_swap(self, *args)
def get_allocator(self): return _gdcmswig.FileArrayType_get_allocator(self)
def begin(self): return _gdcmswig.FileArrayType_begin(self)
def end(self): return _gdcmswig.FileArrayType_end(self)
def rbegin(self): return _gdcmswig.FileArrayType_rbegin(self)
def rend(self): return _gdcmswig.FileArrayType_rend(self)
def pop_back(self): return _gdcmswig.FileArrayType_pop_back(self)
def erase(self, *args): return _gdcmswig.FileArrayType_erase(self, *args)
def __init__(self, *args):
this = _gdcmswig.new_FileArrayType(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args): return _gdcmswig.FileArrayType_push_back(self, *args)
def front(self): return _gdcmswig.FileArrayType_front(self)
def back(self): return _gdcmswig.FileArrayType_back(self)
def assign(self, *args): return _gdcmswig.FileArrayType_assign(self, *args)
def resize(self, *args): return _gdcmswig.FileArrayType_resize(self, *args)
def insert(self, *args): return _gdcmswig.FileArrayType_insert(self, *args)
def reserve(self, *args): return _gdcmswig.FileArrayType_reserve(self, *args)
def capacity(self): return _gdcmswig.FileArrayType_capacity(self)
__swig_destroy__ = _gdcmswig.delete_FileArrayType
__del__ = lambda self : None;
FileArrayType_swigregister = _gdcmswig.FileArrayType_swigregister
FileArrayType_swigregister(FileArrayType)
class PresentationContextArrayType(_object):
"""
STL class.
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PresentationContextArrayType, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PresentationContextArrayType, name)
__repr__ = _swig_repr
def iterator(self):
"""
STL iterator class.
"""
return _gdcmswig.PresentationContextArrayType_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _gdcmswig.PresentationContextArrayType___nonzero__(self)
def __bool__(self): return _gdcmswig.PresentationContextArrayType___bool__(self)
def __len__(self): return _gdcmswig.PresentationContextArrayType___len__(self)
def pop(self): return _gdcmswig.PresentationContextArrayType_pop(self)
def __getslice__(self, *args): return _gdcmswig.PresentationContextArrayType___getslice__(self, *args)
def __setslice__(self, *args): return _gdcmswig.PresentationContextArrayType___setslice__(self, *args)
def __delslice__(self, *args): return _gdcmswig.PresentationContextArrayType___delslice__(self, *args)
def __delitem__(self, *args): return _gdcmswig.PresentationContextArrayType___delitem__(self, *args)
def __getitem__(self, *args): return _gdcmswig.PresentationContextArrayType___getitem__(self, *args)
def __setitem__(self, *args): return _gdcmswig.PresentationContextArrayType___setitem__(self, *args)
def append(self, *args): return _gdcmswig.PresentationContextArrayType_append(self, *args)
def empty(self): return _gdcmswig.PresentationContextArrayType_empty(self)
def size(self): return _gdcmswig.PresentationContextArrayType_size(self)
def clear(self): return _gdcmswig.PresentationContextArrayType_clear(self)
def swap(self, *args): return _gdcmswig.PresentationContextArrayType_swap(self, *args)
def get_allocator(self): return _gdcmswig.PresentationContextArrayType_get_allocator(self)
def begin(self): return _gdcmswig.PresentationContextArrayType_begin(self)
def end(self): return _gdcmswig.PresentationContextArrayType_end(self)
def rbegin(self): return _gdcmswig.PresentationContextArrayType_rbegin(self)
def rend(self): return _gdcmswig.PresentationContextArrayType_rend(self)
def pop_back(self): return _gdcmswig.PresentationContextArrayType_pop_back(self)
def erase(self, *args): return _gdcmswig.PresentationContextArrayType_erase(self, *args)
def __init__(self, *args):
this = _gdcmswig.new_PresentationContextArrayType(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args): return _gdcmswig.PresentationContextArrayType_push_back(self, *args)
def front(self): return _gdcmswig.PresentationContextArrayType_front(self)
def back(self): return _gdcmswig.PresentationContextArrayType_back(self)
def assign(self, *args): return _gdcmswig.PresentationContextArrayType_assign(self, *args)
def resize(self, *args): return _gdcmswig.PresentationContextArrayType_resize(self, *args)
def insert(self, *args): return _gdcmswig.PresentationContextArrayType_insert(self, *args)
def reserve(self, *args): return _gdcmswig.PresentationContextArrayType_reserve(self, *args)
def capacity(self): return _gdcmswig.PresentationContextArrayType_capacity(self)
__swig_destroy__ = _gdcmswig.delete_PresentationContextArrayType
__del__ = lambda self : None;
PresentationContextArrayType_swigregister = _gdcmswig.PresentationContextArrayType_swigregister
PresentationContextArrayType_swigregister(PresentationContextArrayType)
class KeyValuePairType(_object):
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, KeyValuePairType, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, KeyValuePairType, name)
__repr__ = _swig_repr
def __init__(self, *args):
this = _gdcmswig.new_KeyValuePairType(*args)
try: self.this.append(this)
except: self.this = this
__swig_setmethods__["first"] = _gdcmswig.KeyValuePairType_first_set
__swig_getmethods__["first"] = _gdcmswig.KeyValuePairType_first_get
if _newclass:first = _swig_property(_gdcmswig.KeyValuePairType_first_get, _gdcmswig.KeyValuePairType_first_set)
__swig_setmethods__["second"] = _gdcmswig.KeyValuePairType_second_set
__swig_getmethods__["second"] = _gdcmswig.KeyValuePairType_second_get
if _newclass:second = _swig_property(_gdcmswig.KeyValuePairType_second_get, _gdcmswig.KeyValuePairType_second_set)
def __len__(self): return 2
def __repr__(self): return str((self.first, self.second))
def __getitem__(self, index):
if not (index % 2):
return self.first
else:
return self.second
def __setitem__(self, index, val):
if not (index % 2):
self.first = val
else:
self.second = val
__swig_destroy__ = _gdcmswig.delete_KeyValuePairType
__del__ = lambda self : None;
KeyValuePairType_swigregister = _gdcmswig.KeyValuePairType_swigregister
KeyValuePairType_swigregister(KeyValuePairType)
class KeyValuePairArrayType(_object):
"""
STL class.
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, KeyValuePairArrayType, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, KeyValuePairArrayType, name)
__repr__ = _swig_repr
def iterator(self):
"""
STL iterator class.
"""
return _gdcmswig.KeyValuePairArrayType_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _gdcmswig.KeyValuePairArrayType___nonzero__(self)
def __bool__(self): return _gdcmswig.KeyValuePairArrayType___bool__(self)
def __len__(self): return _gdcmswig.KeyValuePairArrayType___len__(self)
def pop(self): return _gdcmswig.KeyValuePairArrayType_pop(self)
def __getslice__(self, *args): return _gdcmswig.KeyValuePairArrayType___getslice__(self, *args)
def __setslice__(self, *args): return _gdcmswig.KeyValuePairArrayType___setslice__(self, *args)
def __delslice__(self, *args): return _gdcmswig.KeyValuePairArrayType___delslice__(self, *args)
def __delitem__(self, *args): return _gdcmswig.KeyValuePairArrayType___delitem__(self, *args)
def __getitem__(self, *args): return _gdcmswig.KeyValuePairArrayType___getitem__(self, *args)
def __setitem__(self, *args): return _gdcmswig.KeyValuePairArrayType___setitem__(self, *args)
def append(self, *args): return _gdcmswig.KeyValuePairArrayType_append(self, *args)
def empty(self): return _gdcmswig.KeyValuePairArrayType_empty(self)
def size(self): return _gdcmswig.KeyValuePairArrayType_size(self)
def clear(self): return _gdcmswig.KeyValuePairArrayType_clear(self)
def swap(self, *args): return _gdcmswig.KeyValuePairArrayType_swap(self, *args)
def get_allocator(self): return _gdcmswig.KeyValuePairArrayType_get_allocator(self)
def begin(self): return _gdcmswig.KeyValuePairArrayType_begin(self)
def end(self): return _gdcmswig.KeyValuePairArrayType_end(self)
def rbegin(self): return _gdcmswig.KeyValuePairArrayType_rbegin(self)
def rend(self): return _gdcmswig.KeyValuePairArrayType_rend(self)
def pop_back(self): return _gdcmswig.KeyValuePairArrayType_pop_back(self)
def erase(self, *args): return _gdcmswig.KeyValuePairArrayType_erase(self, *args)
def __init__(self, *args):
this = _gdcmswig.new_KeyValuePairArrayType(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args): return _gdcmswig.KeyValuePairArrayType_push_back(self, *args)
def front(self): return _gdcmswig.KeyValuePairArrayType_front(self)
def back(self): return _gdcmswig.KeyValuePairArrayType_back(self)
def assign(self, *args): return _gdcmswig.KeyValuePairArrayType_assign(self, *args)
def resize(self, *args): return _gdcmswig.KeyValuePairArrayType_resize(self, *args)
def insert(self, *args): return _gdcmswig.KeyValuePairArrayType_insert(self, *args)
def reserve(self, *args): return _gdcmswig.KeyValuePairArrayType_reserve(self, *args)
def capacity(self): return _gdcmswig.KeyValuePairArrayType_capacity(self)
__swig_destroy__ = _gdcmswig.delete_KeyValuePairArrayType
__del__ = lambda self : None;
KeyValuePairArrayType_swigregister = _gdcmswig.KeyValuePairArrayType_swigregister
KeyValuePairArrayType_swigregister(KeyValuePairArrayType)
class TagArrayType(_object):
"""
STL class.
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, TagArrayType, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, TagArrayType, name)
__repr__ = _swig_repr
def iterator(self):
"""
STL iterator class.
"""
return _gdcmswig.TagArrayType_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _gdcmswig.TagArrayType___nonzero__(self)
def __bool__(self): return _gdcmswig.TagArrayType___bool__(self)
def __len__(self): return _gdcmswig.TagArrayType___len__(self)
def pop(self): return _gdcmswig.TagArrayType_pop(self)
def __getslice__(self, *args): return _gdcmswig.TagArrayType___getslice__(self, *args)
def __setslice__(self, *args): return _gdcmswig.TagArrayType___setslice__(self, *args)
def __delslice__(self, *args): return _gdcmswig.TagArrayType___delslice__(self, *args)
def __delitem__(self, *args): return _gdcmswig.TagArrayType___delitem__(self, *args)
def __getitem__(self, *args): return _gdcmswig.TagArrayType___getitem__(self, *args)
def __setitem__(self, *args): return _gdcmswig.TagArrayType___setitem__(self, *args)
def append(self, *args): return _gdcmswig.TagArrayType_append(self, *args)
def empty(self): return _gdcmswig.TagArrayType_empty(self)
def size(self): return _gdcmswig.TagArrayType_size(self)
def clear(self): return _gdcmswig.TagArrayType_clear(self)
def swap(self, *args): return _gdcmswig.TagArrayType_swap(self, *args)
def get_allocator(self): return _gdcmswig.TagArrayType_get_allocator(self)
def begin(self): return _gdcmswig.TagArrayType_begin(self)
def end(self): return _gdcmswig.TagArrayType_end(self)
def rbegin(self): return _gdcmswig.TagArrayType_rbegin(self)
def rend(self): return _gdcmswig.TagArrayType_rend(self)
def pop_back(self): return _gdcmswig.TagArrayType_pop_back(self)
def erase(self, *args): return _gdcmswig.TagArrayType_erase(self, *args)
def __init__(self, *args):
this = _gdcmswig.new_TagArrayType(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args): return _gdcmswig.TagArrayType_push_back(self, *args)
def front(self): return _gdcmswig.TagArrayType_front(self)
def back(self): return _gdcmswig.TagArrayType_back(self)
def assign(self, *args): return _gdcmswig.TagArrayType_assign(self, *args)
def resize(self, *args): return _gdcmswig.TagArrayType_resize(self, *args)
def insert(self, *args): return _gdcmswig.TagArrayType_insert(self, *args)
def reserve(self, *args): return _gdcmswig.TagArrayType_reserve(self, *args)
def capacity(self): return _gdcmswig.TagArrayType_capacity(self)
__swig_destroy__ = _gdcmswig.delete_TagArrayType
__del__ = lambda self : None;
TagArrayType_swigregister = _gdcmswig.TagArrayType_swigregister
TagArrayType_swigregister(TagArrayType)
ePatientRootType = _gdcmswig.ePatientRootType
eStudyRootType = _gdcmswig.eStudyRootType
class QueryBase(_object):
"""
QueryBase contains: the base class for constructing a query dataset
for a C-FIND and a C-MOVE.
There are four levels of C-FIND and C-MOVE query: Patient
Study
Series
Image Each one has its own required and optional tags. This class
provides an interface for getting those tags. This is an interface
class.
See 3.4 C 6.1 and 3.4 C 6.2 for the patient and study root query
types. These sections define the tags allowed by a particular query.
The caller must pass in which root type they want, patient or study. A
third root type, Modality Worklist Query, isn't yet supported.
This class (or rather it's derived classes) will be held in the
RootQuery types. These query types actually make the dataset, and will
use this dataset to list the required, unique, and optional tags for
each type of query. This design is somewhat overly complicated, but is
kept so that if we ever wanted to try to guess the query type from the
given tags, we could do so.
C++ includes: gdcmQueryBase.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, QueryBase, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, QueryBase, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_QueryBase
__del__ = lambda self : None;
def GetRequiredTags(self, *args):
"""
virtual
std::vector<Tag> gdcm::QueryBase::GetRequiredTags(const ERootType
&inRootType) const =0
"""
return _gdcmswig.QueryBase_GetRequiredTags(self, *args)
def GetUniqueTags(self, *args):
"""
virtual
std::vector<Tag> gdcm::QueryBase::GetUniqueTags(const ERootType
&inRootType) const =0
"""
return _gdcmswig.QueryBase_GetUniqueTags(self, *args)
def GetOptionalTags(self, *args):
"""
virtual
std::vector<Tag> gdcm::QueryBase::GetOptionalTags(const ERootType
&inRootType) const =0
"""
return _gdcmswig.QueryBase_GetOptionalTags(self, *args)
def GetHierachicalSearchTags(self, *args):
"""
virtual std::vector<Tag>
gdcm::QueryBase::GetHierachicalSearchTags(const ERootType &inRootType)
const =0
Return all Unique Key for a particular Query Root type (from the same
level and above).
"""
return _gdcmswig.QueryBase_GetHierachicalSearchTags(self, *args)
def GetAllTags(self, *args):
"""
std::vector<Tag>
gdcm::QueryBase::GetAllTags(const ERootType &inRootType) const
In order to validate a query dataset, just check for the presence of a
tag, not it's requirement level in the spec
"""
return _gdcmswig.QueryBase_GetAllTags(self, *args)
def GetAllRequiredTags(self, *args):
"""
std::vector<Tag> gdcm::QueryBase::GetAllRequiredTags(const ERootType
&inRootType) const
In order to validate a query dataset we need to check that there
exists at least one required (or unique) key
"""
return _gdcmswig.QueryBase_GetAllRequiredTags(self, *args)
def GetName(self):
"""
virtual const char*
gdcm::QueryBase::GetName() const =0
"""
return _gdcmswig.QueryBase_GetName(self)
def GetQueryLevel(self):
"""
virtual
DataElement gdcm::QueryBase::GetQueryLevel() const =0
"""
return _gdcmswig.QueryBase_GetQueryLevel(self)
QueryBase_swigregister = _gdcmswig.QueryBase_swigregister
QueryBase_swigregister(QueryBase)
ePatient = _gdcmswig.ePatient
eStudy = _gdcmswig.eStudy
eSeries = _gdcmswig.eSeries
eImage = _gdcmswig.eImage
eFind = _gdcmswig.eFind
eMove = _gdcmswig.eMove
class BaseRootQuery(Object):
"""
BaseRootQuery contains: a baseclass which will produce a dataset for
c-find and c-move with patient/study root.
This class contains the functionality used in patient c-find and
c-move queries. PatientRootQuery and StudyRootQuery derive from this
class.
Namely: 1) list all tags associated with a particular query type 2)
produce a query dataset via tag association
Eventually, it can be used to validate a particular dataset type.
The dataset held by this object (or, really, one of its derivates)
should be passed to a c-find or c-move query.
C++ includes: gdcmBaseRootQuery.h
"""
__swig_setmethods__ = {}
for _s in [Object]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, BaseRootQuery, name, value)
__swig_getmethods__ = {}
for _s in [Object]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, BaseRootQuery, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_BaseRootQuery
__del__ = lambda self : None;
def SetSearchParameter(self, *args):
"""
void
gdcm::BaseRootQuery::SetSearchParameter(const std::string &inKeyword,
const std::string &inValue)
"""
return _gdcmswig.BaseRootQuery_SetSearchParameter(self, *args)
def WriteHelpFile(self, *args):
"""
const
std::ostream& gdcm::BaseRootQuery::WriteHelpFile(std::ostream &os)
"""
return _gdcmswig.BaseRootQuery_WriteHelpFile(self, *args)
def WriteQuery(self, *args):
"""
bool
gdcm::BaseRootQuery::WriteQuery(const std::string &inFileName)
"""
return _gdcmswig.BaseRootQuery_WriteQuery(self, *args)
def GetQueryDataSet(self, *args):
"""
DataSet&
gdcm::BaseRootQuery::GetQueryDataSet()
"""
return _gdcmswig.BaseRootQuery_GetQueryDataSet(self, *args)
def AddQueryDataSet(self, *args):
"""
void
gdcm::BaseRootQuery::AddQueryDataSet(const DataSet &ds)
"""
return _gdcmswig.BaseRootQuery_AddQueryDataSet(self, *args)
def GetTagListByLevel(self, *args):
"""
virtual std::vector<Tag> gdcm::BaseRootQuery::GetTagListByLevel(const
EQueryLevel &inQueryLevel)=0
this function will return all tags at a given query level, so that
they maybe selected for searching. The boolean forFind is true if the
query is a find query, or false for a move query.
"""
return _gdcmswig.BaseRootQuery_GetTagListByLevel(self, *args)
def InitializeDataSet(self, *args):
"""
virtual void gdcm::BaseRootQuery::InitializeDataSet(const EQueryLevel
&inQueryLevel)=0
this function sets tag 8,52 to the appropriate value based on query
level also fills in the right unique tags, as per the standard's
requirements should allow for connection with dcmtk
"""
return _gdcmswig.BaseRootQuery_InitializeDataSet(self, *args)
def ValidateQuery(self, inStrict=True):
"""
virtual
bool gdcm::BaseRootQuery::ValidateQuery(bool inStrict=true) const =0
have to be able to ensure that 0x8,0x52 is set (which will be true if
InitializeDataSet is called...) that the level is appropriate (ie, not
setting PATIENT for a study query that the tags in the query match the
right level (either required, unique, optional) by default, this
function checks to see if the query is for finding, which is more
permissive than for moving. For moving, only the unique tags are
allowed. 10 Jan 2011: adding in the 'strict' mode. according to the
standard (at least, how I've read it), only tags for a particular
level should be allowed in a particular query (ie, just series level
tags in a series level query). However, it seems that dcm4chee doesn't
share that interpretation. So, if 'inStrict' is false, then tags from
the current level and all higher levels are now considered valid. So,
if you're doing a non-strict series-level query, tags from the patient
and study level can be passed along as well.
"""
return _gdcmswig.BaseRootQuery_ValidateQuery(self, inStrict)
def GetAbstractSyntaxUID(self):
"""
virtual UIDs::TSName gdcm::BaseRootQuery::GetAbstractSyntaxUID() const
=0
"""
return _gdcmswig.BaseRootQuery_GetAbstractSyntaxUID(self)
def Print(self, *args):
"""
void
gdcm::BaseRootQuery::Print(std::ostream &os) const
"""
return _gdcmswig.BaseRootQuery_Print(self, *args)
__swig_getmethods__["GetQueryLevelString"] = lambda x: _gdcmswig.BaseRootQuery_GetQueryLevelString
if _newclass:GetQueryLevelString = staticmethod(_gdcmswig.BaseRootQuery_GetQueryLevelString)
__swig_getmethods__["GetQueryLevelFromString"] = lambda x: _gdcmswig.BaseRootQuery_GetQueryLevelFromString
if _newclass:GetQueryLevelFromString = staticmethod(_gdcmswig.BaseRootQuery_GetQueryLevelFromString)
__swig_getmethods__["Construct"] = lambda x: _gdcmswig.BaseRootQuery_Construct
if _newclass:Construct = staticmethod(_gdcmswig.BaseRootQuery_Construct)
def GetQueryLevelFromQueryRoot(self, *args):
"""
EQueryLevel
gdcm::BaseRootQuery::GetQueryLevelFromQueryRoot(ERootType roottype)
"""
return _gdcmswig.BaseRootQuery_GetQueryLevelFromQueryRoot(self, *args)
BaseRootQuery_swigregister = _gdcmswig.BaseRootQuery_swigregister
BaseRootQuery_swigregister(BaseRootQuery)
def BaseRootQuery_GetQueryLevelString(*args):
return _gdcmswig.BaseRootQuery_GetQueryLevelString(*args)
BaseRootQuery_GetQueryLevelString = _gdcmswig.BaseRootQuery_GetQueryLevelString
def BaseRootQuery_GetQueryLevelFromString(*args):
return _gdcmswig.BaseRootQuery_GetQueryLevelFromString(*args)
BaseRootQuery_GetQueryLevelFromString = _gdcmswig.BaseRootQuery_GetQueryLevelFromString
def BaseRootQuery_Construct(*args):
return _gdcmswig.BaseRootQuery_Construct(*args)
BaseRootQuery_Construct = _gdcmswig.BaseRootQuery_Construct
eLatin1 = _gdcmswig.eLatin1
eLatin2 = _gdcmswig.eLatin2
eLatin3 = _gdcmswig.eLatin3
eLatin4 = _gdcmswig.eLatin4
eCyrillic = _gdcmswig.eCyrillic
eArabic = _gdcmswig.eArabic
eGreek = _gdcmswig.eGreek
eHebrew = _gdcmswig.eHebrew
eLatin5 = _gdcmswig.eLatin5
eJapanese = _gdcmswig.eJapanese
eThai = _gdcmswig.eThai
eJapaneseKanjiMultibyte = _gdcmswig.eJapaneseKanjiMultibyte
eJapaneseSupplementaryKanjiMultibyte = _gdcmswig.eJapaneseSupplementaryKanjiMultibyte
eKoreanHangulHanjaMultibyte = _gdcmswig.eKoreanHangulHanjaMultibyte
eUTF8 = _gdcmswig.eUTF8
eGB18030 = _gdcmswig.eGB18030
class QueryFactory(_object):
"""
QueryFactory.h.
contains: a class to produce a query based off of user-entered
information Essentially, this class is used to construct a query
based off of user input (typically from the command line; if in code
directly, the query itself could just be instantiated)
In theory, could also be used as the interface to validate incoming
datasets as belonging to a particular query style
C++ includes: gdcmQueryFactory.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, QueryFactory, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, QueryFactory, name)
__repr__ = _swig_repr
__swig_getmethods__["ProduceQuery"] = lambda x: _gdcmswig.QueryFactory_ProduceQuery
if _newclass:ProduceQuery = staticmethod(_gdcmswig.QueryFactory_ProduceQuery)
__swig_getmethods__["ProduceCharacterSetDataElement"] = lambda x: _gdcmswig.QueryFactory_ProduceCharacterSetDataElement
if _newclass:ProduceCharacterSetDataElement = staticmethod(_gdcmswig.QueryFactory_ProduceCharacterSetDataElement)
__swig_getmethods__["GetCharacterFromCurrentLocale"] = lambda x: _gdcmswig.QueryFactory_GetCharacterFromCurrentLocale
if _newclass:GetCharacterFromCurrentLocale = staticmethod(_gdcmswig.QueryFactory_GetCharacterFromCurrentLocale)
__swig_getmethods__["ListCharSets"] = lambda x: _gdcmswig.QueryFactory_ListCharSets
if _newclass:ListCharSets = staticmethod(_gdcmswig.QueryFactory_ListCharSets)
def __init__(self):
this = _gdcmswig.new_QueryFactory()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_QueryFactory
__del__ = lambda self : None;
QueryFactory_swigregister = _gdcmswig.QueryFactory_swigregister
QueryFactory_swigregister(QueryFactory)
def QueryFactory_ProduceQuery(*args):
return _gdcmswig.QueryFactory_ProduceQuery(*args)
QueryFactory_ProduceQuery = _gdcmswig.QueryFactory_ProduceQuery
def QueryFactory_ProduceCharacterSetDataElement(*args):
return _gdcmswig.QueryFactory_ProduceCharacterSetDataElement(*args)
QueryFactory_ProduceCharacterSetDataElement = _gdcmswig.QueryFactory_ProduceCharacterSetDataElement
def QueryFactory_GetCharacterFromCurrentLocale():
return _gdcmswig.QueryFactory_GetCharacterFromCurrentLocale()
QueryFactory_GetCharacterFromCurrentLocale = _gdcmswig.QueryFactory_GetCharacterFromCurrentLocale
def QueryFactory_ListCharSets(*args):
return _gdcmswig.QueryFactory_ListCharSets(*args)
QueryFactory_ListCharSets = _gdcmswig.QueryFactory_ListCharSets
class CharSetArrayType(_object):
"""
STL class.
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CharSetArrayType, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CharSetArrayType, name)
__repr__ = _swig_repr
def iterator(self):
"""
STL iterator class.
"""
return _gdcmswig.CharSetArrayType_iterator(self)
def __iter__(self): return self.iterator()
def __nonzero__(self): return _gdcmswig.CharSetArrayType___nonzero__(self)
def __bool__(self): return _gdcmswig.CharSetArrayType___bool__(self)
def __len__(self): return _gdcmswig.CharSetArrayType___len__(self)
def pop(self): return _gdcmswig.CharSetArrayType_pop(self)
def __getslice__(self, *args): return _gdcmswig.CharSetArrayType___getslice__(self, *args)
def __setslice__(self, *args): return _gdcmswig.CharSetArrayType___setslice__(self, *args)
def __delslice__(self, *args): return _gdcmswig.CharSetArrayType___delslice__(self, *args)
def __delitem__(self, *args): return _gdcmswig.CharSetArrayType___delitem__(self, *args)
def __getitem__(self, *args): return _gdcmswig.CharSetArrayType___getitem__(self, *args)
def __setitem__(self, *args): return _gdcmswig.CharSetArrayType___setitem__(self, *args)
def append(self, *args): return _gdcmswig.CharSetArrayType_append(self, *args)
def empty(self): return _gdcmswig.CharSetArrayType_empty(self)
def size(self): return _gdcmswig.CharSetArrayType_size(self)
def clear(self): return _gdcmswig.CharSetArrayType_clear(self)
def swap(self, *args): return _gdcmswig.CharSetArrayType_swap(self, *args)
def get_allocator(self): return _gdcmswig.CharSetArrayType_get_allocator(self)
def begin(self): return _gdcmswig.CharSetArrayType_begin(self)
def end(self): return _gdcmswig.CharSetArrayType_end(self)
def rbegin(self): return _gdcmswig.CharSetArrayType_rbegin(self)
def rend(self): return _gdcmswig.CharSetArrayType_rend(self)
def pop_back(self): return _gdcmswig.CharSetArrayType_pop_back(self)
def erase(self, *args): return _gdcmswig.CharSetArrayType_erase(self, *args)
def __init__(self, *args):
this = _gdcmswig.new_CharSetArrayType(*args)
try: self.this.append(this)
except: self.this = this
def push_back(self, *args): return _gdcmswig.CharSetArrayType_push_back(self, *args)
def front(self): return _gdcmswig.CharSetArrayType_front(self)
def back(self): return _gdcmswig.CharSetArrayType_back(self)
def assign(self, *args): return _gdcmswig.CharSetArrayType_assign(self, *args)
def resize(self, *args): return _gdcmswig.CharSetArrayType_resize(self, *args)
def insert(self, *args): return _gdcmswig.CharSetArrayType_insert(self, *args)
def reserve(self, *args): return _gdcmswig.CharSetArrayType_reserve(self, *args)
def capacity(self): return _gdcmswig.CharSetArrayType_capacity(self)
__swig_destroy__ = _gdcmswig.delete_CharSetArrayType
__del__ = lambda self : None;
CharSetArrayType_swigregister = _gdcmswig.CharSetArrayType_swigregister
CharSetArrayType_swigregister(CharSetArrayType)
class CompositeNetworkFunctions(_object):
"""
Composite Network Functions These functions provide a generic API to
the DICOM functions implemented in GDCM. Advanced users can use this
code as a template for building their own versions of these functions
(for instance, to provide progress bars or some other way of handling
returned query information), but for most users, these functions
should be sufficient to interface with a PACS to a local machine. Note
that these functions are not contained within a static class or some
other class-style interface, because multiple connections can be
instantiated in the same program. The DICOM standard is much more
function oriented rather than class oriented in this instance, so the
design of this API reflects that functional approach. These functions
implements the following SCU operations:
C-ECHO SCU
C-FIND SCU
C-STORE SCU
C-MOVE SCU (+internal C-STORE SCP)
C++ includes: gdcmCompositeNetworkFunctions.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, CompositeNetworkFunctions, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, CompositeNetworkFunctions, name)
__repr__ = _swig_repr
__swig_getmethods__["CEcho"] = lambda x: _gdcmswig.CompositeNetworkFunctions_CEcho
if _newclass:CEcho = staticmethod(_gdcmswig.CompositeNetworkFunctions_CEcho)
__swig_getmethods__["ConstructQuery"] = lambda x: _gdcmswig.CompositeNetworkFunctions_ConstructQuery
if _newclass:ConstructQuery = staticmethod(_gdcmswig.CompositeNetworkFunctions_ConstructQuery)
__swig_getmethods__["CMove"] = lambda x: _gdcmswig.CompositeNetworkFunctions_CMove
if _newclass:CMove = staticmethod(_gdcmswig.CompositeNetworkFunctions_CMove)
__swig_getmethods__["CFind"] = lambda x: _gdcmswig.CompositeNetworkFunctions_CFind
if _newclass:CFind = staticmethod(_gdcmswig.CompositeNetworkFunctions_CFind)
__swig_getmethods__["CStore"] = lambda x: _gdcmswig.CompositeNetworkFunctions_CStore
if _newclass:CStore = staticmethod(_gdcmswig.CompositeNetworkFunctions_CStore)
def __init__(self):
this = _gdcmswig.new_CompositeNetworkFunctions()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_CompositeNetworkFunctions
__del__ = lambda self : None;
CompositeNetworkFunctions_swigregister = _gdcmswig.CompositeNetworkFunctions_swigregister
CompositeNetworkFunctions_swigregister(CompositeNetworkFunctions)
def CompositeNetworkFunctions_CEcho(*args):
return _gdcmswig.CompositeNetworkFunctions_CEcho(*args)
CompositeNetworkFunctions_CEcho = _gdcmswig.CompositeNetworkFunctions_CEcho
def CompositeNetworkFunctions_ConstructQuery(*args):
return _gdcmswig.CompositeNetworkFunctions_ConstructQuery(*args)
CompositeNetworkFunctions_ConstructQuery = _gdcmswig.CompositeNetworkFunctions_ConstructQuery
def CompositeNetworkFunctions_CMove(*args):
return _gdcmswig.CompositeNetworkFunctions_CMove(*args)
CompositeNetworkFunctions_CMove = _gdcmswig.CompositeNetworkFunctions_CMove
def CompositeNetworkFunctions_CFind(*args):
return _gdcmswig.CompositeNetworkFunctions_CFind(*args)
CompositeNetworkFunctions_CFind = _gdcmswig.CompositeNetworkFunctions_CFind
def CompositeNetworkFunctions_CStore(*args):
return _gdcmswig.CompositeNetworkFunctions_CStore(*args)
CompositeNetworkFunctions_CStore = _gdcmswig.CompositeNetworkFunctions_CStore
class PresentationContext(_object):
"""
PresentationContext.
See: PresentationContextAC PresentationContextRQ
C++ includes: gdcmPresentationContext.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PresentationContext, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PresentationContext, name)
__repr__ = _swig_repr
def __init__(self, *args):
"""
gdcm::PresentationContext::PresentationContext(UIDs::TSName asname,
UIDs::TSName
tsname=UIDs::ImplicitVRLittleEndianDefaultTransferSyntaxforDICOM)
Initialize Presentation Context with AbstractSyntax set to asname and
with a single TransferSyntax set to tsname (dfault to Implicit VR
LittleEndian when not specified ).
"""
this = _gdcmswig.new_PresentationContext(*args)
try: self.this.append(this)
except: self.this = this
def SetAbstractSyntax(self, *args):
"""void gdcm::PresentationContext::SetAbstractSyntax(const char *as) """
return _gdcmswig.PresentationContext_SetAbstractSyntax(self, *args)
def GetAbstractSyntax(self):
"""const char* gdcm::PresentationContext::GetAbstractSyntax() const """
return _gdcmswig.PresentationContext_GetAbstractSyntax(self)
def AddTransferSyntax(self, *args):
"""
void gdcm::PresentationContext::AddTransferSyntax(const char *tsstr)
"""
return _gdcmswig.PresentationContext_AddTransferSyntax(self, *args)
def GetTransferSyntax(self, *args):
"""
const char* gdcm::PresentationContext::GetTransferSyntax(SizeType i)
const
"""
return _gdcmswig.PresentationContext_GetTransferSyntax(self, *args)
def GetNumberOfTransferSyntaxes(self):
"""
SizeType
gdcm::PresentationContext::GetNumberOfTransferSyntaxes() const
"""
return _gdcmswig.PresentationContext_GetNumberOfTransferSyntaxes(self)
def SetPresentationContextID(self, *args):
"""
void
gdcm::PresentationContext::SetPresentationContextID(uint8_t id)
"""
return _gdcmswig.PresentationContext_SetPresentationContextID(self, *args)
def GetPresentationContextID(self):
"""
uint8_t
gdcm::PresentationContext::GetPresentationContextID() const
"""
return _gdcmswig.PresentationContext_GetPresentationContextID(self)
def Print(self, *args):
"""
void
gdcm::PresentationContext::Print(std::ostream &os) const
"""
return _gdcmswig.PresentationContext_Print(self, *args)
def __eq__(self, *args): return _gdcmswig.PresentationContext___eq__(self, *args)
__swig_destroy__ = _gdcmswig.delete_PresentationContext
__del__ = lambda self : None;
PresentationContext_swigregister = _gdcmswig.PresentationContext_swigregister
PresentationContext_swigregister(PresentationContext)
class PresentationContextGenerator(_object):
"""
PresentationContextGenerator This class is responsible for generating
the proper PresentationContext that will be used in subsequent
operation during a DICOM Query/Retrieve association. The step of the
association is very sensible as special care need to be taken to
explicitly define what instance are going to be send and how they are
encoded.
For example a PresentationContext will express that negotiation
requires that CT Image Storage are send using JPEG Lossless, while US
Image Storage are sent using RLE Transfer Syntax.
Two very different API are exposed one which will always default to
little endian transfer syntax see GenerateFromUID() This API is used
for C-ECHO, C-FIND and C-MOVE (SCU). Another API:
GenerateFromFilenames() is used for C-STORE (SCU) as it will loop over
all filenames argument to detect the actual encoding. and therefore
find the proper encoding to be used.
Two modes are available. The default mode
(SetMergeModeToAbstractSyntax) append PresentationContext (one
AbstractSyntax and one TransferSyntax), as long a they are different.
Eg MR Image Storage/JPEG2000 and MR Image Storage/JPEGLossless would
be considered different. the other mode SetMergeModeToTransferSyntax
merge any new TransferSyntax to the already existing
PresentationContext in order to re-use the same AbstractSyntax.
See: PresentationContext
C++ includes: gdcmPresentationContextGenerator.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, PresentationContextGenerator, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, PresentationContextGenerator, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::PresentationContextGenerator::PresentationContextGenerator() """
this = _gdcmswig.new_PresentationContextGenerator()
try: self.this.append(this)
except: self.this = this
def SetMergeModeToAbstractSyntax(self):
"""
void
gdcm::PresentationContextGenerator::SetMergeModeToAbstractSyntax()
"""
return _gdcmswig.PresentationContextGenerator_SetMergeModeToAbstractSyntax(self)
def SetMergeModeToTransferSyntax(self):
"""
void
gdcm::PresentationContextGenerator::SetMergeModeToTransferSyntax()
"""
return _gdcmswig.PresentationContextGenerator_SetMergeModeToTransferSyntax(self)
def GenerateFromUID(self, *args):
"""
bool
gdcm::PresentationContextGenerator::GenerateFromUID(UIDs::TSName
asname)
Generate the PresentationContext array from a UID (eg.
VerificationSOPClass).
"""
return _gdcmswig.PresentationContextGenerator_GenerateFromUID(self, *args)
def GenerateFromFilenames(self, *args):
"""
bool
gdcm::PresentationContextGenerator::GenerateFromFilenames(const
Directory::FilenamesType &files)
Generate the PresentationContext array from a File-Set. File specified
needs to be valid DICOM files. Used for C-STORE operations
"""
return _gdcmswig.PresentationContextGenerator_GenerateFromFilenames(self, *args)
def GetPresentationContexts(self):
"""
PresentationContextArrayType const&
gdcm::PresentationContextGenerator::GetPresentationContexts()
"""
return _gdcmswig.PresentationContextGenerator_GetPresentationContexts(self)
def SetDefaultTransferSyntax(self, *args):
"""
void
gdcm::PresentationContextGenerator::SetDefaultTransferSyntax(const
TransferSyntax &ts)
Not implemented for now. GDCM internally uses Implicit Little Endian.
"""
return _gdcmswig.PresentationContextGenerator_SetDefaultTransferSyntax(self, *args)
__swig_destroy__ = _gdcmswig.delete_PresentationContextGenerator
__del__ = lambda self : None;
PresentationContextGenerator_swigregister = _gdcmswig.PresentationContextGenerator_swigregister
PresentationContextGenerator_swigregister(PresentationContextGenerator)
class ServiceClassUser(Subject):
"""
ServiceClassUser.
C++ includes: gdcmServiceClassUser.h
"""
__swig_setmethods__ = {}
for _s in [Subject]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ServiceClassUser, name, value)
__swig_getmethods__ = {}
for _s in [Subject]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ServiceClassUser, name)
__repr__ = _swig_repr
def __init__(self):
"""
gdcm::ServiceClassUser::ServiceClassUser()
Construct a SCU with default: hostname = localhost
port = 104
"""
this = _gdcmswig.new_ServiceClassUser()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ServiceClassUser
__del__ = lambda self : None;
def SetHostname(self, *args):
"""
void
gdcm::ServiceClassUser::SetHostname(const char *hostname)
Set the name of the called hostname (hostname or IP address).
"""
return _gdcmswig.ServiceClassUser_SetHostname(self, *args)
def SetPort(self, *args):
"""
void
gdcm::ServiceClassUser::SetPort(uint16_t port)
Set port of remote host (called application).
"""
return _gdcmswig.ServiceClassUser_SetPort(self, *args)
def SetPortSCP(self, *args):
"""
void
gdcm::ServiceClassUser::SetPortSCP(uint16_t portscp)
Set the port for any incoming C-STORE-SCP operation (typically in a
return of C-MOVE).
"""
return _gdcmswig.ServiceClassUser_SetPortSCP(self, *args)
def SetAETitle(self, *args):
"""
void
gdcm::ServiceClassUser::SetAETitle(const char *aetitle)
set calling ae title
"""
return _gdcmswig.ServiceClassUser_SetAETitle(self, *args)
def GetAETitle(self):
"""
const
char* gdcm::ServiceClassUser::GetAETitle() const
"""
return _gdcmswig.ServiceClassUser_GetAETitle(self)
def SetCalledAETitle(self, *args):
"""
void
gdcm::ServiceClassUser::SetCalledAETitle(const char *aetitle)
set called ae title
"""
return _gdcmswig.ServiceClassUser_SetCalledAETitle(self, *args)
def GetCalledAETitle(self):
"""const char* gdcm::ServiceClassUser::GetCalledAETitle() const """
return _gdcmswig.ServiceClassUser_GetCalledAETitle(self)
def SetTimeout(self, *args):
"""
void
gdcm::ServiceClassUser::SetTimeout(double t)
set/get Timeout
"""
return _gdcmswig.ServiceClassUser_SetTimeout(self, *args)
def GetTimeout(self):
"""
double
gdcm::ServiceClassUser::GetTimeout() const
"""
return _gdcmswig.ServiceClassUser_GetTimeout(self)
def InitializeConnection(self):
"""
bool gdcm::ServiceClassUser::InitializeConnection()
Will try to connect This will setup the actual timeout used during the
whole connection time. Need to call SetTimeout first
"""
return _gdcmswig.ServiceClassUser_InitializeConnection(self)
def SetPresentationContexts(self, *args):
"""
void gdcm::ServiceClassUser::SetPresentationContexts(std::vector<
PresentationContext > const &pcs)
Set the Presentation Context used for the Association.
"""
return _gdcmswig.ServiceClassUser_SetPresentationContexts(self, *args)
def IsPresentationContextAccepted(self, *args):
"""
bool
gdcm::ServiceClassUser::IsPresentationContextAccepted(const
PresentationContext &pc) const
Return if the passed in presentation was accepted during association
negotiation.
"""
return _gdcmswig.ServiceClassUser_IsPresentationContextAccepted(self, *args)
def StartAssociation(self):
"""
bool
gdcm::ServiceClassUser::StartAssociation()
Start the association. Need to call SetPresentationContexts before.
"""
return _gdcmswig.ServiceClassUser_StartAssociation(self)
def StopAssociation(self):
"""
bool
gdcm::ServiceClassUser::StopAssociation()
Stop the running association.
"""
return _gdcmswig.ServiceClassUser_StopAssociation(self)
def SendEcho(self):
"""
bool
gdcm::ServiceClassUser::SendEcho()
C-ECHO.
"""
return _gdcmswig.ServiceClassUser_SendEcho(self)
def SendStore(self, *args):
"""
bool
gdcm::ServiceClassUser::SendStore(DataSet const &ds)
Execute a C-STORE on a DataSet, the transfer syntax used will be
Implicit.
"""
return _gdcmswig.ServiceClassUser_SendStore(self, *args)
def SendFind(self, *args):
"""
bool
gdcm::ServiceClassUser::SendFind(const BaseRootQuery *query,
std::vector< DataSet > &retDatasets)
C-FIND a query, return result are in retDatasets.
"""
return _gdcmswig.ServiceClassUser_SendFind(self, *args)
def SendMove(self, *args):
"""
bool
gdcm::ServiceClassUser::SendMove(const BaseRootQuery *query,
std::vector< File > &retFile)
Execute a C-MOVE, based on query, returned Files are stored in vector.
"""
return _gdcmswig.ServiceClassUser_SendMove(self, *args)
ServiceClassUser_swigregister = _gdcmswig.ServiceClassUser_swigregister
ServiceClassUser_swigregister(ServiceClassUser)
class StreamImageReader(_object):
"""
StreamImageReader.
its role is to convert the DICOM DataSet into a gdcm::Image
representation via an ITK streaming (ie, multithreaded) interface
Image is different from Pixmap has it has a position and a direction
in Space. Currently, this class is thread safe in that it can read a
single extent in a single thread. Multiple versions can be used for
multiple extents/threads.
See: Image
C++ includes: gdcmStreamImageReader.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, StreamImageReader, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, StreamImageReader, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::StreamImageReader::StreamImageReader() """
this = _gdcmswig.new_StreamImageReader()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_StreamImageReader
__del__ = lambda self : None;
def SetFileName(self, *args):
"""
void
gdcm::StreamImageReader::SetFileName(const char *inFileName)
One of either SetFileName or SetStream must be called prior to any
other functions. These initialize an internal Reader class to be able
to get non-pixel image information.
"""
return _gdcmswig.StreamImageReader_SetFileName(self, *args)
def SetStream(self, *args):
"""
void
gdcm::StreamImageReader::SetStream(std::istream &inStream)
"""
return _gdcmswig.StreamImageReader_SetStream(self, *args)
def GetDimensionsValueForResolution(self, *args):
"""
std::vector<unsigned int>
gdcm::StreamImageReader::GetDimensionsValueForResolution(unsigned int)
"""
return _gdcmswig.StreamImageReader_GetDimensionsValueForResolution(self, *args)
def DefinePixelExtent(self, *args):
"""
void gdcm::StreamImageReader::DefinePixelExtent(uint16_t inXMin,
uint16_t inXMax, uint16_t inYMin, uint16_t inYMax, uint16_t inZMin=0,
uint16_t inZMax=1)
Defines an image extent for the Read function. DICOM states that an
image can have no more than 2^16 pixels per edge (as of 2009) In this
case, the pixel extents ignore the direction cosines entirely, and
assumes that the origin of the image is at location 0,0 (regardless of
the definition in space per the tags). So, if the first 100 pixels of
the first row are to be read in, this function should be called with
DefinePixelExtent(0, 100, 0, 1), regardless of pixel size or
orientation.
"""
return _gdcmswig.StreamImageReader_DefinePixelExtent(self, *args)
def DefineProperBufferLength(self):
"""
uint32_t
gdcm::StreamImageReader::DefineProperBufferLength() const
Paying attention to the pixel format and so forth, define the proper
buffer length for the user. The return amount is in bytes. Call this
function to determine the size of the char* buffer that will need to
be passed in to ReadImageSubregion(). If the return is 0, then that
means that the pixel extent was not defined prior
"""
return _gdcmswig.StreamImageReader_DefineProperBufferLength(self)
def Read(self, *args):
"""
bool
gdcm::StreamImageReader::Read(char *inReadBuffer, const std::size_t
&inBufferLength)
Read the DICOM image. There are three reasons for failure: 1. The
extent is not set 2. the conversion from char* to std::ostream
(internally) fails 3. the given buffer isn't large enough to
accommodate the desired pixel extent. This method has been implemented
to look similar to the metaimageio in itk MUST have an extent defined,
or else Read will return false. If no particular extent is required,
use ImageReader instead.
"""
return _gdcmswig.StreamImageReader_Read(self, *args)
def CanReadImage(self):
"""
bool
gdcm::StreamImageReader::CanReadImage() const
Only RAW images are currently readable by the stream reader. As more
streaming codecs are added, then this function will be updated to
reflect those changes. Calling this function prior to reading will
ensure that only streamable files are streamed. Make sure to call
ReadImageInformation prior to calling this function.
"""
return _gdcmswig.StreamImageReader_CanReadImage(self)
def ReadImageInformation(self):
"""
virtual bool gdcm::StreamImageReader::ReadImageInformation()
Set the spacing and dimension information for the set filename.
returns false if the file is not initialized or not an image, with the
pixel (7fe0,0010) tag.
"""
return _gdcmswig.StreamImageReader_ReadImageInformation(self)
def GetFile(self):
"""
File const&
gdcm::StreamImageReader::GetFile() const
Returns the dataset read by ReadImageInformation Couple this with the
ImageHelper to get statistics about the image, like pixel extent, to
be able to initialize buffers for reading
"""
return _gdcmswig.StreamImageReader_GetFile(self)
StreamImageReader_swigregister = _gdcmswig.StreamImageReader_swigregister
StreamImageReader_swigregister(StreamImageReader)
class StreamImageWriter(_object):
"""
StreamImageReader.
its role is to convert the DICOM DataSet into a gdcm::Image
representation via an ITK streaming (ie, multithreaded) interface
Image is different from Pixmap has it has a position and a direction
in Space. Currently, this class is threadsafe in that it can read a
single extent in a single thread. Multiple versions can be used for
multiple extents/threads.
See: Image
C++ includes: gdcmStreamImageWriter.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, StreamImageWriter, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, StreamImageWriter, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::StreamImageWriter::StreamImageWriter() """
this = _gdcmswig.new_StreamImageWriter()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_StreamImageWriter
__del__ = lambda self : None;
def SetFileName(self, *args):
"""
void
gdcm::StreamImageWriter::SetFileName(const char *inFileName)
One of either SetFileName or SetStream must be called prior to any
other functions. These initialize an internal Reader class to be able
to get non-pixel image information.
"""
return _gdcmswig.StreamImageWriter_SetFileName(self, *args)
def SetStream(self, *args):
"""
void
gdcm::StreamImageWriter::SetStream(std::ostream &inStream)
"""
return _gdcmswig.StreamImageWriter_SetStream(self, *args)
def DefinePixelExtent(self, *args):
"""
void gdcm::StreamImageWriter::DefinePixelExtent(uint16_t inXMin,
uint16_t inXMax, uint16_t inYMin, uint16_t inYMax, uint16_t inZMin=0,
uint16_t inZMax=1)
Defines an image extent for the Read function. DICOM states that an
image can have no more than 2^16 pixels per edge (as of 2009) In this
case, the pixel extents ignore the direction cosines entirely, and
assumes that the origin of the image is at location 0,0 (regardless of
the definition in space per the tags). So, if the first 100 pixels of
the first row are to be read in, this function should be called with
DefinePixelExtent(0, 100, 0, 1), regardless of pixel size or
orientation. 15 nov 2010: added z dimension, defaults to being 1 plane
large
"""
return _gdcmswig.StreamImageWriter_DefinePixelExtent(self, *args)
def DefineProperBufferLength(self):
"""
uint32_t
gdcm::StreamImageWriter::DefineProperBufferLength()
Paying attention to the pixel format and so forth, define the proper
buffer length for the user. The return amount is in bytes. If the
return is 0, then that means that the pixel extent was not defined
prior this return is for RAW inputs which are then encoded by the
writer, but are used to ensure that the writer gets the proper buffer
size
"""
return _gdcmswig.StreamImageWriter_DefineProperBufferLength(self)
def Write(self, *args):
"""
bool
gdcm::StreamImageWriter::Write(void *inWriteBuffer, const std::size_t
&inBufferLength)
Read the DICOM image. There are three reasons for failure: 1. The
extent is not set 2. the conversion from void* to std::ostream
(internally) fails 3. the given buffer isn't large enough to
accomodate the desired pixel extent. This method has been implemented
to look similar to the metaimageio in itk MUST have an extent defined,
or else Read will return false. If no particular extent is required,
use ImageReader instead.
"""
return _gdcmswig.StreamImageWriter_Write(self, *args)
def WriteImageInformation(self):
"""
virtual bool gdcm::StreamImageWriter::WriteImageInformation()
Write the header information to disk, and a bunch of zeros for the
actual pixel information Of course, if we're doing a non-compressed
format, that works but if it's compressed, we have to force the
ordering of chunks that are written.
"""
return _gdcmswig.StreamImageWriter_WriteImageInformation(self)
def CanWriteFile(self):
"""
bool
gdcm::StreamImageWriter::CanWriteFile() const
This function determines if a file can even be written using the
streaming writer unlike the reader, can be called before
WriteImageInformation, but must be called after SetFile.
"""
return _gdcmswig.StreamImageWriter_CanWriteFile(self)
def SetFile(self, *args):
"""
void
gdcm::StreamImageWriter::SetFile(const File &inFile)
Set the image information to be written to disk that is everything but
the pixel information: (7fe0,0010) PixelData
"""
return _gdcmswig.StreamImageWriter_SetFile(self, *args)
StreamImageWriter_swigregister = _gdcmswig.StreamImageWriter_swigregister
StreamImageWriter_swigregister(StreamImageWriter)
class Region(_object):
"""
Class for manipulation region.
C++ includes: gdcmRegion.h
"""
__swig_setmethods__ = {}
__setattr__ = lambda self, name, value: _swig_setattr(self, Region, name, value)
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Region, name)
def __init__(self, *args, **kwargs): raise AttributeError("No constructor defined - class is abstract")
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_Region
__del__ = lambda self : None;
def Print(self, *args):
"""
virtual void
gdcm::Region::Print(std::ostream &os=std::cout) const
Print.
"""
return _gdcmswig.Region_Print(self, *args)
def Empty(self):
"""
virtual bool
gdcm::Region::Empty() const =0
return whether this domain is empty:
"""
return _gdcmswig.Region_Empty(self)
def IsValid(self):
"""
virtual bool
gdcm::Region::IsValid() const =0
return whether this is valid domain
"""
return _gdcmswig.Region_IsValid(self)
def Area(self):
"""
virtual size_t
gdcm::Region::Area() const =0
compute the area
"""
return _gdcmswig.Region_Area(self)
def Clone(self):
"""
virtual Region*
gdcm::Region::Clone() const =0
"""
return _gdcmswig.Region_Clone(self)
def ComputeBoundingBox(self):
"""
virtual
BoxRegion gdcm::Region::ComputeBoundingBox()=0
Return the Axis-Aligned minimum bounding box for all regions.
"""
return _gdcmswig.Region_ComputeBoundingBox(self)
def __str__(self): return _gdcmswig.Region___str__(self)
Region_swigregister = _gdcmswig.Region_swigregister
Region_swigregister(Region)
def __lshift__(*args):
return _gdcmswig.__lshift__(*args)
__lshift__ = _gdcmswig.__lshift__
class BoxRegion(Region):
"""
Class for manipulation box region This is a very simple implementation
of the Region class. It only support 3D box type region. It assumes
the 3D Box does not have a tilt Origin is as (0,0,0).
C++ includes: gdcmBoxRegion.h
"""
__swig_setmethods__ = {}
for _s in [Region]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, BoxRegion, name, value)
__swig_getmethods__ = {}
for _s in [Region]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, BoxRegion, name)
__repr__ = _swig_repr
__swig_destroy__ = _gdcmswig.delete_BoxRegion
__del__ = lambda self : None;
def SetDomain(self, *args):
"""
void
gdcm::BoxRegion::SetDomain(unsigned int xmin, unsigned int xmax,
unsigned int ymin, unsigned int ymax, unsigned int zmin, unsigned int
zmax)
Set domain.
"""
return _gdcmswig.BoxRegion_SetDomain(self, *args)
def GetXMin(self):
"""
unsigned int
gdcm::BoxRegion::GetXMin() const
Get domain.
"""
return _gdcmswig.BoxRegion_GetXMin(self)
def GetXMax(self):
"""
unsigned int
gdcm::BoxRegion::GetXMax() const
"""
return _gdcmswig.BoxRegion_GetXMax(self)
def GetYMin(self):
"""
unsigned int
gdcm::BoxRegion::GetYMin() const
"""
return _gdcmswig.BoxRegion_GetYMin(self)
def GetYMax(self):
"""
unsigned int
gdcm::BoxRegion::GetYMax() const
"""
return _gdcmswig.BoxRegion_GetYMax(self)
def GetZMin(self):
"""
unsigned int
gdcm::BoxRegion::GetZMin() const
"""
return _gdcmswig.BoxRegion_GetZMin(self)
def GetZMax(self):
"""
unsigned int
gdcm::BoxRegion::GetZMax() const
"""
return _gdcmswig.BoxRegion_GetZMax(self)
def Clone(self):
"""
Region*
gdcm::BoxRegion::Clone() const
"""
return _gdcmswig.BoxRegion_Clone(self)
def Empty(self):
"""
bool
gdcm::BoxRegion::Empty() const
return whether this domain is empty:
"""
return _gdcmswig.BoxRegion_Empty(self)
def IsValid(self):
"""
bool
gdcm::BoxRegion::IsValid() const
return whether this is valid domain
"""
return _gdcmswig.BoxRegion_IsValid(self)
def Area(self):
"""
size_t
gdcm::BoxRegion::Area() const
compute the area
"""
return _gdcmswig.BoxRegion_Area(self)
def ComputeBoundingBox(self):
"""
BoxRegion
gdcm::BoxRegion::ComputeBoundingBox()
Return the Axis-Aligned minimum bounding box for all regions.
"""
return _gdcmswig.BoxRegion_ComputeBoundingBox(self)
def Print(self, *args):
"""
void
gdcm::BoxRegion::Print(std::ostream &os=std::cout) const
Print.
"""
return _gdcmswig.BoxRegion_Print(self, *args)
__swig_getmethods__["BoundingBox"] = lambda x: _gdcmswig.BoxRegion_BoundingBox
if _newclass:BoundingBox = staticmethod(_gdcmswig.BoxRegion_BoundingBox)
def __init__(self, *args):
"""
gdcm::BoxRegion::BoxRegion(const BoxRegion &)
copy/cstor and al.
"""
this = _gdcmswig.new_BoxRegion(*args)
try: self.this.append(this)
except: self.this = this
def __str__(self): return _gdcmswig.BoxRegion___str__(self)
BoxRegion_swigregister = _gdcmswig.BoxRegion_swigregister
BoxRegion_swigregister(BoxRegion)
def BoxRegion_BoundingBox(*args):
return _gdcmswig.BoxRegion_BoundingBox(*args)
BoxRegion_BoundingBox = _gdcmswig.BoxRegion_BoundingBox
class ImageRegionReader(ImageReader):
"""
ImageRegionReader.
See: ImageReader
C++ includes: gdcmImageRegionReader.h
"""
__swig_setmethods__ = {}
for _s in [ImageReader]: __swig_setmethods__.update(getattr(_s,'__swig_setmethods__',{}))
__setattr__ = lambda self, name, value: _swig_setattr(self, ImageRegionReader, name, value)
__swig_getmethods__ = {}
for _s in [ImageReader]: __swig_getmethods__.update(getattr(_s,'__swig_getmethods__',{}))
__getattr__ = lambda self, name: _swig_getattr(self, ImageRegionReader, name)
__repr__ = _swig_repr
def __init__(self):
"""gdcm::ImageRegionReader::ImageRegionReader() """
this = _gdcmswig.new_ImageRegionReader()
try: self.this.append(this)
except: self.this = this
__swig_destroy__ = _gdcmswig.delete_ImageRegionReader
__del__ = lambda self : None;
def SetRegion(self, *args):
"""
void
gdcm::ImageRegionReader::SetRegion(Region const ®ion)
Set/Get Region to be read.
"""
return _gdcmswig.ImageRegionReader_SetRegion(self, *args)
def GetRegion(self):
"""
Region
const& gdcm::ImageRegionReader::GetRegion() const
"""
return _gdcmswig.ImageRegionReader_GetRegion(self)
def ComputeBufferLength(self):
"""
size_t gdcm::ImageRegionReader::ComputeBufferLength() const
Explicit call which will compute the minimal buffer length that can
hold the whole uncompressed image as defined by Region `region`. 0
upon error
"""
return _gdcmswig.ImageRegionReader_ComputeBufferLength(self)
def ReadInformation(self):
"""
bool
gdcm::ImageRegionReader::ReadInformation()
Read meta information (not Pixel Data) from the DICOM file. false upon
error
"""
return _gdcmswig.ImageRegionReader_ReadInformation(self)
def ReadIntoBuffer(self, *args):
"""
bool
gdcm::ImageRegionReader::ReadIntoBuffer(char *inreadbuffer, size_t
buflen)
Read into buffer: false upon error
"""
return _gdcmswig.ImageRegionReader_ReadIntoBuffer(self, *args)
ImageRegionReader_swigregister = _gdcmswig.ImageRegionReader_swigregister
ImageRegionReader_swigregister(ImageRegionReader)
# This file is compatible with both classic and new-style classes.
|