JNI 3d

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

JNI 3d

Thomas Boudier
Hi,

I would like to announce a plugin for 3D filtering done with JNI so it
is quite fast.
It can be downloaded at :
http://imagejdocu.tudor.lu/imagej-documentation-wiki/Members/tboudier/plonearticle.2008-02-15.5454604181

Thomas

--
/*****************************************************/
 Thomas Boudier, MCU Université Pierre et Marie Curie
 UMR 7101 / IFR 83. Bat A 328, Campus Jussieu
 Tél : 01 44 27 35 78  Fax : 01 44 27 25 08
/*****************************************************/


 
Reply | Threaded
Open this post in threaded view
|

Re: JNI 3d

dscho
Hi,

On Fri, 15 Feb 2008, Thomas Boudier wrote:

> I would like to announce a plugin for 3D filtering done with JNI so it is
> quite fast.

Note that JNI is not platform independent, and as such you lose all the
advantages of using Java.

Besides, a lot of tests showed that you _can_ program efficiently in Java,
even more so than in C.

Hth,
Dscho
Reply | Threaded
Open this post in threaded view
|

Re: JNI 3d

Burger Wilhelm
In reply to this post by Thomas Boudier
Thomas,

it would be interesting to know what "quite fast" means. Do you have any benchmark figures that compare the performance of your library against the pure Java implementation? I did some tests myself a few months ago to find out that the speed advantage of my JNI implementation was only around 20%.

Wilhelm


________________________________

Von: ImageJ Interest Group im Auftrag von Thomas Boudier
Gesendet: Fr 15.02.2008 19:44
An: [hidden email]
Betreff: JNI 3d



Hi,

I would like to announce a plugin for 3D filtering done with JNI so it
is quite fast.
It can be downloaded at :
http://imagejdocu.tudor.lu/imagej-documentation-wiki/Members/tboudier/plonearticle.2008-02-15.5454604181

Thomas

--
/*****************************************************/
 Thomas Boudier, MCU Université Pierre et Marie Curie
 UMR 7101 / IFR 83. Bat A 328, Campus Jussieu
 Tél : 01 44 27 35 78  Fax : 01 44 27 25 08
/*****************************************************/
Reply | Threaded
Open this post in threaded view
|

Re: JNI 3d

Thomas Boudier
Hi,

I agree with Wilhem and dscho, java can be quite fast also, my jni
plugin has two purposes : first to serve as a sample for people
interested in developing such programs, and second I mainly use it for
fast 3D morphological filtering such as tophat that need large
neighborhood (radius=7).  I do not have accurate benchmarks but my first
tests show that :
it is not suitable for 2D filtering, IJ is faster.
it may be suitable for 3D filtering since it is faster than my java 3D
filtering
it is highly suitable for 3D morphological filtering such as tophat (5 s
radius=7 on T1-head, on my  AMD64 3200)

Thomas


> Thomas,
>
> it would be interesting to know what "quite fast" means. Do you have any benchmark figures that compare the performance of your library against the pure Java implementation? I did some tests myself a few months ago to find out that the speed advantage of my JNI implementation was only around 20%.
>
> Wilhelm
>
>
> ________________________________
>
> Von: ImageJ Interest Group im Auftrag von Thomas Boudier
> Gesendet: Fr 15.02.2008 19:44
> An: [hidden email]
> Betreff: JNI 3d
>
>
>
> Hi,
>
> I would like to announce a plugin for 3D filtering done with JNI so it
> is quite fast.
> It can be downloaded at :
> http://imagejdocu.tudor.lu/imagej-documentation-wiki/Members/tboudier/plonearticle.2008-02-15.5454604181
>
> Thomas
>
> --
> /*****************************************************/
>  Thomas Boudier, MCU Université Pierre et Marie Curie
>  UMR 7101 / IFR 83. Bat A 328, Campus Jussieu
>  Tél : 01 44 27 35 78  Fax : 01 44 27 25 08
> /*****************************************************/
>
>
>  


--
/*****************************************************/
 Thomas Boudier, MCU Université Pierre et Marie Curie
 UMR 7101 / IFR 83. Bat A 328, Campus Jussieu
 Tél : 01 44 27 35 78  Fax : 01 44 27 25 08
/*****************************************************/