Image Processing and Path Planning for Robotic Sketching