Fast recognition of lines in digital images without user-supplied parameters