SIR,HOW CAN I ADD GAUSSIAN NOISE TO A VIDEO??I HAVE DIVIDED THE VIDEO INTO FRAMES BUT AFTER THAT I AM UNABLE TO PROCEED FURTHER.HOPE TO HEAR FROM YOU SOON.THANK YOU.

 Réponse acceptée

Chandra Kurniawan
Chandra Kurniawan le 23 Déc 2011

4 votes

Hello,
I just use video 'xylophone.mpg' from Matlab.
You can use your own video [any .avi, .mpg, etc] from your drive.
clear; clc;
obj = mmreader('xylophone.mpg');
video = read(obj);
nFrames = size(video,4);
for i = 1 : nFrames
I(:,:,:,i) = imnoise(video(:,:,:,i),'gaussian');
imshow(I(:,:,:,i));
drawnow;
end

2 commentaires

DHRUPAD
DHRUPAD le 23 Déc 2011
Thank You Sir for your guidance!!!
ANUPRIYA NALLUSAMY
ANUPRIYA NALLUSAMY le 24 Août 2015
How to add random noise in video?

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by