Impact-Site-Verification: dbe48ff9-4514-40fe-8cc0-70131430799e

Search This Blog

Noise Reduction in Canny Edge Detection with code

Since the mathematics involved behind the Edge Detection techniques are mainly based on derivatives ( Gradient calculation), edge detection results are highly sensitive to image noise.
One way to get rid of the noise on the image is by applying Gaussian blur to smooth it.
In this video, I have discussed--- how to reduce the effect of noise.

Code:

clc

clear all

close all

warning off

x=imread('12.png');

imshow(x);

x=rgb2gray(x);

w=edge(x,'canny');

figure;

imshow(w);

w=edge(x,'canny',[],10);

figure;

imshow(w);

w=edge(x,'canny',[],30);

figure;

imshow(w);

 


Join us on Telegram: https://t.me/matlabcastor

No comments

Popular Posts

Followers