1

这是代码的链接:http ://rsbweb.nih.gov/ij/plugins/download/Hough_Circles.java

我已经导入了 ImageJ 但我似乎无法让代码运行。

4

1 回答 1

2

Hough_Circles.java is an ImageJ plugin that needs to be run from within ImageJ.

I recommend reading about ImageJ plugins in the ImageJ User Guide. From within ImageJ, you can compile and run the plugin by choosing Plugins > Compile and Run... from the menu.

If you want to run the code without a GUI, I suggest using the Fiji distribution of ImageJ, because it allows to run the code in headless mode (see here). In Fiji, there's also a very useful Script Editor that allows development of Java plugins as well as scripts in many scripting languages.

于 2013-02-19T17:05:14.377 回答