<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[FalconIA's BLOG]]></title> 
<link>http://falconia.org/blog/index.php</link> 
<description><![CDATA[FalconIA's Studio]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[FalconIA's BLOG]]></copyright>
<item>
<link>http://falconia.org/blog/post//</link>
<title><![CDATA[AVS Filter AAA()与LimitedSharpenFaster()的协作使用 以及对某些DVD质量的看法]]></title> 
<author>FalconIA &lt;falcon_ia@hotmail.com&gt;</author>
<category><![CDATA[压制相关]]></category>
<pubDate>Mon, 28 Aug 2006 02:53:40 +0000</pubDate> 
<guid>http://falconia.org/blog/post//</guid> 
<description>
<![CDATA[ 
	今日拿到SchoolRumbel2 DVD<br/>分析VOB发现其为 Hybrid FILM/NTSC... 且混杂程度很高，丝毫不下OTOHiME<br/>且出现奇怪的锯齿<br/><a href="http://falconia.org/blog/attachment/sr2-aliasing1.png" target="_blank"><img src="http://falconia.org/blog/attachment/sr2-aliasing1.png" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><a href="http://falconia.org/blog/attachment/sr2-aliasing2.png" target="_blank"><img src="http://falconia.org/blog/attachment/sr2-aliasing2.png" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/>两幅均为静止画面的锯齿，可排除是场处理错误（事实上经手动验证后确非场处理错误）<br/>这样的DVD是由VCD SimpleSize过来的吗...<br/><br/>无奈下只好使用AAA()，由于AAA()同时造成了画面的轻微柔化不得不携带Sharpen Filter，试验后LimitedSharpenFaster()的还原能力较好<br/>于是决定使用AAA().AAA().LimitedSharpenFaster()<br/><br/>以下为改动后去掉unfilter的AAA<br/><textarea name="code" class="c" rows="15" cols="124"># AAA - AnimeAntiAliasing
#
# Thanks @ Didée, mf, Akirasuto, SpikeSpiegel & ScharfisBrain...
#________________________________________________________________________________________
#
# Usage: AAA(Xres, Yres, Xshrp, Yshrp, Us, Ds, chroma)
#________________________________________________________________________________________
#
# Xres/Yres = The final resolution... InputSize = OutputSize is the default
#
# Xshrp/Yshrp = Unfilter strength... Settings of 15,15 are the defaults
#
# Us = Resizer for upsampling... 0 = PointResize (default) / 1 = Lanczos
#
# Ds = Resizer for downsampling... 0 = Bilinear (default) / 1 = Bicubic / 2 = Lanczos
#
# Chroma = Enable/disable chroma antialiasing... Disable = false (default) / enable = true
#________________________________________________________________________________________
#
# Example...
#
# Import("C:&#92;Programme&#92;AviSynth 2.5&#92;plugins&#92;AAA.avs")
#
# AAA(720,576,20,20,1,2,chroma=false)
#________________________________________________________________________________________



LoadPlugin("E:&#92;WORK&#92;Encoder&#92;AviSynthPlugins&#92;masktools.dll")
LoadPlugin("E:&#92;WORK&#92;Encoder&#92;AviSynthPlugins&#92;SangNom.dll")

function AAA(clip clp, int "Xres", int "Yres", int "Xshrp", int "Yshrp", 
 &#92; &nbsp; &nbsp; &nbsp; int "US", int "DS", bool "chroma")
 &nbsp; &nbsp; &nbsp; &nbsp; &#123;
 &nbsp; &nbsp; &nbsp; &nbsp; clp = clp.isYV12() ? clp : clp.ConvertToYV12()
 &nbsp; &nbsp; &nbsp; &nbsp; #clp = clp.ConvertToYV12()
 &nbsp; &nbsp; &nbsp; &nbsp; ox = clp.width
 &nbsp; &nbsp; &nbsp; &nbsp; oy = clp.height
 &nbsp; &nbsp; &nbsp; &nbsp; Xres &nbsp;= default(Xres, &nbsp;ox)
 &nbsp; &nbsp; &nbsp; &nbsp; Yres &nbsp;= default(Yres, &nbsp;oy)
 &nbsp; &nbsp; &nbsp; &nbsp; us &nbsp;= default(us, 1)
 &nbsp; &nbsp; &nbsp; &nbsp; ds = default(ds, 2)
 &nbsp; &nbsp; &nbsp; &nbsp; Xshrp = default(Xshrp, 15)
 &nbsp; &nbsp; &nbsp; &nbsp; Yshrp = default(Yshrp, 15)
 &nbsp; &nbsp; &nbsp; &nbsp; chroma = default(chroma, false)
 &nbsp; &nbsp; &nbsp; &nbsp; 
 &nbsp; &nbsp; &nbsp; &nbsp; us==0 ? clp.PointResize(ox*2,oy*2) : clp.LanczosResize(ox*2,oy*2)

 &nbsp; &nbsp; &nbsp; &nbsp; TurnLeft()
 &nbsp; &nbsp; &nbsp; &nbsp; SangNom()

 &nbsp; &nbsp; &nbsp; &nbsp; TurnRight()
 &nbsp; &nbsp; &nbsp; &nbsp; SangNom()

 &nbsp; &nbsp; &nbsp; &nbsp; ds==0 ? BilinearResize(Xres,Yres) : 
 &#92; &nbsp; &nbsp; &nbsp; ds==1 ? BicubicResize(Xres,Yres) : 
 &#92; &nbsp; &nbsp; &nbsp; LanczosResize(Xres,Yres)

 &nbsp; &nbsp; &nbsp; &nbsp; #Unfilter(Xshrp,Yshrp)

 &nbsp; &nbsp; &nbsp; &nbsp; chroma ? MergeChroma(clp.Lanczosresize(Xres,Yres)) : last

 &nbsp; &nbsp; &nbsp; &nbsp; &#125;</textarea><br/><br/>处理后如下：<br/><a href="http://falconia.org/blog/attachment/sr2-antialiasing2.png" target="_blank"><img src="http://falconia.org/blog/attachment/sr2-antialiasing2.png" class="insertimage" alt="点击在新窗口中浏览此图片" title="点击在新窗口中浏览此图片" border="0"/></a><br/><br/>可恶的是片中锯齿比比皆是...使人很难有耐心一段段找出来...<br/>其直接结果就是从9fps狂跌到3fps 不过比起TMPEGEnc降噪貌似还是稍微快点<br/><br/><textarea name="code" class="c" rows="15" cols="124">
mpeg2source("F:&#92;Compress&#92;SchoolRumbel2&#92;SR2_1.d2v",info=3)
#edeintted = SeparateFields().SelectEven().EEDI2(field=-1)
#tdeintted = TDeint(edeint=edeintted)
tfm().tdecimate(mode=1,hybrid=1)
ColorMatrix(d2v="F:&#92;Compress&#92;SchoolRumbel2&#92;SR2_1.d2v")
crop( 10, 0, -10, -2)

LanczosResize(640,480) # Lanczos (Sharp)
Undot() # Minimal Noise

trim(0,7211)+trim(7212,7216).Blur(1.58).Blur(1.58)+trim(7217,0)
AAA().AAA().LimitedSharpenFaster()
</textarea><br/><br/><hr/><br/><br/>通常说Hybrid FILM/NTSC一般会出现在手绘与CG结合片子里<br/>近期碰到几部片子却几乎全手绘的片子里，很是奇怪<br/>经观察后猜测，DVD很像是先进行了interlace处理然后再进行剪辑作业<br/>此编辑顺序真是不让人苟同...<br/>且不说deinterlace会怎样，有时在TV上都能感到些微的异样...<br/>更不说像SR2一样的静态大锯齿...更是显而易见...<br/>使人联想到D商的VCD2DVD...<br/>以上纯粹个人猜想，如有错误，请不吝赐教<br/>那么就以“......”作为结束语吧 orz<br/><br/><strong>转载请注明版权为FalconIA所有</strong><br/>Tags - <a href="http://falconia.org/blog/tags/%25E5%258E%258B%25E5%2588%25B6/" rel="tag">压制</a> , <a href="http://falconia.org/blog/tags/%25E5%2589%258D%25E6%259C%259F%25E5%25A4%2584%25E7%2590%2586/" rel="tag">前期处理</a> , <a href="http://falconia.org/blog/tags/avs/" rel="tag">avs</a>
]]>
</description>
</item><item>
<link>http://falconia.org/blog/post//#blogcomment</link>
<title><![CDATA[[评论] AVS Filter AAA()与LimitedSharpenFaster()的协作使用 以及对某些DVD质量的看法]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://falconia.org/blog/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>