[Insight-users] make an image out of an image region

Luis Ibanez luis.ibanez@kitware.com
Wed, 15 Jan 2003 12:54:38 -0500


Hi Puja,

Yes, there is one easy way:
The Extract Image Filter
http://www.itk.org/Insight/Doxygen/html/classitk_1_1ExtractImageFilter.html

There is an example in

     Insight/Examples/IO/

called

     ImageReadExtractWrite.cxx

Please let us know if you have further questions.


Thanks

Luis


--------------------------------

Puja Malik wrote:
> Hello,
> 
> I was wondering if there is an easy method to take an existing itkImage 
> object, extract and itkImageRegion and convert this ImageRegion back 
> into an Image object?
> 
> Thanks for your help,
> Puja
>