[Insight-developers] calling itk from IDL

海明 张 zhanghaiming54 at hotmail.com
Mon Jun 14 03:34:34 EDT 2010


Hi Emmanuel,



I still cannot link IDL with ITK. Have you tried this before? Do you have some simple examples? I really stuck here. 
Is there anybody who succeded in creating an ITK DLL, please help.
Thanks for helping.


Hai Ming


> From: emmanuel.christophe at gmail.com
> Date: Thu, 10 Jun 2010 18:28:24 +0800
> Subject: Re: [Insight-developers] calling itk from IDL
> To: zhanghaiming54 at hotmail.com
> CC: insight-developers at itk.org
> 
> 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
> >
> >
 		 	   		  
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/mailman/private/insight-developers/attachments/20100614/4e9e54f6/attachment.htm>


More information about the Insight-developers mailing list