HOW TO ADD NOISE TO AN AVI FILE?

how to add a noise such as speckle , salt and pepper noises to an AVI FILE (or any video as mp4 etc) if then please send me code for this matlab program...

 Accepted Answer

Wayne King
Wayne King on 22 Feb 2012
You can read the video frame by frame with a System object and use imnoise to add the noise.
This assumes that you have the Image Processing Toolbox and the DSP System Toolbox or Computer Vision Toolbox.

More Answers (1)

Walter Roberson
Walter Roberson on 22 Feb 2012
The VideoWriter documentation has an example of reading a movie file, doing some processing on it, and writing out the file as a new movie.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!