<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> Thank you for your response. I guess I am not doing it right. Here is a snippet of my CmakeLists.txt. 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. 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. 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. We need to<br># do this in one place to make sure the order is correct.<br>INCLUDE_DIRECTORIES(<br> ${ITK_INCLUDE_DIRS_BUILD_TREE}<br> ${ITK_INCLUDE_DIRS_BUILD_TREE_CXX}<br> ${ITK_INCLUDE_DIRS_SYSTEM}<br> ${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 <gaetan.lehmann@jouy.inra.fr><br><b><span style="font-weight: bold;">To:</span></b> Emma Ryan
<eryanvtk@yahoo.com><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>> Hello David,<br>> <br>> Thank you for your reply. I think my problem is more about 'how to include a new folder into the ITK structure ?' I have found the BinaryAttributeMorphology Folder with all the relvelant cxx and txx files. How do I start using them ?<br>> <br>> 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>> <br><br>Hi Emma,<br><br>You can include the directory with something like<br><br> 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>> Emma<br>> <br>> <br>> Message: 5<br>> Date: Wed, 15 Jul 2009 17:32:15 -0400<br>> From: David Doria <daviddoria+<a ymailto="mailto:itk@gmail.com"
href="mailto:itk@gmail.com">itk@gmail.com</a>><br>> Subject: Re: [Insight-users] itkLabelMapToLabelImageFilter.h in<br>> version 3.12.0<br>> Cc: <a ymailto="mailto:insight-users@itk.org" href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>> Message-ID:<br>> <<a ymailto="mailto:c19fcadc0907151432n6ce1c26av72ad6325cdef9007@mail.gmail.com" href="mailto:c19fcadc0907151432n6ce1c26av72ad6325cdef9007@mail.gmail.com">c19fcadc0907151432n6ce1c26av72ad6325cdef9007@mail.gmail.com</a>><br>> Content-Type: text/plain; charset=ISO-8859-1<br>> <br>> On Wed, Jul 15, 2009 at 5:15 PM, Emma Ryan<<a ymailto="mailto:eryanvtk@yahoo.com" href="mailto:eryanvtk@yahoo.com">eryanvtk@yahoo.com</a>> wrote:<br>> > Hi,<br>> ><br>> > ??? I am looking for some functionality that seems to be available in ITK<br>> > through the following files.? But my version 3.12.0 does
not contain these<br>> > files. is there a way in which<br>> ><br>> > itkLabelImageToShapeLabelMapFilter.h<br>> > itkAttributeOpeningLabelMapFilter.h<br>> > itkLabelMapToLabelImageFilter.h<br>> ><br>> > These are available in BinaryAttributeMorphology.? Is there a way in which I<br>> > can include this folder in my current ITK version, so that I dont have to<br>> > upgrade to 3.14 ?<br>> ><br>> > Thank you,<br>> > Emma<br>> ><br>> <br>> The other day Luis pointed me to the NAMIC sandbox:<br><span>> <a target="_blank" href="http://svn.na-mic.org/NAMICSandBox/trunk/ITKBinaryAttributeMorphology/">http://svn.na-mic.org/NAMICSandBox/trunk/ITKBinaryAttributeMorphology/</a></span><br>> <br>> That seems to now contain most of the files that have gone missing.<br>> <br>> Thanks,<br>> <br>> David<br>> <br>> <br>>
_____________________________________<br>> Powered by <a target="_blank" href="http://www.kitware.com">www.kitware.com</a><br>> <br>> Visit other Kitware open-source projects at<br><span>> <a target="_blank" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a></span><br>> <br><span>> 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>> <br>> Follow this link to subscribe/unsubscribe:<br><span>> <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 fax: 01 34 65 29 09<br><span><a target="_blank"
href="http://voxel.jouy.inra.fr">http://voxel.jouy.inra.fr</a> <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> <a target="_blank" href="http://www.bepo.fr">http://www.bepo.fr</a></span><br><br></div></div></div><br>
</body></html>