A novel plant cell division algorithm based on ellipse/ellipsoid fitting