edge detection이란? : note : edge가 발생하는 요인은 다양하다.type of discrete derivative in 1D :




Effects of noise :
smoothing :
아니면, gaussian kernel(=h)를 미분해서 f와 convolution해도 동일한 결과.

trade-off between smoothing, at different scales
가 커질수록 blur해진다.

Sobel operator = DoG를 근사하기 위한 filter.


Sobel filter는 Gaussian filter(DoG)와 미분 filter를 모두 사용하기 때문에
Gaussian이 noise를 없애주는 역할을 해주고, 미분 filter가 edge를 찾아주는 역할을 해주기 때문에
noise 사진의 edge를 잘 찾음.
하지만 여전히 blur함.
단점 : blur하기 때문에 명확한 edge를 찾기 힘듦. = ramp 구간에서 edge를 정하기 힘듦.
➡️ threshold 설정, Canny edge detector
Canny edge detector steps : 


with two thresholds(T, t)
strong edge : R > T
weak edge : R > t and R < T
no edge : R < t ➡️ remove

Canny Edge Detector도 마찬가지로 DoG를 쓰기 때문에
Gaussian Distribution의 가 크다면, 큰 edge들을 detect(weak egde들은 제거됨).