<div dir="ltr"><div>Dear Dan,</div>
<div> </div>
<div>I develop a aproject using c# , I read a ct 2D slices and reconstruct to build 3D skull , after that I want to apply Finite elemet analysis to the 3d SKULL  , to the jaw , to remove the deformation in the jaw </div>

<div> </div>
<div>I am familiar to .NET and I did the first and second steps which are read and reconstruct the skull </div>
<div> </div>
<div>any advice please <br></div>
<div class="gmail_quote">On Wed, Sep 23, 2009 at 9:05 PM, Dan Mueller <span dir="ltr">&lt;<a href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hi Ali,<br><br>Ok, let&#39;s start from the beginning.<br><br>1. Why exactly do you want to use ITK FEM functionality from .NET? Is<br>
it because you are familiar with .NET and not C++? Or do you have an<br>existing .NET application you are trying to add FEM functionality? Or<br>is there some other reason? FYI: unless you have a really really good<br>reason I recommend using native C++ over C#.<br>
<br>2. Please provide a detailed description of the task you are faced<br>with. For example: are you trying to use ITK FEM functionality for<br>deformable registration? Structural analysis? What sort of images are<br>you working with: CT, MR? Dimensions: 2d, 3d?<br>
<br>By the way: adding __declspec(dllexport) to each FEM class will not<br>work (at least as far as I know). It is probably easier to wrap the<br>_functionality_ rather than each individual class.<br><br>Please provide the above requested information, and then we can advise<br>
on the best next steps.<br><br>Regards, Dan<br><br>2009/9/23 InfoSeekerr &lt;<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>&gt;:<br>&gt;<br>&gt; I tried alot withotu any result could u please give me clear steps I did my<br>
&gt; best without any results , and I posted two or three questions regards this<br>&gt; issue without any reply<br>
<div>
<div></div>
<div class="h5">&gt; Dan Mueller-2 wrote:<br>&gt;&gt;<br>&gt;&gt; Hi Ali,<br>&gt;&gt;<br>&gt;&gt; I do not work with VTK+ITK+C# so I can not comment on performance...<br>&gt;&gt;<br>&gt;&gt; Native ITK can *NOT* be used directly from C#. ManagedITK allows the<br>
&gt;&gt; use of some ITK classes easily from C#, however as already discussed<br>&gt;&gt; it does not allow the use of FEM functionality.<br>&gt;&gt;<br>&gt;&gt; You may find the following references useful for achieving ITK+C#<br>
&gt;&gt; interoperability:<br>&gt;&gt;<br>&gt;&gt; <a href="http://public.kitware.com/pipermail/insight-users/2006-October/019652.html" target="_blank">http://public.kitware.com/pipermail/insight-users/2006-October/019652.html</a><br>
&gt;&gt;   <a href="http://www.cmake.org/pipermail/insight-users/2007-September/023670.html" target="_blank">http://www.cmake.org/pipermail/insight-users/2007-September/023670.html</a><br>&gt;&gt;<br>&gt;&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ#Deal_with_Runtime_Exceptions_in_a_Managed_C.2B.2B_Windows_Forms_Application" target="_blank">http://www.itk.org/Wiki/ITK_FAQ#Deal_with_Runtime_Exceptions_in_a_Managed_C.2B.2B_Windows_Forms_Application</a><br>
&gt;&gt;<br>&gt;&gt; Hope this helps.<br>&gt;&gt;<br>&gt;&gt; Regards, Dan<br>&gt;&gt;<br>&gt;&gt; 2009/9/9 Ali Habib &lt;<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>&gt;:<br>&gt;&gt;&gt;<br>
&gt;&gt;&gt; thanks alot,<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; it worked , but it give .lib files do u have any idea how to convert them<br>&gt;&gt;&gt; to<br>&gt;&gt;&gt; .dll to work with them in C# project,<br>&gt;&gt;&gt;<br>
&gt;&gt;&gt; do u work with vtk , and itk in c# project , if yes is its performance<br>&gt;&gt;&gt; good<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; thanks again<br>&gt;&gt;&gt; best regards<br>&gt;&gt;&gt; On Mon, Sep 7, 2009 at 5:57 PM, Dan Mueller &lt;<a href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Hi Ali,<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; Did you click the &quot;Configure&quot; button?<br>&gt;&gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; 2009/9/7 Ali Habib &lt;<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>&gt;:<br>
&gt;&gt;&gt;&gt; &gt; Hi ,<br>&gt;&gt;&gt;&gt; &gt; thnks for ur help , those are the red properties:<br>&gt;&gt;&gt;&gt; &gt; Build_DOXYGEN<br>&gt;&gt;&gt;&gt; &gt; BUILD_EXAMPLE<br>&gt;&gt;&gt;&gt; &gt; BUILD_SHARED_LIBS<br>
&gt;&gt;&gt;&gt; &gt; BUILD_TESTING<br>&gt;&gt;&gt;&gt; &gt; CMAKE_BACKWARDS_COMPATABILITY: 2.4<br>&gt;&gt;&gt;&gt; &gt; CMAKE_INSTALL_PREFIX<br>&gt;&gt;&gt;&gt; &gt; ITK_USE_KWSTYLE<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt; I will read the tutorials<br>
&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt; best regards<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt; On Mon, Sep 7, 2009 at 2:23 PM, Dan Mueller &lt;<a href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt; wrote:<br>&gt;&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; Hi Ali,<br>&gt;&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; I see you are trying to build ITK. In the email I just sent I thought<br>
&gt;&gt;&gt;&gt; &gt;&gt; you were trying to build ManagedITK. Please ignore my previous email.<br>&gt;&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; The following pages have some useful tutorials/guides for building<br>
&gt;&gt;&gt;&gt; ITK:<br>&gt;&gt;&gt;&gt; &gt;&gt;    <a href="http://www.itk.org/ITK/help/help.html" target="_blank">http://www.itk.org/ITK/help/help.html</a><br>&gt;&gt;&gt;&gt; &gt;&gt;    <a href="http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf" target="_blank">http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf</a><br>
&gt;&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; Regarding the red configuration item: please specify which<br>&gt;&gt;&gt;&gt; &gt;&gt; configuration item is red. Note that you may need to click<br>&gt;&gt;&gt;&gt; &quot;Configure&quot;<br>
&gt;&gt;&gt;&gt; &gt;&gt; multiple times before you are able to click &quot;Generate&quot; (depending on<br>&gt;&gt;&gt;&gt; &gt;&gt; what settings you choose).<br>&gt;&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; Hope this helps.<br>
&gt;&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; Regards, Dan<br>&gt;&gt;&gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; 2009/9/7 Dan Mueller &lt;<a href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>&gt;:<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt; Hi Ali,<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt; Which configuration item was red? Was it ITK_DIR?<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt; If so, please specify the location of ITK (the output foloder)<br>
&gt;&gt;&gt;&gt; which<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt; you have previous built.<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt; Hope this helps.<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt; Regards, Dan<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt; 2009/9/7 Ali Habib &lt;<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>&gt;:<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; Hi Dan,<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; I downloaded the source of ITK and used cmake to build it for<br>
&gt;&gt;&gt;&gt; visual<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; <a href="http://studio.net/" target="_blank">studio.net</a><br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; a red configuration item appeared , and the generator button still<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; hide<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; how<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; to modify the red properties to make the generate button appear<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; the properties are:<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; Build_DOXYGEN<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; BUILD_EXAMPLE<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; BUILD_SHARED_LIBS<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; BUILD_TESTING<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; CMAKE_BACKWARDS_COMPATABILITY: 2.4<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; CMAKE_INSTALL_PREFIX<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; ITK_USE_KWSTYLE<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; your fast response will be highly appretiated<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; On Tue, Sep 1, 2009 at 4:19 PM, Dan Mueller &lt;<a href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt; wrote:<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; Hi Ali,<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; Unfortunately ManagedITK does not cover the FEM classes.<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; Probably the best approach is to create your own custom<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; filter/process<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; object which performs the desired functionality (ie. takes one or<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; two<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; input images, takes a number of parameters, applies the desired<br>&gt;&gt;&gt;&gt; FEM<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; functionality, creates an output image) and wrap that custom<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; object.<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; For more details of wrapping custom filters/objects, see the last<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; section of the FAQ:<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;     <a href="http://manageditk.googlecode.com/files/ManagedITK-article.pdf" target="_blank">http://manageditk.googlecode.com/files/ManagedITK-article.pdf</a><br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; Hope this helps.<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; Regards, Dan<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; 2009/9/1 InfoSeekerr &lt;<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>&gt;:<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; Does Managed ITK version cover FEM class, I tried to search for<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; that<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; but<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; couldn&#39;t see this class<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; does anyone face the same problem and how to overcome that<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; --<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; View this message in context:<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt;<br>
&gt;&gt;&gt;&gt; <a href="http://www.nabble.com/Managed-ITK-problem-tp25238300p25238300.html" target="_blank">http://www.nabble.com/Managed-ITK-problem-tp25238300p25238300.html</a><br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; Sent from the ITK - Users mailing list archive at Nabble.com.<br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; _____________________________________<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; Visit other Kitware open-source projects at<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; Please keep messages on-topic and check the ITK FAQ at:<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; Follow this link to subscribe/unsubscribe:<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;&gt;<br>&gt;&gt;&gt;&gt; &gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;&gt; &gt;<br>&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>&gt;&gt; _____________________________________<br>&gt;&gt; Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>&gt;&gt;<br>&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>&gt;&gt;<br>&gt;&gt; Please keep messages on-topic and check the ITK FAQ at:<br>
&gt;&gt; <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>&gt;&gt;<br>&gt;&gt; Follow this link to subscribe/unsubscribe:<br>&gt;&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt; --<br></div></div>&gt; View this message in context: <a href="http://www.nabble.com/Managed-ITK-problem-tp25238300p25531149.html" target="_blank">http://www.nabble.com/Managed-ITK-problem-tp25238300p25531149.html</a><br>

<div>
<div></div>
<div class="h5">&gt; Sent from the ITK - Users mailing list archive at Nabble.com.<br>&gt;<br>&gt; _____________________________________<br>&gt; Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
&gt;<br>&gt; Visit other Kitware open-source projects at<br>&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>&gt;<br>&gt; Please keep messages on-topic and check the ITK FAQ at: <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
&gt;<br>&gt; Follow this link to subscribe/unsubscribe:<br>&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>&gt;<br></div></div></blockquote>
</div><br></div>