[請問]VapourSynth有辦法重複邊緣像素嗎?

看板AVEncode作者 (.......)時間7年前 (2017/05/02 15:33), 編輯推噓2(203)
留言5則, 3人參與, 最新討論串1/1
抱歉, 因為不知道這效果的名稱叫做什麼,只好這樣訂標題 原圖 http://i.imgur.com/hHMUImv.jpg
Avisynth腳本 a = "picture.jpg" video = LWLibavVideoSource(a,format="YUV420P8",threads=1) output = PointResize(video,900+200,1440+200,-100,-100,900+200,1440+200) return output http://i.imgur.com/3xXo30s.jpg
VapourSynth腳本 a = "picture.jpg" a = core.lsmas.LWLibavSource(a,format="yuv420p10") resize = core.resize.Point(a, width=900+200, height=1440+200, src_left=-100, src_top=-100, src_width=900+200, src_height=1440+200) resize.set_output() http://i.imgur.com/7IqcGQN.jpg
想要的效果是,Avisynth輸出那樣重複邊緣像素, 結果在VapourSynth卻是鏡像, 不知道VapourSynth有無辦法輸出重複邊緣像素的效果嗎? 或者針對多出來的部分模糊處理也可以, 反正就是要邊緣是模糊的。 在此先感謝各位大大了m(_ _)m -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 49.159.113.130 ※ 文章網址: https://www.ptt.cc/bbs/AVEncode/M.1493710387.A.3C6.html

05/03 12:56, , 1F
試試vs的mvtools吧XD core.mv.Super(pel=1,levels=1,h..
05/03 12:56, 1F

05/03 15:01, , 2F
怎麼跟我昨天的方法一樣XD
05/03 15:01, 2F

05/03 15:02, , 3F
想說有沒其他方法達成,減少點消耗
05/03 15:02, 3F

05/04 14:40, , 5F
感謝james大大,已解決。
05/04 14:40, 5F
文章代碼(AID): #1P23OpF6 (AVEncode)