A vision based system for object detection in underwater images