468,301 Members | 1,522 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,301 developers. It's quick & easy.

DICOM library

Hi everybody!
I've been looking for a python library wich allows me to work with
with DICOM files, for medical image processing. Finding nothing at
first, evenctually i've find the gdcm library, wich is suposed to be
for c developement, but they say that you can use it with python, as
"It is automatically wrapped to python (using swig)". So, the cuestion
is: how can I use this kind of library, wich is suposed to be used
with c, in python? When I download the tarball there ae only 2 .py
files. shall I install the whole library for using in C, and then try
to import the gdcm module in python? becouse i'm afraid it won't work.
Thanks in advance, and sorry for my english, wich is not very good
actually. Sorry for asking for something before trying everything, but
i'm almost desperate to find a library like that.
Jun 27 '08 #1
1 3741
On Jun 10, 1:05 pm, ust...@gmail.com wrote:
Hi everybody!
I've been looking for a python library wich allows me to work with
with DICOM files, for medical image processing. Finding nothing at
first, evenctually i've find thegdcmlibrary, wich is suposed to be
for c developement, but they say that you can use it with python, as
"It is automatically wrapped to python (using swig)". So, the cuestion
is: how can I use this kind of library, wich is suposed to be used
with c, in python? When I download the tarball there ae only 2 .py
files. shall I install the whole library for using in C, and then try
to import thegdcmmodule in python? becouse i'm afraid it won't work.
Thanks in advance, and sorry for my english, wich is not very good
actually. Sorry for asking for something before trying everything, but
i'm almost desperate to find a library like that.
You will get a tons more help directly at GDCM ML:

https://lists.sourceforge.net/lists/...dcm-developers

The process is quite simple, GDCM is written using a limited subset of
C++ (not C!) and using SWIG the API can be automagically wrap into
another target language (in your case: python).

If you download the binaries, you are all set (expect maybe adjusting
your PYTHONPATH).

Anyway this is highly GDCM oriented, and we should continue this
discussion directly on the GDCM ML.

HTH
-Mathieu
Jun 27 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by ACaunter | last post: by
2 posts views Thread by jayender.vs | last post: by
2 posts views Thread by Jayender | last post: by
5 posts views Thread by Neeraj | last post: by
1 post views Thread by Neeraj | last post: by
2 posts views Thread by luca.moreschi | last post: by
reply views Thread by mathieu | last post: by
1 post views Thread by amosdmost | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.