Gastrointestinal polyp detection in endoscopic images using an improved feature extraction method