3D medical image segmentation based on active contour model