Active contour model to extract boundaries of teeth in dental X-ray images