I work on image processing. I just saw the quick selection tool of photoshop and I was quite impressed to see that this tool was capable to segment images along real edges, most of the time.
I could imagine two or more ways of doing what that tool does:
starting with an edge detector (say Canny), with adapted parameters I would just get the connected region (maybe after some dilate, then compensating with some "open" operation on the segment).
Doing watershed algorithm with additional boundary constraints, virtually sth like surface tension.
But maybe Im wrong.
I plan to implement a similar segmentation algorithm, so I'm interested in an idea description (like my two guesses). Can you point me to the right direction?