github.com/explicite/carve

Go implementation of Seam Carving algorithm.


License
MIT
Install
go get github.com/explicite/carve

Documentation

carve

Go implementation of Seam Carving algorithm. Seam carving allows for an image to be resized without simply cropping or scaling the original image. Detailed walk through of the algorithm and code can be found on my website. Algorithm is also detailed on Wikipedia, the original paper.

Usage

resized := carve.ReduceHeight(img, 50)

Todo

  • Implement vertical seam carving
  • Improve performance by caching?