Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
How I can use imnoise function to add Salt and Pepper noise to the image.

Antworten (1)

Sumeet Singh
Sumeet Singh am 5 Jul. 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