Text this: Two dimensional active contour model on multigrids for edge detection of images