本文介绍了如何将ImageJ用作单独Java应用程序的库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在常规Java应用程序中,我有一个我想用ImageJ操作的BufferedImage。我有一个宏,这正是我需要执行的。我怀疑第一步是创建一个ImagePlus对象,但我不知道如何在Java中运行ImagePlus对象上的宏。 ImageJ教程的7.3节发现说:

In a regular Java application, I have a BufferedImage that I would like to manipulate with ImageJ. I have a macro that is exactly what I need to execute. I suspect that the first step is to make an ImagePlus object, but I am not sure how to then run a macro on the ImagePlus object from within Java. Section 7.3 of the ImageJ tutorial found here says:

但不表示如何操作。如果有人可以解释如何,或指向我的资源,我会非常感激。

But does not indicate how to do so. If someone could explain how, or point me towards a resource that does, I would very much appreciate it.

推荐答案

以下网站使用示例描述ImageJ API:编程基础

The following site describes ImageJ API with examples: http://albert.rierol.net/imagej_programming_tutorials.html#ImageJ programming basics

这些例子包括阅读图像,处理像素等等。我想你还需要使用很多。

The examples include reading images, processing pixels etc. Well, I guess you will also need to use the API documentation a lot.

这篇关于如何将ImageJ用作单独Java应用程序的库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-18 18:15