Detecting lines in Picasso's Guernica and making art of it.
- First pass the gray scale version of the image though a Sobel filter to detect all the edges.
- Standar Hugh transform of the detected edges. The color represents the count of points in the edges that have given rho (distance from the origin) and theta (angle of the line). The peaks of this map correspond to straight lines in the original image.
- After making it pretty and squaring the signature we get