High resolution optical endoscopes are increasingly used in diagnosis of various medical conditions of internal organs, such as the cervix and gastrointestinal (GI) tracts, but they are too expensive for use in resource-poor settings. On the other hand, smartphones with high resolution cameras and I