DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Sat, 2018-08-18, 13:11

All times are UTC + 1 hour




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: img2dcm
PostPosted: Tue, 2008-05-06, 14:29 
Offline

Joined: Mon, 2007-10-22, 14:59
Posts: 25
Location: Poznan, Poland
Hello, I'm currently evaluating img2dcm from your CVS snapshot. With some effort I managed do compile it with Borland. I have a question: what could I do to write MPEG plug-in and create DICOM file with MPEG2MainProfile(at)MainLevel transfer syntax? I have information for required tags and mpeg file.


Top
 Profile  
 
 Post subject:
PostPosted: Wed, 2008-05-07, 11:44 
Offline

Joined: Mon, 2007-10-22, 14:59
Posts: 25
Location: Poznan, Poland
I was able to create a very simple i2dmpgs plug-in for img2dcm. It just add mpeg stream to a DICOM file, with proper transfer syntax and photometric interpretation. Mpeg file specific tags are appended through command line, co calling looks like:
img2dcm milek.mpg milek.dcm -i MPEG -v -d -k SOPClassUID=1.2.840.10008.5.1.4.1.1.77.1.2.1 -k Modality=GM -k 0028,0010=240 -k 0028,0011=320 -k 0018,0040=29 -k 0018,1063=33.36 -k 0028,0008=179 -k 0028,0009=(0018,1063)
I guess I should look for some open source mpeg-parsing library to extract specific information and add them inside application.
Is there a plan for an official mpeg support for img2dcm?


Top
 Profile  
 
 Post subject:
PostPosted: Fri, 2008-05-09, 09:41 
Offline
ICSMED DICOM Services
ICSMED DICOM Services

Joined: Fri, 2004-10-29, 21:38
Posts: 2217
Location: Oldenburg, Germany
Quote:
I guess I should look for some open source mpeg-parsing library to extract specific information and add them inside application.

A couple of years ago, we had a closer look to "ffmpeg" ...

Quote:
Is there a plan for an official mpeg support for img2dcm?

No, there are currently no plans to include MPEG support (i.e. compression and decompression) into the DCMTK. However, this does not mean that this will not change in the future :-)


Top
 Profile  
 
 Post subject:
PostPosted: Thu, 2008-05-15, 07:02 
Offline

Joined: Mon, 2007-10-22, 14:59
Posts: 25
Location: Poznan, Poland
Quote:
A couple of years ago, we had a closer look to "ffmpeg" ...

That is exactly what I was looking for, thanks. I did it in a not an elegant way, but it works for me: img2dcm executes command line version of ffmpeg. Ffmpeg reads mpeg parmaters from file, and transcode other video files to mpeg2 when neccesary.


Top
 Profile  
 
 Post subject:
PostPosted: Mon, 2008-06-30, 21:50 
Offline

Joined: Thu, 2006-12-21, 10:44
Posts: 3
Hi Jerzy,

I was wondering what was the final status on your mpeg to dicom experiments? I'm relatively experienced with ffmpeg and its internals, but I'm not over-familiar with dicom. Is there any chance you can share your findings, or provide some code snippets? Thanks beforehand!

If required, or more appropriate, feel free to take this message offline and email me at Thomas.Koninckx@gmail.com

Bye
Thomas


Top
 Profile  
 
 Post subject:
PostPosted: Tue, 2008-07-01, 07:24 
Offline

Joined: Mon, 2007-10-22, 14:59
Posts: 25
Location: Poznan, Poland
No problem, I will send you my modifations by e-mail. For now, it's only an experiment.
with greetings
Jerzy


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group