[Insight-users] ITK: Image Regions

Luis Ibanez luis.ibanez at kitware.com
Tue, 02 Mar 2004 18:01:36 -0500


Hi Ab,

Please look at the Tutorial sessions for an
explanation on the concept of regions in
ITK images.

http://www.itk.org/HTML/Tutorials.htm

in particular look at

http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf

For each of the three types of image regions,
(LargestPossible, Buffered, Requested) you can
only define one region of each type at a time.
The purpose of the regions is to support streaming
and multi-threading on the ITK pipeline.


If what you want is to simply extract a region
from an image you should look at the filters:


- RegionOfInterestImageFilter
http://www.itk.org/Insight/Doxygen/html/classitk_1_1RegionOfInterestImageFilter.html

- ExtractImageFilter
http://www.itk.org/Insight/Doxygen/html/classitk_1_1ExtractImageFilter.html


You will find examples on the use of these filters
in the directory


    Insight/Examples/IO

              ImageReadRegionOfInterestWrite.cxx
              ImageReadExtractWrite.cxx



Regards,


   Luis


------------------
Ab Sayeed wrote:

> Hello Everyone
> 
> I hope someone can help.
> I'm trying to use Image Region with great difficulty.
> Can you define multiple regions in an image for
> processing? Is there functionality in ITK to just copy
> specified regions into other image objects?
> 
> Many Thanks
> 
> Ab
> 
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Search - Find what you’re looking for faster
> http://search.yahoo.com
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>