Clear Filters
Clear Filters

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

1 view (last 30 days)
How I can use imnoise function to add Salt and Pepper noise to the image.

Answers (1)

Sumeet Singh
Sumeet Singh on 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!