[Insight-users] Problem with PolylineMask2DImageFilter

Luis Ibanez luis.ibanez at kitware.com
Wed Apr 7 13:40:56 EDT 2010


Hi Edoardo,

There are a couple of cases that this filter
doesn't manage correctly.

Namely:

A)  non-convex polylines

B) Polylines for which two of its vertices will be
    mapped onto the same pixel of the image


You may want to check that your polyline+image
doesn't incur in either one of these cases.


It will be helpful if you post a screen shot of your
output image...


     Regards,


           Luis


----------------------
On Wed, Apr 7, 2010 at 11:24 AM,  <edoardo.belletti at alice.it> wrote:
> Hi
> I have a problem: I want to use PolylineMask2DImageFilter to set to zero all
> the pixel that are outside a PolyLineParametricPath that I defined as a
> closed line.
> But with PolylineMask2DImageFilter some pixel that are inside my closed line
> are also set to zero and I don't know how to avoid this.
> I hope that you understand what I want to say.
>
> Thank you for the help
>
> Edoardo
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>


More information about the Insight-users mailing list