I am trying to implement a program like intelligent scissors. The difference it will not follow the edges, but it will be tend to pass between two edges.
I found seam carving useful for this purpose. What I need to do is calculate the energy of an image and find seams on it. But I couldn't find how to implement it in the paper and couldn't find an implementation either. Can anybody recommend an easier source that I can understand and implement? or an implementation which I can try and see wheather it will work for my purpose or not?