Hi Qing,<br><br>Well, the "binary" form of ITK not a real solution either,<br>since most of ITK is templated code, the libraries contain<br>a very small portion of the total toolkit.<br><br>If you are distributing your application and want others
<br>to be able to rebuild it, then they should have access<br>to the source code of ITK. Of course, only if they are<br>trying to rebuild it.<br><br>If your users are only going to run your application, <br>then the simplest way to proceed is to compile ITK
<br>for Statics libraries, and just distribute your executable.<br><br>You may also want to take a look at CPack (from CMake)<br>which is the tool intended for packaging code for distribution.<br><br><br> Regards,<br><br>
<br> Luis<br><br><br>--------------------------------<br><div><span class="gmail_quote">On 8/6/07, <b class="gmail_sendername">qing xu</b> <<a href="mailto:qingxu8@hotmail.com">qingxu8@hotmail.com</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;">Hi Luis,<br><br>Thank you for your suggestion.You are right, it seems that there is little
<br>difference between incorporting part of or all of the itk source code. Maybe<br>I will just keep using the binary form of itk.<br>Thanks a lot.<br><br>Qing<br><br><br><br>>From: "Luis Ibanez" <<a href="mailto:luis.ibanez@kitware.com">
luis.ibanez@kitware.com</a>><br>>To: "qing xu" <<a href="mailto:qingxu8@hotmail.com">qingxu8@hotmail.com</a>><br>>CC: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>>Subject: Re: [Insight-users] redistribution questions
<br>>Date: Mon, 6 Aug 2007 13:28:40 -0400<br>><br>>Hi Qing,<br>><br>>Yes, I'm suggesting that you should include all of ITK with your project.<br>><br>>It will be rather difficult to extract only the classes that you are using,
<br>>although it is not impossible.<br>><br>>You should ask yourself, what is the purpose of adding to your project<br>>the code from ITK ?<br>><br>>Why not just say that you distribute the code, and that it should be
<br>>build using ITK version X.Y. ?<br>><br>>Keep in mind that we make ITK releases every three monts,<br>>so, by extracting code from ITK you will also face the challenge<br>>of updating your version of the code to new releases of ITK.
<br>><br>>This may o may not be a problem, depending on who are<br>>the recipients of the code that you are delivering, and how<br>>you are going to maintain that code for the next five to<br>>ten years.<br>
><br>><br>> Regards,<br>><br>><br>> Luis<br>><br>><br>>---------------------------------------------------------------------<br>>On 8/6/07, qing xu <<a href="mailto:qingxu8@hotmail.com">
qingxu8@hotmail.com</a>> wrote:<br>> ><br>> > Hi Luis,<br>> ><br>> > Thanks a lot for your reply.<br>> ><br>> > I use the 3d versor rigid registration part of ITK, and now I want to<br>
> > incorporate the source code of ITK to my project. So, first, I have to<br>> > figure out what files in ITK are related to the functions I am using.<br>>What<br>> > I<br>> > am doing now is to check the header files to see what must be included
<br>>to<br>> > implement the registration. But it seems that there are so many files<br>> > related to the registraiton part, is there a easy way to do that? Are<br>>you<br>> > suggesting that I should include all the ITK source codes to my project?
<br>> > Thanks.<br>> ><br>> > Qing<br>> ><br>> ><br>> > >From: "Luis Ibanez" <<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>><br>> > >To: "qing xu" <
<a href="mailto:qingxu8@hotmail.com">qingxu8@hotmail.com</a>><br>> > >CC: <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>> > >Subject: Re: [Insight-users] redistribution questions
<br>> > >Date: Mon, 6 Aug 2007 12:12:42 -0400<br>> > ><br>> > >Hi Qing,<br>> > ><br>> > >Yes, you are allowed (and encouraged)<br>> > >to redistribute ITK's source code.
<br>> > ><br>> > >Why are you finding difficult to pack all the code ?<br>> > ><br>> > >You can just take the tar or .zip file corresponding<br>> > >to the ITK release that you are using.
<br>> > ><br>> > >The tar/zip files are available at:<br>> > ><br>> > > <a href="http://www.itk.org/HTML/Download.php">http://www.itk.org/HTML/Download.php</a><br>> > ><br>
> > >You could also just use the cvs export command<br>> > >and if you are using a particular CVS version of ITK.<br>> > ><br>> > ><br>> > > Regards,<br>> > ><br>> > >
<br>> > > Luis<br>> > ><br>> > ><br>> > >===========================<br>> > >On 8/6/07, qing xu <<a href="mailto:qingxu8@hotmail.com">qingxu8@hotmail.com</a>> wrote:
<br>> > > ><br>> > > > Hi,<br>> > > ><br>> > > > I am currently considering incorporating itk source code to my<br>> > project.<br>> > >I<br>> > > > read the copyright notice and seems that it allows me to
<br>>redistribute<br>> > in<br>> > > > source code form. But it seems not trivial to find all the related<br>> > >source<br>> > > > code files. Anyone has done the similar thing? Any suggestion is
<br>> > >welcome.<br>> > > > Thanks.<br>> > > ><br>> > > > Qing<br>> > > ><br>> > > ><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>> > _________________________________________________________________<br>> > Tease your brain--play Clink! Win cool prizes!
<br>> > <a href="http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2">http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2</a><br>> ><br>> ><br><br>_________________________________________________________________
<br>Learn.Laugh.Share. Reallivemoms is right place!<br><a href="http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us">http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us</a><br><br></blockquote></div><br>