[Insight-users] extracting a circular interest region

Luis Ibanez luis.ibanez at kitware.com
Mon Jun 16 16:35:24 EDT 2008


Hi Zhihong,

You may want to try creating a binary image with a circular
mask and then using it with the MaskImageFilter.

In order to create the circular maks you can use the 
EllipsoidSpatialObject and the SpatialObjectToImageFilter.

You may find useful to look at the example:

    Insight/Examples/Registration/
       ModelToImageRegistration1.cxx



   Regards,


       Luis



----------------------
zhihong hu wrote:
> Hi Luis,
>  
> I want to extract a circular interest region for both 2d. Could you 
> please tell me how to do that? Thanks.
>  
> Zhihong  


More information about the Insight-users mailing list