【发布时间】:2013-12-04 09:08:00
【问题描述】:
我是第一次使用斐济,我需要将图像打开为 FloatType,所以我按照此处找到的示例进行操作 http://fiji.sc/wiki/index.php/ImgLib2_Examples#Example_1b_-_Opening_an_ImgLib2_image 但我收到此错误:
WARN: Ignoring non-Maven build directory: /home/utente/workspace/my_project/bin
Exception in thread "main" java.lang.IllegalArgumentException: No compatible service: io.scif.SCIFIOService
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:222)
at org.scijava.service.ServiceHelper.loadService(ServiceHelper.java:176)
at org.scijava.service.ServiceHelper.loadServices(ServiceHelper.java:153)
at org.scijava.Context.<init>(Context.java:200)
at org.scijava.Context.<init>(Context.java:127)
at org.scijava.Context.<init>(Context.java:116)
at io.scif.img.AbstractImgIOComponent.<init>(AbstractImgIOComponent.java:65)
at io.scif.img.ImgOpener.<init>(ImgOpener.java:99)
at SGP_db.StartingJFrame.getGn(StartingJFrame.java:216)
at Plugin.SGP_deblurring_boundary.main(SGP_deblurring_boundary.java:58)
不明白为什么我会收到这个错误,有什么想法吗?
谢谢,
萨拉
【问题讨论】:
-
您能否提供更多关于您的项目结构的详细信息?你在使用 Eclipse 吗?试图从斐济的脚本编辑器运行?使用不同的 IDE?还是从命令行运行?
-
我正在使用 Eclipse 来编写和运行我的程序。我可能在配置我的项目构建路径时犯了一些错误。无论如何我已经解决了从 imglib2.io 导入 ImgOpener 类的问题。
标签: image image-processing plugins bioinformatics imagej