Horizon detection based on sky-color and edge features