Active contour model based on force field analysis