Gaëtan,<br><br>I found those. But, they don't seem to be just right.<br><br>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.<br><br>Basically, I'd like to represent the data in a convenient way to create new volumes from existing volumes.
<br><br>Thanks!<br><br><div><span class="gmail_quote">On 7/18/07, <b class="gmail_sendername">Gaëtan Lehmann</b> <<a href="mailto:gaetan.lehmann@jouy.inra.fr">gaetan.lehmann@jouy.inra.fr</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi,<br><br>You can use the boolean filters in ITK :<br><br><a href="http://www.itk.org/Doxygen32/html/classitk_1_1AndImageFilter.html">http://www.itk.org/Doxygen32/html/classitk_1_1AndImageFilter.html</a><br><a href="http://www.itk.org/Doxygen32/html/classitk_1_1OrImageFilter.html">
http://www.itk.org/Doxygen32/html/classitk_1_1OrImageFilter.html</a><br><a href="http://www.itk.org/Doxygen32/html/classitk_1_1XorImageFilter.html">http://www.itk.org/Doxygen32/html/classitk_1_1XorImageFilter.html</a><br>
<a href="http://www.itk.org/Doxygen32/html/classitk_1_1NotImageFilter.html">http://www.itk.org/Doxygen32/html/classitk_1_1NotImageFilter.html</a><br><br>HTH,<br><br>Gaëtan<br><br><br><br>Le 17 juil. 07 à 18:56, Michael Bowerman a écrit :
<br><br>> All,<br>><br>> I am trying to combine segments in a Boolean way. Specifically, I<br>> would like to: create a segment from the overlapping region of two<br>> segments (AND), create a segment from the total region of two
<br>> segments (OR), create a segment that includes everything not in the<br>> overlapping region (XOR), and some other combinations ( e.g. all of<br>> segment one that is not in two).<br>><br>> I have done a bit of searching and nothing relevant is coming up.
<br>> So, any help would be greatly appreciated.<br>><br>> Thanks!<br>> _______________________________________________<br>> Insight-users mailing list<br>> <a href="mailto:Insight-users@itk.org">Insight-users@itk.org
</a><br>> <a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br><br>--<br>Gaëtan Lehmann<br>Biologie du Développement et de la Reproduction<br>INRA de Jouy-en-Josas (France)
<br>tel: +33 1 34 65 29 66 fax: 01 34 65 29 09<br><a href="http://voxel.jouy.inra.fr">http://voxel.jouy.inra.fr</a><br><br><br><br><br></blockquote></div><br>