Working line detection in images.