carve

Go implementation of Seam Carving algorithm.

Github星跟踪图

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.

Installation

$ go get https://github.com/aaparella/carve

Usage

resized, err := carve.ReduceHeight(img, 50)
if err != nil {
    log.Fatal(err)
}

Todo

  • Improve performance
    • Reduce heap allocations
    • Caching?

主要指标

概览
名称与所有者aaparella/carve
主编程语言Go
编程语言Go (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2016-06-28 23:17:49
推送于2017-03-26 00:07:20
最后一次提交2017-03-25 17:07:25
发布数0
用户参与
星数289
关注者数9
派生数20
提交数18
已启用问题?
问题数2
打开的问题数0
拉请求数1
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?