Apply a non defined noise to an image
9 views (last 30 days)
Show older comments
Hello!
I have a user defined function that lets us set some kinds of noise and I want to apply that noise to an image. How can I do this since the imfilter function only allows us to apply pre defined noises?
Thank you in advance
2 Comments
Image Analyst
on 30 Nov 2021
Edited: Image Analyst
on 30 Nov 2021
imfilter() does not apply noise. Maybe you got it confused with imnoise().
You're going to have to be more specific than that. For example is the noise independent of the signal and adds onto it? Or does the noise depend on the value of the signal? Give an example of some noise function that you might want to apply.
Answers (1)
yanqi liu
on 30 Nov 2021
yes,sir,may be define the noise matrix and add to image ,such as
x = imread('carmeraman.tif');
nx = double(x) + 18*randn(size(x));
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!