本文介绍了无法与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安装

  1. 转到 https://imagej.nih.gov/ij/download.html
  2. 请确保下载bundled with 64-bit Java 1.8.0_112版本
  1. Go to https://imagej.nih.gov/ij/download.html
  2. Make sure to download the bundled with 64-bit Java 1.8.0_112 version


ImageJ设置

  1. 转到 https://imagej.nih.gov/ij/plugins/nifti .html
  2. 下载nifti_io.jar
  3. 转到C:\blah\blah\ImageJ\plugins\Input-Output
  4. 从文件夹中删除现有的nifti_io.jar文件
  5. 将下载的nifti_io.jar文件复制到文件夹中
  6. 重新启动ImageJ并检查File -> Import -> NIfTI-Analyze是否存在
  7. 如果已存在,则表明插件已成功安装
  1. Go to https://imagej.nih.gov/ij/plugins/nifti.html
  2. Download nifti_io.jar
  3. Go to C:\blah\blah\ImageJ\plugins\Input-Output
  4. Delete the existing nifti_io.jar file from the folder
  5. Copy the downloaded nifti_io.jar file into the folder
  6. Restart ImageJ and check if File -> Import -> NIfTI-Analyze is there
  7. If it is there, the plugin was successfully installed


SimpleITK设置

  1. 找到您的ImageJ.exe文件所在的路径
  2. 打开cmd
  3. 键入setx SITK_SHOW_COMMAND "C:\blah\blah\ImageJ\ImageJ.exe"
  4. 您应该收到消息SUCCESS: Specified value was saved
  1. Find the path where your ImageJ.exe file exists
  2. Open cmd
  3. Type in setx SITK_SHOW_COMMAND "C:\blah\blah\ImageJ\ImageJ.exe"
  4. You should get the message SUCCESS: Specified value was saved


检查是否一切正常

  1. 重新启动文本编辑器或IDE(如果已打开)
  2. 运行代码

这篇关于无法与FIJI“链接" SimpleITK :: Show()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 00:34