pydcm2png
This usefull tool is for converting DICOM format file to PNG file.
DICOM file is a common file format in medical image processing, so we always need to import DICOM file to our project.
Cause of the complex procedure, that's not a easy thing to using it, though there are some tools for that, like dcmtk(c++),pydcm(python) and some other tools; dcmtk is a c++ library, it's a very powerful tools when process dicom file, but it requires developer know lots of details of dicom format and c++ knowledge; pydcm is a light tool in python, but it only can deal with part of dicom format and it can not convert pixel data of dicom to png file rightly based on DIOCM procedure, for example, DICOM format file consists of varity of storgae format including int8,uint8,int16,uint16 etc, also we need to conside different alogrithms dealing with such different storage format.
So I developped pydcm2png tools for overcoming problems above. Now pydcm2png support py2/py3 on Linux.
Using the following command can easily install pydcm2png:
pip install pydcm2png
This tool was developped with C++ and python.
I use dcmtk(https://support.dcmtk.org/docs/index.html) STK as image processing library.
Release files for pydcm2png 0.1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pydcm2png-0.1.0.1-cp27-cp27mu-manylinux1_x86_64.whl | CPython 2.7 | CPython 2.7 pymalloc wide-unicode | Linux glibc 2.5+ x86-64 | Details |
Release files / pydcm2png-0.1.0.1-cp27-cp27mu-manylinux1_x86_64.whl
| Download URL | pydcm2png-0.1.0.1-cp27-cp27mu-manylinux1_x86_64.whl |
|---|---|
| Size | 16.2 MB |
| Tags | CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.5+ x86-64 |
|
SHA-256 checksum How to use checksums |
c886a908a36695497a6bbd90213edba8c94923aebf0ee44924bb2bc81c984e5f
|
|
BLAKE2b-256 checksum How to use checksums |
4f09e2c1db1f5aab52ba9469ab7ba1c22b39ee74a9f849ba3ffaf9154f74b6ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/2.7.15
|