fixed the function for ellipse feature point elimination