[Insight-users] Passing a part of the image as a reference

Arun Kulshreshtha arun_2000_iitd at yahoo.com
Tue Mar 22 07:17:17 EST 2005


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 


More information about the Insight-users mailing list