Dear users,
is there any simple way to call ITK routines from IJ? Thanks, Fernando |
Hi,
On Tue, 23 Jun 2009, Fernando Sales wrote: > is there any simple way to call ITK routines from IJ? No. ITK is written in C++, and you have to compile your program in order to specialize the functions in ITK do your data type. Besides, ImageJ is written in Java, and you need to employ JNI (need for a C++ compiler) or JNA (cannot use C++ templates) to call functions written in C++ from ImageJ. Having said that, maybe somebody finished the Sisyphos work of making ITK available from Java. Maybe big G gives you a clue [*1*]. Hth, Dscho Footnote [*1*]: by "big G" I refer to Google, of course. |
Thanks Johannnes.
I've asked because i've never used JNI or JNA before and maybe somebody has already started this process. But in a few weeks i'll dedicate some time to try to make things work. I'm trying to convince the people of my lab to use IJ, but some of them uses the ITK. Best regards, Fernando On Tue, Jun 23, 2009 at 9:27 PM, Johannes Schindelin < [hidden email]> wrote: > Hi, > > On Tue, 23 Jun 2009, Fernando Sales wrote: > > > is there any simple way to call ITK routines from IJ? > > > No. > > ITK is written in C++, and you have to compile your program in order to > specialize the functions in ITK do your data type. > > Besides, ImageJ is written in Java, and you need to employ JNI (need for a > C++ compiler) or JNA (cannot use C++ templates) to call functions written > in C++ from ImageJ. > > Having said that, maybe somebody finished the Sisyphos work of making ITK > available from Java. Maybe big G gives you a clue [*1*]. > > Hth, > Dscho > > Footnote [*1*]: by "big G" I refer to Google, of course. > -- ************************************************** Fernando José Ribeiro Sales ************************************************** Email: [hidden email] Tel: (11) 82020303 ************************************************** |
In reply to this post by dscho
Hi Johannes & Fernando,
Having said that, maybe somebody finished the Sisyphos work of making ITK > available from Java. Maybe big G gives you a clue [*1*]. > There is a wrapper for ITK (Python and Java) called WrapITK that provides such availability. The author just announced the 0.3.0 release three days ago: 2009/6/26 Gaëtan Lehmann <[hidden email]> > We are pleased to announce the release of WrapITK 0.3.0. > > This release comes with many new features are described on > > http://code.google.com/p/wrapitk/wiki/Release030 > > You can download the sources from > > http://wrapitk.googlecode.com/files/wrapitk-0.3.0.tar.bz2 > > and the binary packages for Microsoft Windows, Mac OS X and debian/ubuntu > from > > http://code.google.com/p/wrapitk/wiki/WrapITKBinaries > > If you have any questions, please let us know. > > > -- > Gaëtan Lehmann > Biologie du Développement et de la Reproduction > INRA de Jouy-en-Josas (France) > tel: +33 1 34 65 29 66 fax: 01 34 65 29 09 > http://voxel.jouy.inra.fr http://www.itk.org > http://www.mandriva.org http://www.bepo.fr > > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.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 > In addition, my current work is to make Bio-Formats accessible to ITK on the C++ side. More ImageJ integration may come later; we'll see how things unfold. HTH, Curtis On Tue, Jun 23, 2009 at 7:27 PM, Johannes Schindelin < [hidden email]> wrote: > Hi, > > On Tue, 23 Jun 2009, Fernando Sales wrote: > > > is there any simple way to call ITK routines from IJ? > > > No. > > ITK is written in C++, and you have to compile your program in order to > specialize the functions in ITK do your data type. > > Besides, ImageJ is written in Java, and you need to employ JNI (need for a > C++ compiler) or JNA (cannot use C++ templates) to call functions written > in C++ from ImageJ. > > Having said that, maybe somebody finished the Sisyphos work of making ITK > available from Java. Maybe big G gives you a clue [*1*]. > > Hth, > Dscho > > Footnote [*1*]: by "big G" I refer to Google, of course. > |
Free forum by Nabble | Edit this page |