add color noise to an image?

Hi, i am trying to add color noise to an image but i dont know if there is a function in matlab to generate a color noise, because imnoise just add gaussian, salt & pepper and others. I hope you could help me. Thank you

3 commentaires

Sean de Wolski
Sean de Wolski le 11 Avr 2011
So you just want to add noise to one channel of your RGB image?
claudia
claudia le 13 Avr 2011
I have a grayscale image and i have to add color noise, but i dont know if there is a function to add color noise or how i can do it?
Walter Roberson
Walter Roberson le 13 Avr 2011
When you talk about "color noise" do you mean such as White Noise, or "Pink Noise" http://en.wikipedia.org/wiki/Pink_noise ?

Connectez-vous pour commenter.

Réponses (1)

Sean de Wolski
Sean de Wolski le 13 Avr 2011

0 votes

Irgb = repmat(I,[1 1 3]);
Irgb(:,:,2) = I(:,:,2)+(rand(size(I))-.5)*20 %add +- 10 green noise

Question posée :

le 11 Avr 2011

Community Treasure Hunt

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

Start Hunting!

Translated by