[Insight-users] How to set the connectivity type in a ConnectedThreshold object

David Doria daviddoria at gmail.com
Sat Nov 20 18:00:25 EST 2010


On Sat, Nov 20, 2010 at 5:45 PM, Agustin Conde Martin
<a.conde409 at uniandes.edu.co> wrote:
> Hi everyone
>
> I'm using the itkConnectedThresholdImageFilter and by default its type of
> connectivity is "Face connectivity" (4 neighbors). I need to evaluate the 8
> neighbors, so I want to set this to the enum "FullConnectivity". I can't
> find a method to set this!! How can I do that?
>
> Sincerely,
>
> Agustin Conde

There is a SetConnectivity function that is enabled when you build ITK
with USE_REVIEW = ON.

David


More information about the Insight-users mailing list