Hello Sebastian,
try to use Rotator instead of ip.rotate().
http://rsbweb.nih.gov/ij/developer/source/ij/plugin/filter/Rotator.java.htmlBest Christian
-----------------------------------------------------------------
Christian Moll - Ingenieur de Recherche
[hidden email]
-----------------------------------------------------------------
CRP Henri Tudor -
http://santec.tudor.lu2A, rue Kalchesbrück
L-1852 Luxembourg
-----------------------------------------------------------------
From: Sebastian Böckmann <
[hidden email]>
To: <
[hidden email]>
Date: 02/25/2011 10:21 AM
Subject: IJ and macros/Java code
Sent by: ImageJ Interest Group <
[hidden email]>
Hello,
I've the following problem:
If I use the code
IJ.run(imp, "Rotate... ", "angle=45 grid=3 interpolation=Bilinear
enlarge");
... in my Java application, then the program does not show the rotated
image and the program seems to be crashed somehow. So I tried to rebuild
the code:
ip.setInterpolationMethod(ip.BILINEAR);
ip.rotate(45);
But how do I rebuild the "enlarge" parameter to show the image properly?
Best regards
Sebastian