Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Creating 3D Dicom Image files

290 views
Skip to first unread message

David

unread,
Feb 5, 2009, 10:25:04 AM2/5/09
to
Is there a way to write 3D dicom images as a single .dcm file using matlab/dicomwrite? e.g. I want to convert a data set of 174 images (512x512) to a single dicom file (512x512x174).

this is what I was thinking:
Given: raw image data file. Break/convert the data up into a series of 174 .dcm files and then somehow merge the series together. I know how to break the data up, but not how to merge it. Is there a faster/better way?

Ariel Balter

unread,
Mar 12, 2009, 12:45:03 AM3/12/09
to
"David " <dpar...@imaging.robarts.ca> wrote in message <gmf0cg$c0j$1...@fred.mathworks.com>...

> Is there a way to write 3D dicom images as a single .dcm file using matlab/dicomwrite? e.g. I want to convert a data set of 174 images (512x512) to a single dicom file (512x512x174).
>
> this is what I was thinking:
> Given: raw image data file. Break/convert the data up into a series of 174 .dcm files and then somehow merge the series together. I know how to break the data up, but not how to merge it. Is there a faster/better way?

I need to perform the same task. As soon as I find a Matlab solution or write one myself, I'll post it.

I have found what I think is sufficient information on the web to do the reconstruction. It involves information encoded in the header info in the individual slice files.

K P

unread,
Jan 5, 2011, 1:47:05 PM1/5/11
to
"David" wrote in message <gmf0cg$c0j$1...@fred.mathworks.com>...

> Is there a way to write 3D dicom images as a single .dcm file using matlab/dicomwrite? e.g. I want to convert a data set of 174 images (512x512) to a single dicom file (512x512x174).
>
> this is what I was thinking:
> Given: raw image data file. Break/convert the data up into a series of 174 .dcm files and then somehow merge the series together. I know how to break the data up, but not how to merge it. Is there a faster/better way?

Hi all,
I am also having a similar problem and i am unable to create a single dicom file with all the set of multiple frames. Has anyone of you found a way to do it.

Looking forward for your help.

Thank You
Kamlesh

Jeff Mather

unread,
Jan 6, 2011, 9:11:06 AM1/6/11
to
> I am also having a similar problem and i am unable to create a single dicom file with all the set of multiple frames. Has anyone of you found a way to do it.

Unfortunately it's not currently possible to write one DICOM file containing multiple image frames using DICOMWRITE. We've heard a lot about this recently, so keep watching.

Jeff Mather
Image Processing Group
MathWorks

Sean de

unread,
Jan 6, 2011, 11:04:04 AM1/6/11
to
"Jeff Mather" <jeff....@mathworks.com> wrote in message <ig4ihp$lkt$1...@fred.mathworks.com>...

It can be done using Dirk Jan-Kroon's functions here:
http://www.mathworks.com/matlabcentral/fileexchange/27941-dicom-toolbox

Marit

unread,
Mar 26, 2012, 4:12:12 AM3/26/12
to
"Sean de " <sean.d...@nospamplease.umit.maine.edu> wrote in message <ig4p5k$9ue$1...@fred.mathworks.com>...
Can anyone explain how exactly the toolbox designed by Dirk-Jan Kroon has to be used to obtain a stack/3D Dicom image from single slice DICOM data? Moreover, does the toolbox sort on the instanceUID or otherwise?

Thank you in advance,
Marit Lucas

Jeff Mather

unread,
Apr 2, 2012, 8:55:10 AM4/2/12
to
"Sean de " <sean.d...@nospamplease.umit.maine.edu> wrote in message <ig4p5k$9ue$1...@fred.mathworks.com>...
It's worth noting that DICOMWRITE *can* now create DICOM files containing multiframe images. That was introduced in R2011b.

Spyridon Montesantos

unread,
Apr 11, 2013, 10:21:10 AM4/11/13
to
"Jeff Mather" <jeff....@mathworks.com> wrote in message <jlc7je$jht$1...@newscl01ah.mathworks.com>...
Hi, I was wondering, is there a way to do the same thing in an older version of Matlab? I have version R2010a, which obviously doesn't support this functionality. Please, any help would be incredibly appreciated.
Thanks,
Spyridon

Sai Sandeep padala

unread,
Feb 21, 2014, 6:11:08 AM2/21/14
to
Hi jeff,

i am using R2012b, but i am unable to find the right syntax to use the multiframesingle image option. could you help me with this

"Jeff Mather" <jeff....@mathworks.com> wrote in message <jlc7je$jht$1...@newscl01ah.mathworks.com>...

Zohreh Khazraei Manesh

unread,
May 16, 2016, 2:58:09 PM5/16/16
to
"Jeff Mather" <jeff....@mathworks.com> wrote in message <ig4ihp$lkt$1...@fred.mathworks.com>...
I'm using R2016a. I wonder if the task described in this string is now possible to perform?
I need to read a structure from a dicom image, modify it and write it as a dicom image again. I wonder how to do it.

Best regards,
0 new messages