Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

How do I add noise to a color image without using imnoise function?

Asked by ARUN SAI

ARUN SAI (view profile)

on 17 Apr 2013

is it possible to create noise in a color image without using imnoise function?

ARUN SAI

ARUN SAI (view profile)

Tags

1 Answer

Answer by Image Analyst

Image Analyst (view profile)

on 17 Apr 2013

Yes, you could use rand(), or just write any nonsense into the image that is not the image, such as

if yourImage(row, column) ~= 42
  yourImage(row, column) = 42; % I just created noise!
end

0 Comments

Image Analyst

Image Analyst (view profile)

Contact us