Navigation through terrain recognition for on-board radar systems