[Insight-developers] calling itk from IDL
Emmanuel Christophe
emmanuel.christophe at gmail.com
Thu Jun 10 06:28:24 EDT 2010
Hi Hai Ming,
A method was devised a while ago to call OTB from IDL/Envi with the
help of ITT. As OTB is mostly based on ITK, this should apply to ITK
as well. You can have a look at the documentation:
http://groups.google.com/group/otb-users/browse_thread/thread/43b907397d9e8172?pli=1
(there is also some source samples).
Emmanuel
2010/6/10 海明 张 <zhanghaiming54 at hotmail.com>:
> hi fellows,
>
> I am trying to call itk from IDL. What I did is first generate a .dll share
> library from itk and then call this .dll from IDL. I tried
> \Examples\Registration\ImageRegistration1.cxx. In the CMakeLists.txt, I
> deleted unwanted commonds and change "ADD_EXECUTABLE()" to
> "ADD_LIBRARY(ImageRegistration1 SHARED ImageRegistration1.cxx). The cmake
> process did not give any error and I got a dll file. However, when I called
> the dll file from IDL an error message occured "Program caused arithmetic
> error: Floating underflow".
>
> Anyone familar with "calling itk from IDL" or know "how to generate dll from
> itk and call the dll from IDL"? Please help me figure this out. Thanks.
>
> Hai Ming
>
> ________________________________
> Hotmail: Trusted email with Microsoft’s powerful SPAM protection. Sign up
> now.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>
>
More information about the Insight-developers
mailing list