[Insight-users] Reading/writing multiframe DICOM files?
mathieu.malaterre at gmail.com
Wed Jun 10 05:26:25 EDT 2009
On Tue, Jun 9, 2009 at 10:56 PM, motes motes<mort.motes at gmail.com> wrote:
> 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....
> 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:
> and the file itkDICOMImageSeriesTest.cxx in:
> But maybe there are some more documentation on how to do this?
7.12.3 Reading a 2D DICOM Series and Writing a Volume (from
Please do not cross post to dicom newsgroup for a matlab function, thanks.
More information about the Insight-users