Grassroots DICOM runtime libraries
Project description
Python-GDCM
Unoficial GDCM packages for Python.
Grassroots DiCoM is a C++ library for DICOM medical files. It is automatically wrapped to python/C#/Java (using swig). It supports RAW,JPEG (lossy/lossless),J2K,JPEG-LS, RLE and deflated. It also comes with DICOM Part 3,6 & 7 of the standard as XML files.
Installation
Using PIP
pip install python-gdcm
From source
- Install building dependencies
- Compiler for you platform (GCC, Clang, MSVC)
- Cmake (https://cmake.org/)
- Swig (http://www.swig.org/)
- Build and install python-gdcm
- If cmake isn't in
$PATH
export the env variableCMAKE_EXE
to its path$ export CMAKE_EXE=/CMAKE/PATH
- If swig isn't in
$PATH
export the env variableSWIG_EXE
to its path$ export SWIG_EXE=/SWIG/PATH
- Build and install
$ python setup.py install
- If cmake isn't in
Usage
Reading a DICOM image file
import gdcm
reader = gdcm.ImageReader()
reader.SetFileName("dicom_image_file.dcm")
ret = reader.Read()
if not ret:
print("It was not possible to read your DICOM file")
Other Examples
See here https://github.com/malaterre/GDCM/tree/master/Examples/Python
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python-gdcm-3.0.9.0.tar.gz
(3.5 MB
view hashes)
Built Distributions
Close
Hashes for python_gdcm-3.0.9.0-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 79fae595f3900089210c87bcb6d0c37db28312c159a81d210da7d830bd4932e7 |
|
MD5 | 70ed48cad33c4bd5cf524a9b4af85c4f |
|
BLAKE2b-256 | cbcc199d053e26a5cfd3a92492d53946af89b09ffb14b92018572107ec32d943 |
Close
Hashes for python_gdcm-3.0.9.0-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4ddaf25ba2f5c631662453022375d0baf53a262694f3889fd90500fbe6b39c4 |
|
MD5 | b0e92a71d20ad9f1e26d00ec132f2343 |
|
BLAKE2b-256 | 0f25e64641ea079b6ac3acd8dcf740a9b768ef44686a60fc7211a88e262a19af |
Close
Hashes for python_gdcm-3.0.9.0-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a744f2e6c8c3f511238fd77779383e558d37311738461bc5f6842380c31d1dac |
|
MD5 | 73b1839a03d76b1c3b81fa8612d5cfb5 |
|
BLAKE2b-256 | ceefc29c351ae3c796ea921290ba4846e442fff3b17c9a8ac35432f126abe832 |
Close
Hashes for python_gdcm-3.0.9.0-cp39-cp39-manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d99ef962e86ccf31e61e269abcdae98a8b11a6a66bf21d9757e4400ea58a4548 |
|
MD5 | f44cebbf73725d3803688ae36afda90e |
|
BLAKE2b-256 | f7d6d71ee6d1df9ad18c69cb1c59b847b5831d7b03bf3c5044d9ea8d3275d843 |
Close
Hashes for python_gdcm-3.0.9.0-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d620e110eb3d8fd8b883a34d1b243e25177869b6946b7cf6f5032612577f108c |
|
MD5 | 7b65c261b35adc951ebf3fd14998e325 |
|
BLAKE2b-256 | 853bede9e147a1b4f12c6785f8bbee38cc2be97031d23c66e83664af9a63e20a |
Close
Hashes for python_gdcm-3.0.9.0-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbf4359d3cb77ab5ca64c7afe38bc8fd28c588d148f9d4521cfb6c30b2189064 |
|
MD5 | 324709c32a9fce62ef1add757df1a5d2 |
|
BLAKE2b-256 | d6138012ad7a0c45eeaf37d0ce2b27b4d05ec25b47c4e569c4cd2ba996622ed0 |
Close
Hashes for python_gdcm-3.0.9.0-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a368def159015702678695d8009e36c7c72643db2c987d62a0eabf53a10086f |
|
MD5 | d56d4d715f45c4d238b7e2d094d1054e |
|
BLAKE2b-256 | 7054b8880c99204b21719a5326b23c2e81a51638ac43226d57b16652da872d4c |
Close
Hashes for python_gdcm-3.0.9.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c27ab91703631440bdccd1b662e685305a98f7064fa083d32564a757ea79013 |
|
MD5 | 27e3185a4325f41c2c50fa54f7e70319 |
|
BLAKE2b-256 | 3f9a0375c392745a8ed272c8e69a2be2fffb157658a691c05c5ccee58f96af49 |
Close
Hashes for python_gdcm-3.0.9.0-cp38-cp38-manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | de834df04edb92d08361909992df18522189de12c8137aee7469626de7ac4039 |
|
MD5 | f1bc1da741de7ebdcafe7ede976e138b |
|
BLAKE2b-256 | 9bb42f4fee2d1f161dc7a16be937e3dbb62460b888010318826b365a7cb7835e |
Close
Hashes for python_gdcm-3.0.9.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a2a9e00a40579f3bfe0dc0a6e68d30ce53b8b9267d70b74492a8d9713d58a34 |
|
MD5 | 09d853c9bda477d1735341202975d0a8 |
|
BLAKE2b-256 | 717fc515b24be5c4a0d83051a69faeb5092af49bc2b1f9d80005ae34b0f2d8a9 |
Close
Hashes for python_gdcm-3.0.9.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3db5d1ed4a52f37b856cb58322d4312d12c9fbc2b38a404264ebe28489d37d01 |
|
MD5 | db9b796e178a508e4526055fa38f50df |
|
BLAKE2b-256 | b59240ffccbbdf002e744809138387d2bdb4b765c77572c73c3d62f7cda62d3a |
Close
Hashes for python_gdcm-3.0.9.0-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4eb4b10b500df6579d89799fab2ce121c7b3bdd6c8d78dc64fec8f6b1ddc9cd8 |
|
MD5 | 2c682a1140403e5d207c8f9b7cce9f99 |
|
BLAKE2b-256 | 1ad2d1d951ad8370116447e9787e570c2019e5f15bcf5dfb3ff2633daf1fb744 |
Close
Hashes for python_gdcm-3.0.9.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08693764742dabe75ed2344ecd72b249a240b61887fca2627592a356b6f6e264 |
|
MD5 | bc50a22e2e4b318351a3c250ccea6df7 |
|
BLAKE2b-256 | 8f0228912b76261270c490e10e73f3cc0ee152a0c0beed39822a49ec2d80b9c7 |
Close
Hashes for python_gdcm-3.0.9.0-cp37-cp37m-manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c3c2843cbfc357c7e6abca439a3e5a7b3f4359caf420e8607e9d88a19e4485f |
|
MD5 | 7d23a90a62586572a91fc7e3eb51b682 |
|
BLAKE2b-256 | 6b3b06630d3d448e723969122689786785bdcca5142278fff3d88ea1688ba68f |
Close
Hashes for python_gdcm-3.0.9.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05dea79d7953a08900e7d07abbb634d37af7f5321a1d54fd81d286da4f9de42e |
|
MD5 | 3f649688cf1336f8789beb4379a1ce8b |
|
BLAKE2b-256 | 7c2404ff04911804db2158f2119e408f89898e86e86a4e5646b4294a14afbe2e |
Close
Hashes for python_gdcm-3.0.9.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ce9183c0ecd32d5db4e3fcd06329dae23d551345fdb3d22742c4bbb34f5aeef |
|
MD5 | 33537a8585c802869e2f0a0dda662a72 |
|
BLAKE2b-256 | f9e99984009271d82793b21b63d4e8cdc29dc102f2f4790d71e0642b9bf42626 |
Close
Hashes for python_gdcm-3.0.9.0-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62a17aadce02960b3723cd2d2ddd3a6c824467396b74f051a8923891c64a9890 |
|
MD5 | 493b535e84fbab2f0c99a796ef0d329e |
|
BLAKE2b-256 | 05aa440d6c5e57c0bf430d2b30a35e71536af2adbe22c8999f51d9868c1e1cdd |
Close
Hashes for python_gdcm-3.0.9.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 93acc4e60e49a28d0362a41a7168dff7e3605417b2e7f4221e62465b6ac07f06 |
|
MD5 | 426e5e6b9ddd03972b4ee2d18f971824 |
|
BLAKE2b-256 | 03cfeaf7236ac4180e1cd3f1a11c7b498bfbb6ead02a63c55753c5b5a0e88611 |
Close
Hashes for python_gdcm-3.0.9.0-cp36-cp36m-manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2992ffcb323991e66b2cb196934e29e61e222226c1b7a2e143452dded4d3d060 |
|
MD5 | 485edb9bf4ca144bb50b3bdc10b3884c |
|
BLAKE2b-256 | f35b05ef5b07177a1d66d61a9cbc7ecd945eb1167cd115de0f3ba03ef55692c9 |
Close
Hashes for python_gdcm-3.0.9.0-cp36-cp36m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db1d307e6a4d593684d9ea6fd722b3002ae73cdd35f43d250433ff417c7fec42 |
|
MD5 | 0421042fc48972798a6c939060f87528 |
|
BLAKE2b-256 | 2f9916d1c792f91575d841a91b927e134f6664a04aaf9e91c95ef89040c99ae7 |