[Insight-users] How to Truncate Dicom Series?

Abayiz abayiz at yahoo.com
Tue Feb 28 07:20:18 EST 2012


Hello,

Thank you so much! I will try as you suggested. 



________________________________
 From: alex Dowson <alexdowson at hotmail.com>
To: Abayiz <abayiz at yahoo.com> 
Sent: Tuesday, February 28, 2012 12:28 PM
Subject: Re: [Insight-users] How to Truncate Dicom Series?
 

Hi
 
Check the class NumericSeriesFileNames that generates name of files.  
In that set the function with StartIndex and EndIndex.  I.e. You have 120 
file to read you can set StartIndex = 0 and Endindex =120.
 
Also check it’s use in example ImageReadDicomSeriesWrite.cxx  .  
In this example you have to change writer type to mha file types and you 
done.
 
From: Abayiz 
Sent: Tuesday, February 28, 2012 3:23 PM
To: alex Dowson 
Subject: Re: [Insight-users] How to Truncate Dicom 
Series?
  Hello,

Thank you for your reply. I also checked that example, but it starts 
to read all the images, but I want to give up some slices of the original data. 
Any suggestions? 

 

________________________________
 From: alex Dowson 
<alexdowson at hotmail.com>
To: Abayiz <abayiz at yahoo.com>; itk 
<insight-users at itk.org> 
Sent: Tuesday, February 28, 2012 11:25 
AM
Subject: Re: [Insight-users] 
How to Truncate Dicom Series?

 
Hi
 
Please see the DicomSeriesReadImageWrite.cxx in example directory of 
ITK.
 
 

  
From: Abayiz 
Sent: Tuesday, February 28, 2012 2:33 PM
To: itk 
Subject: [Insight-users] How to Truncate Dicom 
Series?
  Hello,
 
I need to truncate a dicom series, and write them into one 3D mha file. My 
current data size is [200, 200,140], and I want to give up about 50 slices, and 
again write it back to 3D volume. How can I do this? 

 
Maybe this is a simple question for experienced ones, but I am a fresh :) 
Thanks in advance. 
________________________________
 _____________________________________
Powered by www.kitware.com

Visit 
other Kitware open-source projects 
at
http://www.kitware.com/opensource/opensource.html

Kitware offers 
ITK Training Courses, for more information 
visit:
http://www.kitware.com/products/protraining.html

Please keep 
messages on-topic and check the ITK FAQ 
at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to 
subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120228/10f21495/attachment.htm>


More information about the Insight-users mailing list