<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"><<a href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>></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'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 <<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>>:<br>><br>> I tried alot withotu any result could u please give me clear steps I did my<br>
> best without any results , and I posted two or three questions regards this<br>> issue without any reply<br>
<div>
<div></div>
<div class="h5">> Dan Mueller-2 wrote:<br>>><br>>> Hi Ali,<br>>><br>>> I do not work with VTK+ITK+C# so I can not comment on performance...<br>>><br>>> Native ITK can *NOT* be used directly from C#. ManagedITK allows the<br>
>> use of some ITK classes easily from C#, however as already discussed<br>>> it does not allow the use of FEM functionality.<br>>><br>>> You may find the following references useful for achieving ITK+C#<br>
>> interoperability:<br>>><br>>> <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>
>> <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>>><br>>> <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>
>><br>>> Hope this helps.<br>>><br>>> Regards, Dan<br>>><br>>> 2009/9/9 Ali Habib <<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>>:<br>>>><br>
>>> thanks alot,<br>>>><br>>>> it worked , but it give .lib files do u have any idea how to convert them<br>>>> to<br>>>> .dll to work with them in C# project,<br>>>><br>
>>> do u work with vtk , and itk in c# project , if yes is its performance<br>>>> good<br>>>><br>>>><br>>>> thanks again<br>>>> best regards<br>>>> On Mon, Sep 7, 2009 at 5:57 PM, Dan Mueller <<a href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>> wrote:<br>
>>>><br>>>>> Hi Ali,<br>>>>><br>>>>> Did you click the "Configure" button?<br>>>>><br>>>>> 2009/9/7 Ali Habib <<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>>:<br>
>>>> > Hi ,<br>>>>> > thnks for ur help , those are the red properties:<br>>>>> > Build_DOXYGEN<br>>>>> > BUILD_EXAMPLE<br>>>>> > BUILD_SHARED_LIBS<br>
>>>> > BUILD_TESTING<br>>>>> > CMAKE_BACKWARDS_COMPATABILITY: 2.4<br>>>>> > CMAKE_INSTALL_PREFIX<br>>>>> > ITK_USE_KWSTYLE<br>>>>> ><br>>>>> > I will read the tutorials<br>
>>>> ><br>>>>> > best regards<br>>>>> ><br>>>>> > On Mon, Sep 7, 2009 at 2:23 PM, Dan Mueller <<a href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>><br>
>>>> wrote:<br>>>>> >><br>>>>> >> Hi Ali,<br>>>>> >><br>>>>> >> I see you are trying to build ITK. In the email I just sent I thought<br>
>>>> >> you were trying to build ManagedITK. Please ignore my previous email.<br>>>>> >><br>>>>> >> The following pages have some useful tutorials/guides for building<br>
>>>> ITK:<br>>>>> >> <a href="http://www.itk.org/ITK/help/help.html" target="_blank">http://www.itk.org/ITK/help/help.html</a><br>>>>> >> <a href="http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf" target="_blank">http://www.itk.org/CourseWare/Training/GettingStarted-I.pdf</a><br>
>>>> >><br>>>>> >> Regarding the red configuration item: please specify which<br>>>>> >> configuration item is red. Note that you may need to click<br>>>>> "Configure"<br>
>>>> >> multiple times before you are able to click "Generate" (depending on<br>>>>> >> what settings you choose).<br>>>>> >><br>>>>> >> Hope this helps.<br>
>>>> >><br>>>>> >> Regards, Dan<br>>>>> >><br>>>>> >> 2009/9/7 Dan Mueller <<a href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>>:<br>>>>> >> > Hi Ali,<br>
>>>> >> ><br>>>>> >> > Which configuration item was red? Was it ITK_DIR?<br>>>>> >> ><br>>>>> >> > If so, please specify the location of ITK (the output foloder)<br>
>>>> which<br>>>>> >> > you have previous built.<br>>>>> >> ><br>>>>> >> > Hope this helps.<br>>>>> >> ><br>>>>> >> > Regards, Dan<br>
>>>> >> ><br>>>>> >> > 2009/9/7 Ali Habib <<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>>:<br>>>>> >> >> Hi Dan,<br>>>>> >> >> I downloaded the source of ITK and used cmake to build it for<br>
>>>> visual<br>>>>> >> >> <a href="http://studio.net/" target="_blank">studio.net</a><br>>>>> >> >><br>>>>> >> >> a red configuration item appeared , and the generator button still<br>
>>>> >> >> hide<br>>>>> >> >> how<br>>>>> >> >> to modify the red properties to make the generate button appear<br>>>>> >> >><br>
>>>> >> >> the properties are:<br>>>>> >> >><br>>>>> >> >> Build_DOXYGEN<br>>>>> >> >> BUILD_EXAMPLE<br>>>>> >> >> BUILD_SHARED_LIBS<br>
>>>> >> >> BUILD_TESTING<br>>>>> >> >> CMAKE_BACKWARDS_COMPATABILITY: 2.4<br>>>>> >> >> CMAKE_INSTALL_PREFIX<br>>>>> >> >> ITK_USE_KWSTYLE<br>
>>>> >> >><br>>>>> >> >> your fast response will be highly appretiated<br>>>>> >> >><br>>>>> >> >><br>>>>> >> >> On Tue, Sep 1, 2009 at 4:19 PM, Dan Mueller <<a href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>><br>
>>>> >> >> wrote:<br>>>>> >> >>><br>>>>> >> >>> Hi Ali,<br>>>>> >> >>><br>>>>> >> >>> Unfortunately ManagedITK does not cover the FEM classes.<br>
>>>> >> >>><br>>>>> >> >>> Probably the best approach is to create your own custom<br>>>>> >> >>> filter/process<br>>>>> >> >>> object which performs the desired functionality (ie. takes one or<br>
>>>> >> >>> two<br>>>>> >> >>> input images, takes a number of parameters, applies the desired<br>>>>> FEM<br>>>>> >> >>> functionality, creates an output image) and wrap that custom<br>
>>>> >> >>> object.<br>>>>> >> >>><br>>>>> >> >>> For more details of wrapping custom filters/objects, see the last<br>>>>> >> >>> section of the FAQ:<br>
>>>> >> >>> <a href="http://manageditk.googlecode.com/files/ManagedITK-article.pdf" target="_blank">http://manageditk.googlecode.com/files/ManagedITK-article.pdf</a><br>>>>> >> >>><br>
>>>> >> >>> Hope this helps.<br>>>>> >> >>><br>>>>> >> >>> Regards, Dan<br>>>>> >> >>><br>>>>> >> >>> 2009/9/1 InfoSeekerr <<a href="mailto:ali.mahmoud.habib@gmail.com">ali.mahmoud.habib@gmail.com</a>>:<br>
>>>> >> >>> ><br>>>>> >> >>> > Does Managed ITK version cover FEM class, I tried to search for<br>>>>> >> >>> > that<br>>>>> >> >>> > but<br>
>>>> >> >>> > couldn't see this class<br>>>>> >> >>> ><br>>>>> >> >>> > does anyone face the same problem and how to overcome that<br>
>>>> >> >>> > --<br>>>>> >> >>> > View this message in context:<br>>>>> >> >>> ><br>>>>> >> >>> ><br>
>>>> <a href="http://www.nabble.com/Managed-ITK-problem-tp25238300p25238300.html" target="_blank">http://www.nabble.com/Managed-ITK-problem-tp25238300p25238300.html</a><br>>>>> >> >>> > Sent from the ITK - Users mailing list archive at Nabble.com.<br>
>>>> >> >>> ><br>>>>> >> >>> > _____________________________________<br>>>>> >> >>> > Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
>>>> >> >>> ><br>>>>> >> >>> > Visit other Kitware open-source projects at<br>>>>> >> >>> > <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>>>> >> >>> ><br>>>>> >> >>> > Please keep messages on-topic and check the ITK FAQ at:<br>>>>> >> >>> > <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
>>>> >> >>> ><br>>>>> >> >>> > Follow this link to subscribe/unsubscribe:<br>>>>> >> >>> > <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
>>>> >> >>> ><br>>>>> >> >><br>>>>> >> >><br>>>>> >> ><br>>>>> ><br>>>>> ><br>>>><br>
>>><br>>> _____________________________________<br>>> Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>>><br>>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>>><br>>> Please keep messages on-topic and check the ITK FAQ at:<br>
>> <a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>>><br>>> Follow this link to subscribe/unsubscribe:<br>>> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
>><br>>><br>><br>> --<br></div></div>> 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">> Sent from the ITK - Users mailing list archive at Nabble.com.<br>><br>> _____________________________________<br>> Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
><br>> Visit other Kitware open-source projects at<br>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>><br>> 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>
><br>> Follow this link to subscribe/unsubscribe:<br>> <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>><br></div></div></blockquote>
</div><br></div>