Automatic assessment of informative frames in endoscopic video