Vision-based localization of an underwater robot in a structured environment