How to apply Edge filter? #29
-
Discuss algorithm on how to apply |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
The edge detection filters can be used to emphasize the edges and transitions in an image. Edge filters separate spectrum of light into two components . (i think😯 ) |
Beta Was this translation helpful? Give feedback.
-
To Implementing Edge filter on a Image: Algorithm : Sobel Edge detection Algo
For Each Pixel
|
Beta Was this translation helpful? Give feedback.
-
Pseudocode for Edge Filter
|
Beta Was this translation helpful? Give feedback.
To Implementing Edge filter on a Image:
We have to take each pixel and modifying it based on the
3 x 3
grid of pixels that surrounds that pixel.Algorithm : Sobel Edge detection Algo
Sobel Operator
formula ,It computes the new value of each pixel by taking weighted sum of the values for the surrounding pixels.3x3
square around that pixel , to compute a new value for that same pixel , by multiplying each of the surrounding pixels by different value. ( Values are shown in the below picture).Gx
matrix andGy
matrixGx
will l…