An attention model and its application in man-made scene interpretation