版面规则
提问时请注意:尽量详细描述操作过程、AVS脚本内容等,最好能写出片名,只贴图有时无法看出问题原因。
提示:发布原创内容请尽量使用附件上传。使用网盘会出现过期失效的问题,请注意。
siro
帖子: 5
注册时间: 2011-06-05 16:10

有没有柔化线条的滤镜?

图片

别人压的,人物线条弄得很柔滑,看着舒服。


图片

自己压的,AVS如下:

LoadPlugin("D:\Program Files\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("G:\VTS_01_1.d2v", info=3)
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\TIVTC.dll")
tfm(order=-1).tdecimate(hybrid=1)
ConvertToRGB()
crop( 4, 0, -3, 0)
LanczosResize(848,480)

试过各种方法,都弄不出像上面的那种效果,于是就挂了简单的AVS。不知道有没有柔滑线条的滤镜,或者方案?


片源:http://183.60.157.8/down_group81/M00/08 ... le=abc.rar

求各种方案和滤镜~
头像
HaibaraAi
帖子: 44
注册时间: 2010-09-21 22:48

Re: 有没有柔化线条的滤镜?

就是做了个aa吧
比如
tfm.tdecimate.hqdering
spline36resize(848,480,4, 0, -3, 0)
lsharpaaf(shpre=0,drkstr=0,shpost=50)

如果要去除周围的东西可以先dehalo_alpha(darkstr=0.2)之类的
siro
帖子: 5
注册时间: 2011-06-05 16:10

Re: 有没有柔化线条的滤镜?

LSharpAAF.avsi 这个怎么加载?滤镜如下,总是弹出错误窗口,无法加载VariableBlur.dll。


LoadPlugin("D:\Program Files\MeGUI\tools\dgindex\DGDecode.dll")
DGDecode_mpeg2source("G:\VTS_01_1.d2v", info=3)
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\ColorMatrix.dll")
ColorMatrix(hints=true, threads=0)
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\TIVTC.dll")
tfm(order=-1).tdecimate(hybrid=1)
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\warpsharp.dll")
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\Removegrain.dll")
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\LSharpAAF\RemoveGrainSSE3.dll")
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\LSharpAAF\aWarpSharp2.dll")
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\LSharpAAF\EEDI2.dll")
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\LSharpAAF\MaskTools.dll")
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\LSharpAAF\mt_masktools-26.dll")
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\mvtools2.dll")
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\RemoveGrainS.dll")
LoadPlugin("D:\Program Files\MeGUI\tools\avisynth_plugin\VariableBlur040\VariableBlur.dll")
import("D:\Program Files\MeGUI\tools\avisynth_plugin\FastLineDarken.avsi")
import("D:\Program Files\MeGUI\tools\avisynth_plugin\LSharpAAF\LSFmod.v1.9.avsi")
import("D:\Program Files\MeGUI\tools\avisynth_plugin\LSharpAAF\LSharpAAF.avsi")
lsharpaaf()
LanczosResize(848,480)
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: 有没有柔化线条的滤镜?

variableblur需要fftw3,具体看里面的VariableBlur.txt里有写。

话说LZ用mt_masktools-26.dll,装的是2.6的avs么……
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
头像
-o-o-304-o-o-
超级版主
帖子: 640
注册时间: 2010-10-10 20:00
来自: US
联系: 网站

Re: 有没有柔化线条的滤镜?

小白弱弱的说:其实偷懒的话直接一个TAA()完事了(死

题外话,lz您在aa前最好还是先做下debanding
► 显示剧情透露 En Taro 06!Taro Pie NC Fanclub project始动!聊天用Q群开放中
► 显示剧情透露 胸中有万言,退敌无一策,是谓书生误国"
► 显示剧情透露 前辈们的信念
► 显示剧情透露 妇联招新广告,走过路过可以看看撒
► 显示剧情透露 香芋派,后期菊苣们的一致选择
► 显示剧情透露 众菊苣喜评香芋派
► 显示剧情透露 聊天用工具
siro
帖子: 5
注册时间: 2011-06-05 16:10

Re: 有没有柔化线条的滤镜?

Oh my God!fftw3到底是个什么东东?弄半天没弄懂怎么安装。
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: 有没有柔化线条的滤镜?

-o-o-304-o-o- 写了:小白弱弱的说:其实偷懒的话直接一个TAA()完事了(死

题外话,lz您在aa前最好还是先做下debanding
我倒是喜欢在aa之后再debanding
主要是因为aa过程不管是edi还是mask,算法本身受高频数据的影响都比较大,所以在aa之前dither/addgrain有可能会导致效果不满意……

顺便最近想改下taa的默认参数。当时写的时候拿了个强力aliasing测试的,现在看来大部分情况下默认参数都太强了……最近用的时候经常直接taa(aatype=1, preaa=0, postaa=false, sharp=0.1, mtype=0)这样的弱参数……
つまんねー事聞くなよ!

I, personally, for me, believe (obviously sometimes) that my OS choice is right. That's me. I'm not telling you that you should believe it. Learn the facts, and the origins behind the facts, and make up your own damn mind. That's why you have one. (source)

Follow me: @06_taro

304——
为纪念伟大的宇宙史上最强压制304先生,联合国教科文组织决定,将每年的第304天,即平年的10月31日或者闰年的10月30日,定为世界304日。
头像
upyzl
帖子: 446
注册时间: 2010-12-25 18:44
来自: 湘/京
联系: 网站

Re: 有没有柔化线条的滤镜?

siro 写了:Oh my God!fftw3到底是个什么东东?弄半天没弄懂怎么安装。
ftp://ftp.fftw.org/pub/fftw/fftw-3.2.2.pl1-dll32.zip
把libfftw3f-3.dll改名成fftw3.dll扔到c:\windows\system32目录下即可
头像
-o-o-304-o-o-
超级版主
帖子: 640
注册时间: 2010-10-10 20:00
来自: US
联系: 网站

Re: 有没有柔化线条的滤镜?

06_taro 写了:我倒是喜欢在aa之后再debanding
主要是因为aa过程不管是edi还是mask,算法本身受高频数据的影响都比较大,所以在aa之前dither/addgrain有可能会导致效果不满意……

顺便最近想改下taa的默认参数。当时写的时候拿了个强力aliasing测试的,现在看来大部分情况下默认参数都太强了……最近用的时候经常直接taa(aatype=1, preaa=0, postaa=false, sharp=0.1, mtype=0)这样的弱参数……
这样么,明白了,感谢taro大说明了
► 显示剧情透露 En Taro 06!Taro Pie NC Fanclub project始动!聊天用Q群开放中
► 显示剧情透露 胸中有万言,退敌无一策,是谓书生误国"
► 显示剧情透露 前辈们的信念
► 显示剧情透露 妇联招新广告,走过路过可以看看撒
► 显示剧情透露 香芋派,后期菊苣们的一致选择
► 显示剧情透露 众菊苣喜评香芋派
► 显示剧情透露 聊天用工具
siro
帖子: 5
注册时间: 2011-06-05 16:10

Re: 有没有柔化线条的滤镜?

搞定,感谢楼上各位,还真弄出一样的效果了,不过这压制速度不是一般的慢。还有二楼,drkstr这个不对吧,应该是StrDrk。

另外感觉片源比较干净,没必要debanding了吧?还是说是aa的负效果?要是还得debanding的话那压制一集二十几分钟的动漫都要我好几个小时。

回到 “AviSynth”