To diagnose cancer reliably, doctors usually conduct a biopsy including tissue analysis, which is a time-consuming process. A microscopic image sensor, fitted in an endoscope, is being developed for in vivo cancer diagnosis, to speed up the detection of tumors.