A Real-Time Endoscope Motion Tracker