Login  Register

Can't Multithread on Third Party Plugins

Posted by Zwick, Ari A. on Mar 25, 2010; 11:22pm
URL: http://imagej.273.s1.nabble.com/Can-t-Multithread-on-Third-Party-Plugins-tp3688791.html

Hi,

I am trying to get multithreading to work with a number of plugins in
ImageJ, most important to me is Object Counter 3D.  When I try to use this
program on a 64 mb file that includes all objects of volume 16-61200000
voxels, I run into a processing time of about 6-8 hours.  I intend to scale
this up by a factor of 10, which means that unless I can use all 8 cores on
my computer instead of 1, then I'll be waiting for days.  I've noticed that
I cannot get third party plugins to use more than 1 core, but the native
ImageJ functions do use all 8 cores.

I have a Dell PowerEdge 1900 with dual xeon processors (1.6 ghz) with 16 gb
ddr2 ram.  I am using Redhat Linux Server Edition Version 5.4 64 bit.  I
have the latest versions of ImageJ 64 bit and Java installed, except Java3D,
which I am in the process of getting.  I've been trolling around on the
forums and I get the impression that many plugins are not written to utilize
multiple cores, although I am not sure if this is true.  If Object Counter
3d does not utilize multithreading, might anyone be able to suggest how to
modify the source code?  I am open to any and all solutions to my problem,
and I apologize if someone has already posted about this, but I really did
try to find a post about it before.  

Thanks in advance.