Selecting optimal inspection trajectories for target observation