title: Seam carving energy calculation method and seam finding
body: <p>I am trying to implement a program like <a href="http://docs.gimp.org/en/gimp-tool-iscissors.html" rel="nofollow">intelligent scissors</a>. The difference it will not follow the edges, but it will be tend to pass between two edges.</p>
  
  <p>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 <a href="http://www.win.tue.nl/~wstahw/2IV00/seamcarving.pdf" rel="nofollow">the paper</a> 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?</p>