[Insight-users] applying filters within a region

Luis Ibanez luis.ibanez at kitware.com
Wed, 14 Jan 2004 09:56:51 -0500


Hi Hari,

You can use the RegionOfInterestImageFilter
http://www.itk.org/Insight/Doxygen/html/classitk_1_1RegionOfInterestImageFilter.html

in order to extract a region from your large image.
Then connect the output of this filter to the
processing pipeline that you want to experiment with.

Whenever you need to replace the output into the original
location in the large image, you use the PasteImageFilter
http://www.itk.org/Insight/Doxygen/html/classitk_1_1PasteImageFilter.html


Regards,


    Luis



--------------------
Hari Sundar wrote:

> Hi,
> 
> I have a bunch of really huge images that I need to run some filters on.
> This takes forever, understandably. Is there someway in which I can
> restrict operation of the filter within a sub-region of the image. I would
> prefer to do something like apply something like a threshold on the image
> and apply other filters only within the thresholded region, i.e., by using
> the threshold as a mask on the original image.
> 
> Is this possible ?
> 
> thanks,
> -Hari
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>