Development and validation of an automatic device proposed for the endoscopic diagnosis of Helicobacter pylori infection and atrophic gastritis.