[Insight-users] Reading/writing multiframe DICOM files?

motes motes mort.motes at gmail.com
Tue Jun 9 16:56:20 EDT 2009


I have a .dcm file containing multiple frames. I need to downsample each
frame and store them in a new and smaller .dcm file. Currently I use matlab
for the first part:

for i=1: frameNum
  img0 = dicomread(filename, 'frames', i)
  img1 =  downsample(img0);
  %dicomwrite(img1, 'test.dcm')
  % store img1....
end

But it seems that its only possible to store each frame as a separate file -
and not as a single multiframe .dcm file.

I was therefore wondering if ITK had any functionality to make this
possible? I found this post:

http://www.itk.org/pipermail/insight-users/2003-September/004762.html

and the file itkDICOMImageSeriesTest.cxx in:

InsightToolkit-3.12.0\Testing\Code\IO

But maybe there are some more documentation on how to do this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090609/978c6790/attachment.htm>


More information about the Insight-users mailing list