[ImageJ-devel] Analyze Skeleton in jython
Harri Jäälinoja
harri.jaalinoja at helsinki.fi
Mon Sep 15 08:39:23 CDT 2014
Hi,
I would like to use the Analyze Skeleton plugin in a silent mode
(http://fiji.sc/AnalyzeSkeleton) in Jython, but I don't know how to
import the module.
Based on the jar-file contents...
dev at 192e0e6fb8a5:~/lmu-users/jaakko$ jar tvf
/Fiji.app/plugins/AnalyzeSkeleton_-2.0.0-SNAPSHOT.jar
0 Tue Apr 15 17:25:22 UTC 2014 META-INF/
519 Tue Apr 15 17:25:20 UTC 2014 META-INF/MANIFEST.MF
0 Tue Apr 15 17:25:20 UTC 2014 skeleton_analysis/
1936 Tue Apr 15 17:25:20 UTC 2014 skeleton_analysis/Edge.class
1111 Tue Apr 15 17:25:20 UTC 2014 skeleton_analysis/Point.class
... I have tried
import skeleton_analysis
... but I get the error
ImportError: No module named skeleton_analysis
JavaScript import works as advertised:
dev at 192e0e6fb8a5:~/lmu-users/jaakko$ cat test.js
importPackage(Packages.skeleton_analysis);
dev at 192e0e6fb8a5:~/lmu-users/jaakko$ /Fiji.app/ImageJ-linux64 test.js
dev at 192e0e6fb8a5:~/lmu-users/jaakko$
I have ImageJ 1.49g (Fiji).
Any ideas?
Thanks, best regards,
Harri
More information about the ImageJ-devel
mailing list