Concept

Math Behind Boundary (Edge) Detection Using Convolution Operation

Image gradient is a value that describes changes in images. It defines as follows: I=(Ix,Iy)\nabla I =(\frac{\partial I}{\partial x},\frac{\partial I}{\partial y}) It can be approximated by discrete derivatives: d0=[1,1],fd0=f[n]f[n1]d_0 = [1, -1], f \circ d_0 = f[n] - f[n-1] d1=[1,0,1]/2,fd1=f[n+1]f[n1]2d_1 = [1, 0, -1]/2, f \circ d_1 =\frac{f[n+1] - f[n-1]}{2} In practice, we can use a filter such as [1,1][1, -1], [1,0,1][1, 0 ,-1], [1,1]T[1, -1]^T and convolute it with our image.

Image 0

0

1

Updated 2021-04-09

Tags

Data Science