如何为图像添加噪点? [英] How can i add noise to an image?

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

问题描述



请问,如何通过VB.net 2010代码为彩色图像添加盐和胡椒噪声。

我发现用Matlab编写的代码但我需要一个VB.net代码。

我想增加特定密度的噪音。



你能帮我吗?



问候。



我的尝试:



我找到了一个matlab代码,其中添加了一个特定密度的噪声。

解决方案

试试这个



Robson»白噪声发生器 [ ^ ]


我不知道你能做什么:-),但大多数开发人员当然可以。它还取决于需要什么样的噪音。一般来说,我强烈推荐的一种方法是着名的图书馆AForge.NET。请参阅: AForge.NET ::框架功能 - 噪音生成过滤器 [ ^ ]。



你会找到你所需要的一切。如果不是全部,您可以使用自己的噪声生成算法轻松添加自己的滤波器。



祝你好运。

-SA

Hi,
Please, how can I add salt and pepper noise to color image by VB.net 2010 code.
I found code written in Matlab but I need a VB.net code.
I want to add noise at specific density.

Can you help me please?

Regards.

What I have tried:

I found a matlab code in which a noise is added with a specific density.

解决方案

Try this

Robson » White Noise Generator[^]


I don't know what you can :-), but most developers certainly can. It also depends on what kind of noise is required. Generally, one way I would strongly recommend would be the famous library AForge.NET. Please see: AForge.NET :: Framework Features — Noise Generation filters[^].

You will find all you need. If not exactly all, you can pretty easily add your own filter with your own noise generating algorithm.

Good luck.
—SA


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

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