Re: CLAHE update, multi-channel support

Posted by dscho on
URL: http://imagej.273.s1.nabble.com/CLAHE-update-multi-channel-support-tp3687050p3687053.html

Hi,

On Thu, 2 Sep 2010, Stephan Saalfeld wrote:

> On Thu, 2010-09-02 at 09:28 +0100, Gabriel Landini wrote:
> > On Wednesday 01 September 2010  09:23:51 Stephan Saalfeld wrote:
> > > Dear friends of ImageJ/Fiji,
> > >
> > > we updated the CLAHE plugin
> > [...]
> > > or as a standalone jar for ImageJ's plugins folder
> > >
> > > http://fly.mpi-cbg.de/saalfeld/download/clahe_.jar
> >
> > Stephan, there seems to be something missing in the jar for ImageJ.
> > I get:
> >
> > java.lang.NoSuchMethodError: mpicbg.util.Util.memset([BB)V

This could be caused by an obsolete .jar in the classpath containing the
class "mpicbg.util.Util". You should be able to find out by opening a
new text window with File>New>Text Window, pasting this code:

-- snip --
importClass(Packages.ij.IJ);
print(IJ.getClassLoader().loadClass("mpicbg.util.Util").getResource("/mpicbg/util/Util.class"));
-- snap --

and running the Javascript with the Macros>Evaluate Javascript function.
The result (in the Log window) looks like this:

        jar:file:/some/where/mpicbg.jar!/mpicbg/util/Util.class

and the part between "jar:file:" and "!/mpicbg/util/Util.class" tells you
which .jar file's class was used.

Ciao,
Johannes