
You took an image of a someone and want to extract his outline.
You decide to do it by calculating the image’s gradient map and using its magnitude component to highlight the edges.
The Gradient Map

“What’s with ALL that noise, REMOVE it.”
You panicked after seeing that much noise and decided to threshold the map with a very high threshold.
The Thresholded Map
This was the result,

Most of the edge points were removed, even ones belonging to the outline you’re after.
But it’s okay
How so?
Remember the phase feature map you computed alongside the magnitude? this shows the direction the edge is generally moving in
You can use it to bring back the outline points that got lost.
… now the outline becomes,

How it’s done
…
Related Notes
| Thumbnail | Note |
|---|