Statistics for Vision-based integrated navigation system and optimal allocation in formation flying