推 johnnyjaiu:恩~ 就是這個~ 感謝囉!! ^^ 07/29 23:33
※ 引述《johnnyjaiu (芭樂)》之銘言:
: 可以把圖片橫向壓縮,但不會把圖片壓"扁"的網站…
: 我記得是在一個blog中看到的 = =
: 圖片中有樹有車子有人,道路很長
: 圖片橫向縮小時,
: 可以把道路之間縮短,但樹和車子和人不會被"壓扁"變形
: 網站已經忘了在哪…
: 請教站上各位~ ><
我猜應該是這個
Seam Carving for Content-Aware Image Resizing
ftp://ftp1.idc.ac.il/Arik_shamir/SCweb/imret/index.html
這邊有一些程式網站可以參考
Seam carving for content aware image resizing: MATLAB
http://danluong.com/2007/12/21/seam-carving-matlab-implementation-tutorial/
liquid-resize
http://www.thegedanken.com/retarget/
CAIR - Content Aware Image Resizer
http://brain.recall.googlepages.com/cair
Seam Carving GUI
http://code.google.com/p/seam-carving-gui/
Seam Carving Demo
http://swieskowski.net/carve/
Fast content-aware image resizing
http://eigenclass.org/hiki/seam-carving-in-ocaml
題外話,今年作者有針對這項技術,做了一些延伸。
Improved Seam Carving for Video Retargeting
ftp://ftp1.idc.ac.il/Arik_shamir/SCweb/vidret/index.html
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 122.116.111.182