如何添加粮食使用ImageJ的API图像 [英] How do I add grain to an image using the ImageJ API

查看:192
本文介绍了如何添加粮食使用ImageJ的API图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的ImageJ和我要求的添加谷物(这里定义的:的 http://en.wikipedia.org/wiki/Film_grain ),以使用ImageJ的编程API的图像。

I am new to ImageJ and I am seeking to add grain (as defined here: http://en.wikipedia.org/wiki/Film_grain) to an image using the programmatic API of ImageJ.


  • 这可能吗?如果是的话怎么样?

  • 哪里是有关文件/ Javadoc中有关添加谷物
    要使用ImageJ?
  • 图像

推荐答案

我开始处理>噪声,在描述的 ImageJ的用户指南:§29.6噪音。你必须决定是否可制成现有的实现,以满足您的要求。

I'd start in Process > Noise, described in ImageJ User Guide: §29.6 Noise. You'll have to decide if the existing implementations can be made to meet your requirements.

我在哪里可以找到关于如何实现这一目标用实际的API,而不是UI文件

ImageJ的宏语言,一个简单的办法是启动插件>宏>记录然后操作所需的图形用户界面的命令。这揭示了宏命令名称和任何设置,例如:

As discussed in ImageJ Macro Language, one easy way is to start Plugin > Macros > Record and then operate the desired GUI command. This reveals the macro command name and any settings, for example:

run("Add Noise");
run("Add Specified Noise...", "standard=16");

您可以使用 -batch 命令行选项适用于这样一个宏多个文件。

You can apply such a macro to multiple files using the -batch command line option.

如果您想直接从Java中使用此功能,请参见 ImageJ的编程教程

If you want to use a feature directly from Java, see ImageJ programming tutorials.

这篇关于如何添加粮食使用ImageJ的API图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆