Before defining **What is Edge Detection in Computer Vision? **Let’s first define what is a Digital Image? A Digital Image is the representation of a continuous image *f(x,y) *by a 2-D array of discrete samples. Wikipedia definition of a Digital Image HERE

Have you ever thought how the size of an image is calculated? The size of the image is calculated through a formula** Size = M*N*K*C**, Where M*N is Height and Width of the image K is power of gray levels and and C is color components. Suppose we have 256*256 image with 256 gray levels and it is a colored image then the Size = 256*256*8*3 = 1572864 = 1.572864 MB.

#### What is Edge Detection in Computer Vision

Now let’s come to the Edge in an image? So What basically is an Edge in an image and how can we detect the edge through computer vision? **An Edge is a location of rapid intensity variation. **They often mark boundaries of objects, occlusion contours, shadow boundaries or surface contours.

#### Finding Edges through Differentiation

We can find edges in the image finding Discrete Derivatives in 2D. If we find derivative with respect to x axis it will give vertical edges and if we find derivative with respect to y axis it will give us the horizontal edges.

There are 3 other methods through which we can find The edges in the image.

- Sobels
- Prewit
- Roberts

#### READ MORE

**Data Science** related posts visit **HERE**

**Algorithms **related posts visit **HERE**

**Data Structures **related posts visit **HERE**

**Databases** related posts Visit **HERE**

**Python-related** posts Visit **HERE**

**C++** related posts Visit **HERE**