[Insight-users] Boolean segment combination
Michael Bowerman
michael.bowerman at gmail.com
Thu Jul 19 15:55:47 EDT 2007
Gaëtan,
I found those. But, they don't seem to be just right.
I'm looking to create new volumes from existing volumes. So, if I use the
image filter boolean classes, I would have to use each integer pixel bit to
mark each segment (e.g. 0x00000001, 0x00000010, etc.). After that, I would
need to loop through each pixel to detect which pixels are in and which are
out.
Basically, I'd like to represent the data in a convenient way to create new
volumes from existing volumes.
Thanks!
On 7/18/07, Gaëtan Lehmann <gaetan.lehmann at jouy.inra.fr> wrote:
>
>
> Hi,
>
> You can use the boolean filters in ITK :
>
> http://www.itk.org/Doxygen32/html/classitk_1_1AndImageFilter.html
> http://www.itk.org/Doxygen32/html/classitk_1_1OrImageFilter.html
> http://www.itk.org/Doxygen32/html/classitk_1_1XorImageFilter.html
> http://www.itk.org/Doxygen32/html/classitk_1_1NotImageFilter.html
>
> HTH,
>
> Gaëtan
>
>
>
> Le 17 juil. 07 à 18:56, Michael Bowerman a écrit :
>
> > All,
> >
> > I am trying to combine segments in a Boolean way. Specifically, I
> > would like to: create a segment from the overlapping region of two
> > segments (AND), create a segment from the total region of two
> > segments (OR), create a segment that includes everything not in the
> > overlapping region (XOR), and some other combinations ( e.g. all of
> > segment one that is not in two).
> >
> > I have done a bit of searching and nothing relevant is coming up.
> > So, any help would be greatly appreciated.
> >
> > Thanks!
> > _______________________________________________
> > Insight-users mailing list
> > Insight-users at itk.org
> > http://www.itk.org/mailman/listinfo/insight-users
>
> --
> Gaëtan Lehmann
> Biologie du Développement et de la Reproduction
> INRA de Jouy-en-Josas (France)
> tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
> http://voxel.jouy.inra.fr
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070719/ad64aedf/attachment.html
More information about the Insight-users
mailing list