Motion Planning and Image Capturing for Robotic Inspection of a Curved Surface Subject to Imaging Constraints