now draws ellipses and centers on contours