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…
Best Answer
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.
Speckle noise is a multiplicative noise, where the images is multiplied element by element by a matrix of uniformly distributed (not Gaussian) noise with 0 mean and some variance.
Gaussian noise (which has a different distribution than speckle noise) is usually used as additive noise, i.e. the noise matrix is added to the image matrix.
Best Answer