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

3 visualizaciones (últimos 30 días)
How I can use imnoise function to add Salt and Pepper noise to the image.

Respuestas (1)

Sumeet Singh
Sumeet Singh el 5 de Jul. de 2020
% 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