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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?