Re: Problem with "Untilt Stacks" plugin
Posted by dscho on Apr 27, 2011; 3:13pm
URL: http://imagej.273.s1.nabble.com/Problem-with-Untilt-Stacks-plugin-tp3684792p3684793.html
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