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