[Insight-users] cropping Dicom images

Luis Ibanez luis.ibanez at kitware.com
Sun Sep 24 11:08:37 EDT 2006


Hi Corina,


For Reading and Writing DICOM images please refer to
the ITK Software Guide:


     http://www.itk.org/ItkSoftwareGuide.pdf


Section 7.12 "Reading and Writing Dicom Images" in pdf-page 326.

For instructions on how to crop an image, simply use the


     RegionOfInterestImageFilter


As described in Section 7.6 "Extracting Regions" in pdf-page 304.


Your pipeline should look like


  ImageSeriesReader -> RegionOfInterestFilter -> ImageSeriesWriter


NOTE: That you *MUST* retouch the values of some of the tags
in the MetaDataDictionary to make sure that they reflect the
new parameters of the output image. You will find recent discussion
about that issue in the mailing list.




   Regards,


      Luis



----------------------
Corinna Buerger wrote:
> Hello,
> 
> how can I crop a Dicom image and save the cropped version as Dicom again?
> 
> Thanks for any hint,
> 
> Corinna
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 
> 




More information about the Insight-users mailing list