Hello Michael,
I have tried different things:
First: I installed Ubuntu 12_04 64 on Virtualbox with the new Plugins (3D Viewer, BoneJ). Also in this configuration nothing has changed. The SMI is different. (GUI/Macro)
Second: I installed the Oracle Java 7. The SMI is different. (GUI/Macro)
Third: I copied the Plugin Folder from Windows to Linux. The SMI is different. (GUI/Macro)
Forth: I installed FijI, but the effect is the same.
It is curious that the same Stack with the same Macro with the same Plugin gives different SMI Calculations on Windows and on Linux:
On Windows the SMI calculated within the GUI and in the Macro is the same.
On my Linux Machine (Virtualbox) the results are different.
Best regards
Ben
Hello Michael,
I think this is a problem with escaping the String in the macro.
The results of H&R and Skyscan are always the same in the macro.
But within the GUI they are not.
Regards
Ben
Hi Michael,
when I record the macro, then this is printed:
run("Structure Model Index", "smi=[Hildebrand & Rüegsegger] voxel=2 mesh=0.500");
When I start this macro within the GUI the result is the same as the result of the command (in this case 2,085)
If I write
this macro in a file test.txt and then I start imagej within the console like
this:
java -jar -Xmx4g /usr/share/java/ij.jar –macro test
then the result is not the same (it is 1,627) like the SMI Skyscan.
So my workaround is:
In a Script I call Imagej Macro Interpreter (Fiji)
When my macro test.txt is called by this (exec test.txt) then the calculated SMI is fine.
Best regards
Ben