Finding lines in an image
Option 1:
Search for the line at every possible position/orientation
What is the cost of this operation?
Option 2:
Use a voting scheme:  Hough transform