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:<br><br>for i=1: frameNum<br> img0 = dicomread(filename, 'frames', i)<br>
img1 = downsample(img0);<br> %dicomwrite(img1, 'test.dcm')<br> % store img1....<br>end<br><br>But it seems that its only possible to store each frame as a separate file - and not as a single multiframe .dcm file.<br>
<br>I was therefore wondering if ITK had any functionality to make this possible? I found this post:<br><br><a href="http://www.itk.org/pipermail/insight-users/2003-September/004762.html" target="_blank">http://www.itk.org/pipermail/insight-users/2003-September/004762.html</a><br>
<br>and the file itkDICOMImageSeriesTest.cxx in:<br><br>InsightToolkit-3.12.0\Testing\<div id=":dd" class="ii gt">Code\IO<br><br>But maybe there are some more documentation on how to do this?</div>