add color noise to an image?
Show older comments
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
Sean de Wolski
on 11 Apr 2011
So you just want to add noise to one channel of your RGB image?
claudia
on 13 Apr 2011
Walter Roberson
on 13 Apr 2011
When you talk about "color noise" do you mean such as White Noise, or "Pink Noise" http://en.wikipedia.org/wiki/Pink_noise ?
Answers (1)
Sean de Wolski
on 13 Apr 2011
Irgb = repmat(I,[1 1 3]);
Irgb(:,:,2) = I(:,:,2)+(rand(size(I))-.5)*20 %add +- 10 green noise
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!