Develop an algorithm to detect and localize edges based on computed magnitude in part b. Use threshold to be equal to 120

1 次查看(过去 30 天)
How I can use imnoise function to add Salt and Pepper noise to the image.

回答(1 个)

Sumeet Singh
Sumeet Singh 2020-7-5
% I -> image, nd -> noise density
J = imnoise(I,'salt & pepper',nd);
Refer imnoise documentation for more information.

Community Treasure Hunt

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

Start Hunting!

Translated by