本文介绍了无法与FIJI“链接" SimpleITK :: Show()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在Ubuntu上运行.当调用SimpleITK的Show方法时,无法在FIJI(ImageJ2)窗口中查看此类图像.
I am running on Ubuntu. When calling the Show method of SimpleITK I am not being able to view such image in my FIJI ( ImageJ2) window.
鉴于FIJI是可移植的应用程序,是否有必要执行更多处理才能正确链接Show方法?
Given that FIJI is a portable application, is it necessary to perform some more process in order to properly link Show method with it?
预先感谢
推荐答案
SimpleITK需要外部图像查看器来显示图像(ImageJ,3DSlicer,ITK-Snap等).
SimpleITK requires an external image viewer to display images (ImageJ, 3DSlicer, ITK-Snap, etc).
ImageJ安装
- 转到 https://imagej.nih.gov/ij/download.html
- 请确保下载
bundled with 64-bit Java 1.8.0_112
版本
- Go to https://imagej.nih.gov/ij/download.html
- Make sure to download the
bundled with 64-bit Java 1.8.0_112
version
ImageJ设置
- 转到 https://imagej.nih.gov/ij/plugins/nifti .html
- 下载
nifti_io.jar
- 转到
C:\blah\blah\ImageJ\plugins\Input-Output
- 从文件夹中删除现有的
nifti_io.jar
文件 - 将下载的
nifti_io.jar
文件复制到文件夹中 - 重新启动ImageJ并检查
File -> Import -> NIfTI-Analyze
是否存在 - 如果已存在,则表明插件已成功安装
- Go to https://imagej.nih.gov/ij/plugins/nifti.html
- Download
nifti_io.jar
- Go to
C:\blah\blah\ImageJ\plugins\Input-Output
- Delete the existing
nifti_io.jar
file from the folder - Copy the downloaded
nifti_io.jar
file into the folder - Restart ImageJ and check if
File -> Import -> NIfTI-Analyze
is there - If it is there, the plugin was successfully installed
SimpleITK设置
- 找到您的
ImageJ.exe
文件所在的路径 - 打开
cmd
- 键入
setx SITK_SHOW_COMMAND "C:\blah\blah\ImageJ\ImageJ.exe"
- 您应该收到消息
SUCCESS: Specified value was saved
- Find the path where your
ImageJ.exe
file exists - Open
cmd
- Type in
setx SITK_SHOW_COMMAND "C:\blah\blah\ImageJ\ImageJ.exe"
- You should get the message
SUCCESS: Specified value was saved
检查是否一切正常
- 重新启动文本编辑器或IDE(如果已打开)
- 运行代码
这篇关于无法与FIJI“链接" SimpleITK :: Show()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!