Colleagues,
I have just installed Untilt Stacks, TransformJ, and ImageScience into my plugins folder. When I try to run the Untilt Stacks routine, the plugin requests the parameters, but then the program fails with the following error message: java.lang.NoSuchMethodError: imagescience.transform.Affine. run(Limagescience/image/Image;[[DIZZ)Limagescience/image/Image; at Untilt_Stack.affine_TJ(Untilt_Stack.java:177) at Untilt_Stack.run(Untilt_Stack.java:141) at ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:249) at ij.plugin.filter.PlugInFilterRunner.<init>(PlugInFilterRunner.java:102) at ij.IJ.runUserPlugIn(IJ.java:185) at ij.IJ.runPlugIn(IJ.java:150) I have already sent this to Julian Cooper, who wrote the plugin, but I thought I'd make the request more general. Any idea about whiat might be going on? I'm using ImageJ on a Win7 platform in the Users/jbs/imagej directory. Thank you very much. Joel -- Joel B. Sheffield, Ph.D Department of Biology Temple University Philadelphia, PA 19122 Voice: 215 204 8839 e-mail: [hidden email] URL: http://astro.temple.edu/~jbs |
Hi,
On Wed, 27 Apr 2011, JOEL B. SHEFFIELD wrote: > java.lang.NoSuchMethodError: imagescience.transform.Affine. > run(Limagescience/image/Image;[[DIZZ)Limagescience/image/Image; The current imagescience's Affine's run() method has the following signature: Image run(final Image image, final Transform transform, final int scheme, final boolean fit, final boolean antialias); while the Untilt plugin obviously expects: Image run(final Image image, final double[][] transform, final int scheme, final boolean fit, final boolean antialias); It is a classic version problem. If you have the sources, you might fix this by wrapping the transform array into a "new Transform(transform)" when passing it to the run() method. We do not have the Untilt plugin in Fiji, otherwise the maintainer would have taken care of fixing it. Ciao, Johannes |
Hi All,
Johannes is absolutely correct about the version problem. I've updated the Untilt Stack plugin to take account of this and sent the new source and class files to Wayne to update the website. Kind regards, Julian Julian Cooper Consultant Orthopaedic Trauma Surgeon Birmingham UK ImageJ 1.45f; Windows 7 Ultimate 64bit; 4GB RAM (3GB allocated to ImageJ); Intel Core i5 processor; Java 64 bit 1.6.0_20 -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Johannes Schindelin Sent: 27 April 2011 16:14 To: [hidden email] Subject: Re: Problem with "Untilt Stacks" plugin Hi, On Wed, 27 Apr 2011, JOEL B. SHEFFIELD wrote: > java.lang.NoSuchMethodError: imagescience.transform.Affine. > run(Limagescience/image/Image;[[DIZZ)Limagescience/image/Image; The current imagescience's Affine's run() method has the following signature: Image run(final Image image, final Transform transform, final int scheme, final boolean fit, final boolean antialias); while the Untilt plugin obviously expects: Image run(final Image image, final double[][] transform, final int scheme, final boolean fit, final boolean antialias); It is a classic version problem. If you have the sources, you might fix this by wrapping the transform array into a "new Transform(transform)" when passing it to the run() method. We do not have the Untilt plugin in Fiji, otherwise the maintainer would have taken care of fixing it. Ciao, Johannes |
Free forum by Nabble | Edit this page |