CLAHE update, multi-channel support

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

CLAHE update, multi-channel support

Stephan Saalfeld
Dear friends of ImageJ/Fiji,

we updated the CLAHE plugin

http://pacific.mpi-cbg.de/wiki/index.php/CLAHE

It now supports CompositeImages / multi-channel images and, thus, can be
used for local contrast compression of HDR images with 16-bit or 32-bit
color channels.

Check the updated manual at the Fiji Wiki as linked above.

We also fixed a bug with handling ROIs in the accurate (slow) version,
check the respective commit in the repository

http://pacific.mpi-cbg.de/cgi-bin/gitweb.cgi?p=mpicbg.git;a=commit;h=eddb493fdb6d6c42f97f2a344014fd1da5e4d22c


The update is available through the Fiji-Updater

http://pacific.mpi-cbg.de/wiki/index.php/Update_Fiji

or as a standalone jar for ImageJ's plugins folder

http://fly.mpi-cbg.de/saalfeld/download/clahe_.jar

Best regards,
Stephan
Reply | Threaded
Open this post in threaded view
|

Re: CLAHE update, multi-channel support

Gabriel Landini
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
at mpicbg.ij.clahe.Apply.<init>(Apply.java:70)
at mpicbg.ij.clahe.FastByteApply.<init>(FastByteApply.java:41)
at mpicbg.ij.clahe.Flat.run(Flat.java:246)
at mpicbg.ij.clahe.Flat.run(Flat.java:112)
at mpicbg.ij.clahe.PlugIn.run(PlugIn.java:154)
at mpicbg.ij.clahe.PlugIn.run(PlugIn.java:140)
at ij.IJ.runUserPlugIn(IJ.java:183)
at ij.IJ.runPlugIn(IJ.java:150)
at ij.Executer.runCommand(Executer.java:124)
at ij.Executer.run(Executer.java:61)
at java.lang.Thread.run(Thread.java:619)
Reply | Threaded
Open this post in threaded view
|

Re: CLAHE update, multi-channel support

Stephan Saalfeld
Hi Gabriel,

thanks for the report, but I cannot see how this should be happening.
The questionable class is in the jar and the method exists.  I tested
loacally with a fresh ImageJ installation under various conditions.
Remember, you found that this class was missing in the initial release,
but I've fixed this immediately after your report.  Could you please
check if you really have the new version installed?

Best,
Stephan


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
> at mpicbg.ij.clahe.Apply.<init>(Apply.java:70)
> at mpicbg.ij.clahe.FastByteApply.<init>(FastByteApply.java:41)
> at mpicbg.ij.clahe.Flat.run(Flat.java:246)
> at mpicbg.ij.clahe.Flat.run(Flat.java:112)
> at mpicbg.ij.clahe.PlugIn.run(PlugIn.java:154)
> at mpicbg.ij.clahe.PlugIn.run(PlugIn.java:140)
> at ij.IJ.runUserPlugIn(IJ.java:183)
> at ij.IJ.runPlugIn(IJ.java:150)
> at ij.Executer.runCommand(Executer.java:124)
> at ij.Executer.run(Executer.java:61)
> at java.lang.Thread.run(Thread.java:619)
Reply | Threaded
Open this post in threaded view
|

Re: CLAHE update, multi-channel support

dscho
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
Reply | Threaded
Open this post in threaded view
|

Re: CLAHE update, multi-channel support

Gabriel Landini
On Thursday 02 September 2010  14:51:57 Johannes Schindelin wrote:
> > > 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".

Yes, it was an old mpicbg_.jar that I had. Sorry for the false alarm.
Cheers

Gabriel