[Insight-users] Passing a part of the image as a reference
Iván Macía
imacia at vicomtech.es
Tue Mar 22 09:29:56 EST 2005
Hi Arun,
Another solution is to use the RegionOfInterestImageFilter for this
task. You can find an example in the Software Guide Chapter 7.
Hope that helps
Ivan
> -----Mensaje original-----
> De: insight-users-bounces at itk.org
> [mailto:insight-users-bounces at itk.org] En nombre de Arun Kulshreshtha
> Enviado el: martes, 22 de marzo de 2005 13:17
> Para: insight-users at itk.org
> Asunto: [Insight-users] Passing a part of the image as a reference
>
>
> hi,
>
> Suppose i have defined an itkImage with some
> parameters and I want to
> pass a subimage of that to some filter
> so that only that part of the image is filtered by the
> filter. Function
> SetRequestedRegion() is not available in all
> filters. Is there a general way of passing subimage
> to a filter in the
> SetInput function itself. One trivial way is
> to copy that subimage to another ItkImage but this
> will require u to
> allocate extra memory and copying overhead
> which i want to avoid. So I need to know how can I
> pass subimage by
> reference ??
>
>
> Regards
> Arun
>
>
> ==============================================================
> ==================
> THE BEST THING YOU CAN DO TO YOUR FRIEND IS TO REMAIN HIS
> FRIEND FOREVER.......
> ==============================================================
> ==================
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> _______________________________________________
> 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