I am doing research on the active contour (snake) using gradient decent which was implemented by Kass. The two pieces of documentation that I have been reading can be found here: Original paper and A more descriptive version
My question is in regards to gradient decent. How does the algorithm determine when an edge is met and should stop trying to minimize at that point? What is preventing the snake from continuing to minimize?
Any thoughts or answers will be very much appreciated! Thanks