Dealing with multi-frame images

1,607 views
Skip to first unread message

Greg Silverman

unread,
Oct 4, 2013, 8:27:26 PM10/4/13
to
Dear all,
I have an application where I need to move multi-frame images from dcm4chee to this application, so that I can create an AVI of the image sequence. For ECHO and cardiac ultrasound, multiframe images are are relatively small in size and thus contained within a single file, and I have absolutely no problem dealing with these in my conversion app. On the other end of the spectrum, the CT and MRI examples I have been working with have hundreds of frames, with each frame as a single file within a directory structure. These multi-frame  cine-loops play just fine in a DICOM viewer, but when I try exporting the directory of images to my external app, I am unable to get the correct format to create an AVI. I was wondering if any of the dcm4che2/3 tools would help me to collapse the directory of files all into a single DICOM file? I was Googling about on this and believe I need to deal with the SOP and IOD to get this to work correctly.

Please feel free to correct any of my assumptions, but I have to admit that I am in the process of teaching myself the DICOM standard.

Thanks very much in advance!

Greg--

-- 
Greg M. Silverman
Senior Developer Analyst
University of Minnesota

Suresh Viswanathan

unread,
Oct 5, 2013, 1:31:01 AM10/5/13
to dcm...@googlegroups.com
Multi-frame CT & MR is part of the Enhanced DICOM Object. In theory you could write a convertor to take the all the instances from a study and convert it into single multi-frame file.

Have you tried using FFMPEG to create a video from multiple files?

Suresh.

--
You received this message because you are subscribed to the Google Groups "dcm4che" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dcm4che+u...@googlegroups.com.
To post to this group, send email to dcm...@googlegroups.com.
Visit this group at http://groups.google.com/group/dcm4che.
For more options, visit https://groups.google.com/groups/opt_out.

Greg Silverman

unread,
Oct 5, 2013, 11:00:09 AM10/5/13
to dcm...@googlegroups.com
Suresh, 
Thanks for the pointer. I'll take look at FFMPEG.

Greg--

Greg Silverman

unread,
Oct 7, 2013, 3:45:54 PM10/7/13
to dcm...@googlegroups.com
Founds this: https://github.com/dcm4che/dcm4che/blob/master/dcm4che-tool/dcm4che-tool-emf2sf/README.md, which should allow me script out this process.

Greg--

Suresh Viswanathan

unread,
Oct 7, 2013, 5:42:05 PM10/7/13
to dcm...@googlegroups.com


Sent from my iPhone

Suresh Viswanathan

unread,
Oct 7, 2013, 5:44:42 PM10/7/13
to dcm...@googlegroups.com
Looks like it converts from Multiframe Enhanced DICOM Object to multiple single instance files and not vice versa which you need.

Suresh. 

Sent from my iPhone

On 08-Oct-2013, at 1:15, Greg Silverman <g...@umn.edu> wrote:

Greg Silverman

unread,
Oct 7, 2013, 7:14:55 PM10/7/13
to dcm...@googlegroups.com
I noticed that right after I posted this. It is possible that http://gdcm.sourceforge.net/wiki/index.php/Gdcmtar might work (someone in the dicom group pointed me to this). I'll test it out and report the results.

Thanks!

Greg--

Greg Silverman

unread,
Oct 11, 2013, 12:22:44 PM10/11/13
to dcm...@googlegroups.com
FYI,  I had success with the dcmulti utility in dicom3tools. I have to do some more testing, but at least I was able to achieve the first step in this.

Greg--
Reply all
Reply to author
Forward
0 new messages