|
|
|
| 来源 |
The source code of plugin is in Evident_Viewer.jar. The source code of native library is not provided. |
该插件可以加载 EVIDENT vsi/oir/omp2info 文件格式并显示一些元数据。
新版本
修复了打开 Z 值不一致的 T 系列 VSI 文件失败的问题。
下载
下载适用于 Windows 和 Mac 的最新 EvidentViewer ImageJ 插件。
安装
如何使用
文件打开
1.菜单选择项Plugins › EvidentViewer › ShowInfo 2.选择一个文件。
显示元数据
1.菜单选择项Plugins › EvidentViewer › Viewer
拖放(ver2.1.1-)
1.菜单选择项Plugins › EvidentViewer › DragDrop › Use Virtual Stack 2.拖放图像文件。
大图像的虚拟堆栈模式(ver2.2.1-)
- 对于大图片,选择菜单项Plugins › EvidentViewer › DragDrop 2.拖放图像文件。
使用宏功能(ver2.3.1-)
- 启用宏录制功能。 2.菜单选择项Plugins › EvidentViewer › Viewer 3.选择图像文件。 4.可以看到宏命令已注册。
宏示例代码
使用 GUI 命令
-图片打开的例子:
run("Viewer", "open=D:/image/test/test.oir");
- 打开具有多个组或级别的图像的示例:
run("Viewer", "open=D:/image/test/test.vsi group1_level1");
-打开目录中图片的示例:
input = "D:/image/test/";
list = getFileList(input);
for (i = 0; i < list.length; i++){
path = input + list[i];
run("Viewer", "open=[path]");
}
- 批量处理示例: ```java setBatchMode(true);
input = “D:/image/test/”;
list = getFileList(input); for (i = 0; i < list.length; i++){ path = input + list[i]; run(“Viewer”, “open=[path]”); // process image e.g. “run(“Smooth”, “stack”);” saveAs(“Tiff”, “D:/image/test/out_” + i + “.tif”); }
### 使用编程接口
您可以通过使用*OVMacro*命令来使用Smashing接口。
-图片打开的例子:
```java
run("OVMacro");
Ext.openFile("D:/image/test/test.oir");
- 打开具有多个组或级别的图像的示例:
run("OVMacro"); Ext.openFile("D:/image/test/test.vsi", 1, 2); // Open Group 2, Level 3-打开目录中图片的示例:
run("OVMacro"); Ext.openFolder("D:/image/test"); // You can specify group and level like as openFile - 获取组数和级别的示例:
run("OVMacro"); path = "D:/image/test/test.vsi"; Ext.getGroupCount(path, groupNum); // Get total count of groups Ext.getLevelCount(path, groupNum-1, levelNum); // Get total count of levels Ext.openFile(path, groupNum-1, levelNum-1); // Open last level of the last group另请参阅
该插件使用 jai-imageio。