blogtng:2010-06-17:imaris_-_java
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blogtng:2010-06-17:imaris_-_java [2010/06/17 22:50] – java doc link for Jacob added kota | blogtng:2010-06-17:imaris_-_java [2020/11/26 09:11] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ~~NOTOC~~ | ||
===== Imaris - Java ===== | ===== Imaris - Java ===== | ||
+ | |||
+ | Here is some notes on accessing Imaris contents from Java. Since this example uses COM interface via jacob.dll, platform is limited to windows. | ||
==== Setup ==== | ==== Setup ==== | ||
Line 5: | Line 8: | ||
There is a breif description in | There is a breif description in | ||
http:// | http:// | ||
- | <quote> | + | <blockquote> |
In order to run the JACOB demo, the Java COM Bridge needs to be installed (put the jacob.dll into /bin and the jacob.jar into /lib/ext). The demo does similar things like the demos above: Start Imaris, load a Dataset, perform some action with the image, and terminate Imaris. Many thanks for providing the source code to Volker Bäcker, Monpellier RIO Imaging. | In order to run the JACOB demo, the Java COM Bridge needs to be installed (put the jacob.dll into /bin and the jacob.jar into /lib/ext). The demo does similar things like the demos above: Start Imaris, load a Dataset, perform some action with the image, and terminate Imaris. Many thanks for providing the source code to Volker Bäcker, Monpellier RIO Imaging. | ||
- | </quote> | + | </blockquote> |
So accessing Imaris from Java requires Jacob pakage (Java - COM Bridge, http:// | So accessing Imaris from Java requires Jacob pakage (Java - COM Bridge, http:// | ||
- | <quote> | + | <blockquote> |
Jacob.jar relies on a DLL file that it loads off of the library path or classpath. This means that you must either copy the appropriate jacob ddll into your path or use VM options to add directory holding jacob dll to the path. Prior to 1.14M6, the jacob DLL name was alwasy " | Jacob.jar relies on a DLL file that it loads off of the library path or classpath. This means that you must either copy the appropriate jacob ddll into your path or use VM options to add directory holding jacob dll to the path. Prior to 1.14M6, the jacob DLL name was alwasy " | ||
jacob< | jacob< | ||
- | </quote> | + | </blockquote> |
There actually are following two .dll files in the package. | There actually are following two .dll files in the package. | ||
Line 62: | Line 65: | ||
</ | </ | ||
- | imarisapplication is an instance of ActiveXComponent constructed above. " | + | imarisapplication is an instance of ActiveXComponent constructed above. |
+ | |||
+ | http:// | ||
+ | |||
+ | " | ||
http:// | http:// | ||
blogtng/2010-06-17/imaris_-_java.1276815018.txt.gz · Last modified: 2016/05/24 12:46 (external edit)