An endoscopic system for ESPI