1. A method comprising: receiving an image for an active contour model, the active contour model including a first module and a second module, and the receiving the image being performed by a device; receiving an initial contour for the image and the active contour model, the receiving the initial contour being performed by the device; providing the image and the initial contour to the first module of the active contour model, the providing the image and the initial contour being performed by the device; executing a first speed function of the first module, based on the image and the initial contour, to generate a first speed function result, the executing the first speed function being performed by the device; providing the image and the first speed function result to the second module of the active contour model, the providing the image and the first speed function result being performed by the device; executing a numerical minimization method of the second module, based on the image and the first speed function result, to generate an intermediate contour, the executing the numerical minimization method being performed by the device; executing the first speed function or a second speed function of the first module, based on the image and the intermediate contour, to generate a second speed function result after executing the numerical minimization method to generate the intermediate contour; and providing a final contour for display after generating the second speed function result, the providing the final contour being performed by the device.