版面规则
提问时请注意:尽量详细描述操作过程、AVS脚本内容等,最好能写出片名,只贴图有时无法看出问题原因。
提示:发布原创内容请尽量使用附件上传。使用网盘会出现过期失效的问题,请注意。
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

GrainFactoryLite v1.1 - 16bit的Luma自适应噪点生成滤镜

其实是在考虑把LumaDB给16-bit化,所以就先把其中的GrainFactory3mod拿出来先16-bit化了……GrainFactory3mod就不用介绍了吧,根据Luma值自适应地加噪点,可以配合debanding滤镜,譬如只对暗场加噪等等。

内部处理精度是16-bit的,为了兼容性默认输入输出还是8-bit(输出时做16->8 dithering),实际上输入和输出都可以是16-bit的。控制参数和dither里大部分工具保持一致,用lsb和lsb_in。dither用的是DitherPost,具体参数请看dither内mode的解释。也可以用ditherC自定义其他dither函数。

和噪点有关的参数基本保持与GrainFactory3mod一致,g*const改成g*soft,大于等于100时为静态噪声,因此temp_avg也不需要了;还有g*tex这种个人估计没人会去用而且改成16bit又比较麻烦的东西直接去掉了。

Downlaod: GrainFactoryLite_v1.1-2.avsi / MediaFire-Mirror
► 显示剧情透露 用法举例:
► 显示剧情透露 所需外部插件
上次由 06_taro 在 2012-03-27 16:17,总共编辑 6 次。
つまんねー事聞くなよ!

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日。
头像
4h4h270
帖子: 163
注册时间: 2011-04-10 17:59

Re: GrainFactoryLight v1.0 - 16bit的Luma自适应噪点生成滤镜

支持taro大~又多了1个16bit滤镜
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: GrainFactoryLite v1.1 - 16bit的Luma自适应噪点生成滤镜

更新,支持chroma噪點,一些bugfix,一些亂七八糟記不得的東西……
つまんねー事聞くなよ!

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日。
头像
Holy
核心会员
核心会员
帖子: 235
注册时间: 2010-09-24 9:28

Re: GrainFactoryLite v1.1 - 16bit的Luma自适应噪点生成滤镜

趁著更新順便提一下ontop_soft的type把int寫成bool了。
图片
julseven9920
帖子: 42
注册时间: 2011-04-18 11:37

Re: GrainFactoryLite v1.1 - 16bit的Luma自适应噪点生成滤镜

01.JPG
不能跑 等待修正

謝taro大 寫這麼多好東西 辛苦了...
头像
Holy
核心会员
核心会员
帖子: 235
注册时间: 2010-09-24 9:28

Re: GrainFactoryLite v1.1 - 16bit的Luma自适应噪点生成滤镜

那錯誤跟ontop_soft沒關係的,主要是lut16_msb和lut16_lsb內沒有給y設默認值,前面在呼叫時都只有給u值和v值,y是未定義變量無法做運算而出錯。
图片
头像
06_taro
核心会员
核心会员
帖子: 998
注册时间: 2010-09-22 18:32
来自: United Kingdom
联系: 网站

Re: GrainFactoryLite v1.1 - 16bit的Luma自适应噪点生成滤镜

Fixed
つまんねー事聞くなよ!

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日。
Hoodlum
帖子: 8
注册时间: 2012-02-28 16:27

Re: GrainFactoryLite v1.1 - 16bit的Luma自适应噪点生成滤镜

So I have a problem: call of GrainFL() after resize to 1280x720 causes AVSP to throw random errors.
Resize to other resolutions such as 848x480 / 960x540/ 1440x810 doesn't seem to cause any problems.
Tested source resolutions were 720x480 (DVD) and 1920x1080 (BD).

代码: 全选

FFVideoSource("E:\DenpaTeki\OVA1.mkv")
GrainFL()
works just fine

代码: 全选

FFVideoSource("E:\DenpaTeki\OVA1.mkv")
SplineResize(1280,720)
GrainFL()
doesn't work. SetMemoryMax didn't help.
► 显示剧情透露 some of the errors:
Tested with:
- Dither package 1.14.1
- GrainFactoryLite v1.1-1
- Removegrain v.1.0 Pre and Beta as well.

回到 “AviSynth”