Active Contours Driven by Local and Global Image Fitting Energy