<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hello Gaetan and others on the mailing list,<br><br>&nbsp;&nbsp;&nbsp; Thank you for your response. I guess I am not doing it right. Here is a snippet of my CmakeLists.txt.&nbsp; I have also attached the entire CmakeList.txt. Could someone please tell me what I am doing wrong ?<br><br>Just to re-iterate.. I have ITK 3.12.0 and I have the binaryAttributeMorphology folder which I would like to use.&nbsp; So far, I have,<br><br>1. Included binaryAttributeMorphology folder under the 'ITK/Code/' directory.<br>2.Added this folder to the following lines in CmakeList.txt<br>3.Ran cmake 2.6, hoping that it would recognize the BinaryAttributeMaorphology folder.&nbsp; But it does not .<br><br><br>//Part of CmakeList.txt<br><br># Create the list of include directories needed for ITK header
 files.<br>INCLUDE(${ITK_SOURCE_DIR}/itkIncludeDirectories.cmake)<br><br># This should be the only INCLUDE_DIRECTORIES command in the entire<br># tree, except for the Utilities and Wrapping directories.&nbsp; We need to<br># do this in one place to make sure the order is correct.<br>INCLUDE_DIRECTORIES(<br>&nbsp; ${ITK_INCLUDE_DIRS_BUILD_TREE}<br>&nbsp; ${ITK_INCLUDE_DIRS_BUILD_TREE_CXX}<br>&nbsp; ${ITK_INCLUDE_DIRS_SYSTEM}<br>&nbsp; ${ITK_SOURCE_DIR}/Code/binaryAttributeMorphology<br>)<br><br><br>How do I actually get this thing right ?<br><br>Thank you,<br>Emma<br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Gaëtan Lehmann &lt;gaetan.lehmann@jouy.inra.fr&gt;<br><b><span style="font-weight: bold;">To:</span></b> Emma Ryan
 &lt;eryanvtk@yahoo.com&gt;<br><b><span style="font-weight: bold;">Cc:</span></b> insight-users@itk.org<br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, July 16, 2009 10:16:33 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Insight-users] itkLabelMapToLabelImageFilter.h in version 3.12.0<br></font><br>
<br>Le 16 juil. 09 à 18:57, Emma Ryan a écrit :<br><br>&gt; Hello David,<br>&gt; <br>&gt;&nbsp; Thank you for your reply. I think my problem is more about 'how to include a new folder into the ITK structure ?'&nbsp; I have found the BinaryAttributeMorphology Folder with all the relvelant cxx and txx files. How do I start using them ?<br>&gt; <br>&gt; Should I simply place the folder under 'Code' directory ? I have gotten so accustomed to the whole plugin architecture, that I am not sure how to handle this.<br>&gt; <br><br>Hi Emma,<br><br>You can include the directory with something like<br><br>&nbsp; INCLUDE_DIRECTORIES("/Users/glehmann/src/contrib-itk/binaryAttributeMorphology/")<br><br>in you CMakeLists.txt.<br><br>Regards,<br><br>Gaëtan<br><br><br><br>&gt; Emma<br>&gt; <br>&gt; <br>&gt; Message: 5<br>&gt; Date: Wed, 15 Jul 2009 17:32:15 -0400<br>&gt; From: David Doria &lt;daviddoria+<a ymailto="mailto:itk@gmail.com"
 href="mailto:itk@gmail.com">itk@gmail.com</a>&gt;<br>&gt; Subject: Re: [Insight-users] itkLabelMapToLabelImageFilter.h in<br>&gt;&nbsp; &nbsp;  version&nbsp; &nbsp; 3.12.0<br>&gt; Cc: <a ymailto="mailto:insight-users@itk.org" href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>&gt; Message-ID:<br>&gt;&nbsp; &nbsp;  &lt;<a ymailto="mailto:c19fcadc0907151432n6ce1c26av72ad6325cdef9007@mail.gmail.com" href="mailto:c19fcadc0907151432n6ce1c26av72ad6325cdef9007@mail.gmail.com">c19fcadc0907151432n6ce1c26av72ad6325cdef9007@mail.gmail.com</a>&gt;<br>&gt; Content-Type: text/plain; charset=ISO-8859-1<br>&gt; <br>&gt; On Wed, Jul 15, 2009 at 5:15 PM, Emma Ryan&lt;<a ymailto="mailto:eryanvtk@yahoo.com" href="mailto:eryanvtk@yahoo.com">eryanvtk@yahoo.com</a>&gt; wrote:<br>&gt; &gt; Hi,<br>&gt; &gt;<br>&gt; &gt; ??? I am looking for some functionality that seems to be available in ITK<br>&gt; &gt; through the following files.? But my version 3.12.0 does
 not contain these<br>&gt; &gt; files. is there a way in which<br>&gt; &gt;<br>&gt; &gt; itkLabelImageToShapeLabelMapFilter.h<br>&gt; &gt; itkAttributeOpeningLabelMapFilter.h<br>&gt; &gt; itkLabelMapToLabelImageFilter.h<br>&gt; &gt;<br>&gt; &gt; These are available in BinaryAttributeMorphology.? Is there a way in which I<br>&gt; &gt; can include this folder in my current ITK version, so that I dont have to<br>&gt; &gt; upgrade to 3.14 ?<br>&gt; &gt;<br>&gt; &gt; Thank you,<br>&gt; &gt; Emma<br>&gt; &gt;<br>&gt; <br>&gt; The other day Luis pointed me to the NAMIC sandbox:<br><span>&gt; <a target="_blank" href="http://svn.na-mic.org/NAMICSandBox/trunk/ITKBinaryAttributeMorphology/">http://svn.na-mic.org/NAMICSandBox/trunk/ITKBinaryAttributeMorphology/</a></span><br>&gt; <br>&gt; That seems to now contain most of the files that have gone missing.<br>&gt; <br>&gt; Thanks,<br>&gt; <br>&gt; David<br>&gt; <br>&gt; <br>&gt;
 _____________________________________<br>&gt; Powered by <a target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>&gt; <br>&gt; Visit other Kitware open-source projects at<br><span>&gt; <a target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></span><br>&gt; <br><span>&gt; Please keep messages on-topic and check the ITK FAQ at: <a target="_blank" href="http://www.itk.org/Wiki/ITK_FAQ">http://www.itk.org/Wiki/ITK_FAQ</a></span><br>&gt; <br>&gt; Follow this link to subscribe/unsubscribe:<br><span>&gt; <a target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a></span><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&nbsp; &nbsp; fax: 01 34 65 29 09<br><span><a target="_blank"
 href="http://voxel.jouy.inra.fr">http://voxel.jouy.inra.fr</a>&nbsp; <a target="_blank" href="http://www.itk.org">http://www.itk.org</a></span><br><span><a target="_blank" href="http://www.mandriva.org">http://www.mandriva.org</a>&nbsp; <a target="_blank" href="http://www.bepo.fr">http://www.bepo.fr</a></span><br><br></div></div></div><br>



      </body></html>