Automatic polyp detection from learned boundaries