Scene perception in object recognition and view-based navigation