Vision based navigation for autonomous planetary landing