Click here to Skip to main content
15,884,472 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted
Updated 19-Feb-16 12:00pm

 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 19-Feb-16 17:56pm    
You doubled the answer; will you remove redundant one?
—SA
Beginner Luck 19-Feb-16 18:06pm    
Sry is lag
Member 11768130 20-Feb-16 15:18pm    
Thanks a lot.
Member 13546961 4-Dec-17 19:03pm    
can you explain with some c# coding for to add noise to an image
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
 
Share this answer
 
v3
Comments
Member 11768130 20-Feb-16 12:44pm    
thank you vary much for your reply.
but please, tell me how can i add this library to visual basic.net to use the filters.
Sergey Alexandrovich Kryukov 20-Feb-16 14:08pm    
You are welcome. What do you mean "how"? Exactly as any other .NET library. Or you can add this library in the form of source code in your solution and add the reference to the project to your project, as it is always done. And then you can simply build the whole solution, all together, which I highly recommend.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900