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 Comments

So you just want to add noise to one channel of your RGB image?
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?
When you talk about "color noise" do you mean such as White Noise, or "Pink Noise" http://en.wikipedia.org/wiki/Pink_noise ?

Sign in to comment.

Answers (1)

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

Asked:

on 11 Apr 2011

Community Treasure Hunt

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

Start Hunting!