搜索 社区服务 统计排行 帮助
  • 1287阅读
  • 10回复

[求助]关于动画画质调整的问题

楼层直达
级别: 新手上路
注册时间:
2005-03-31
在线时间:
0小时
发帖:
43
在AVS中,有哪些插件可以调整动画的亮度、对比度、饱和度等

还有关于亮度、对比度等的调整有没有一些推荐设置,比如参数之类的。
或者有什么建议,请各位大大指教

例如:这部动画里的人物线条显得有些粗,亮度和饱和度有些低,该如何调整,参数怎样设置最佳?
级别: 版主
注册时间:
2002-12-02
在线时间:
0小时
发帖:
3002
只看该作者 1楼 发表于: 2005-05-25
http://www.avisynth.org/Tweak

v2.56 added sse=true/false to enable sse code
CPU 支援 SSE指令集的話可以試試

级别: 新手上路
注册时间:
2005-03-31
在线时间:
0小时
发帖:
43
只看该作者 2楼 发表于: 2005-05-25
恩恩~~~,E文看不明白的说,简单说明一下好吗?

我只是想调整一下影片的亮度和人物线条精细
级别: 精灵王
注册时间:
2003-03-22
在线时间:
1小时
发帖:
2598
只看该作者 3楼 发表于: 2005-05-25
线条精细 锐化有点作用,但是要注意程度,重了就变水彩了,再者变板画了~

级别: 版主
注册时间:
2002-12-02
在线时间:
0小时
发帖:
3002
只看该作者 4楼 发表于: 2005-05-25
Tweak(clip clip [, float hue] [, float sat] [, float bright] [, float cont] [, bool coring] [, bool sse])

hue (-180.0 to +180.0, default 0.0) hue 色调

sat (0.0 to 10.0, default 1.0) saturation 饱和度

bright (-255.0 to 255.0, default 0.0) brightness 明亮度

cont (0.0 to 10.0, default 1.0) contrast 对比

刮号内是其可设定的范围
及 预设值(default,没指定时内定值...)


调线条就要用外挂filter
LoadPlugin("aWarpSharp.dll")
AVISource("test.avi")
aWarpSharp(25.0, 4, 0.5, 1) # 这个值只是示范不是建议值 ^^

明天有空在分析给你 aWarpSharp 的参数

级别: 新手上路
注册时间:
2005-03-31
在线时间:
0小时
发帖:
43
只看该作者 5楼 发表于: 2005-05-26
谢谢,
另外,Tweak滤镜中调节色调、饱和度、亮度、对比度的选值范围最好在多少以内?
级别: 骑士
注册时间:
2001-11-21
在线时间:
0小时
发帖:
1366
只看该作者 6楼 发表于: 2005-05-26
如果是正规职人做的东西,不可以再调,调了就变农民了。大红大绿白飞黑溃的东西,不是农民是什么?



Heaven is a girl I know so well
She makes me feel good when I feel like hell
Heaven is a girl that I've got to have
She makes me feel better when I'm feelin' bad
Heaven is a girl that makes dreams come true
Oh, no one does it good like heaven do, no
级别: 版主
注册时间:
2002-12-02
在线时间:
0小时
发帖:
3002
只看该作者 7楼 发表于: 2005-05-26
引用
最初由 sunny8647 发布
谢谢,
另外,Tweak滤镜中调节色调、饱和度、亮度、对比度的选值范围最好在多少以内?


这要自己试才知道,每个片段都不一样并没有所谓的推荐值

亮度 当片段是处于黑暗中就调整这个,与对比在某种程度上很类似
对比 要凸显光泽或線條就调整这个
色调 当为一个自然景色画面时,用来营造气纷用(比较少人用,有时画面泛黄也可使用)
饱和 当片段过于深沉时可使用,比如 "禁猎魔女" 这类行片子就可试试


aWarpSharp 這裡面有提到
http://www.popgo.net/bbs/showthread.php?s=&threadid=310103&highlight=aWarpSharp

级别: 版主
注册时间:
2001-11-21
在线时间:
0小时
发帖:
2803
只看该作者 8楼 发表于: 2005-05-26
调亮度的时候可以参考histogram, 这个可以使用avs里面的 : Histogram(mode = levels) 来看. 在屏幕右边会出现三个图, 注意不要把最上面那个图里面像白色小山一样的东西切掉太多就行了(调亮度和对比度都会改变这个), 道理和照相机里面的histogram是一样的.......
当然这个用levels来调更直接.........

live id: liusu119@hotmail.com
email: liusu119@gmail.com
级别: 新手上路
注册时间:
2003-05-20
在线时间:
0小时
发帖:
97
只看该作者 9楼 发表于: 2005-05-26
有没有调节伽玛亮度的?
有些片段调高亮度,亮的地方就看不清了.而我的板载显卡驱动无法调节伽玛亮度.

级别: 精灵王
注册时间:
2003-03-22
在线时间:
1小时
发帖:
2598
只看该作者 10楼 发表于: 2005-05-26
伽玛亮度,AVS帮助里就写了:
Levels (clip, int input_low, float gamma, int input_high, int output_low, int output_high, bool "coring")

The Levels filter adjusts brightness, contrast, and gamma (which must be > 0). The input_low and input_high parameters determine what input pixel values are treated as pure black and pure white, the output_low and output_high parameters determine the output values corresponding to pure black and white and the gamma parameter controls the degree of nonlinearity in the conversion. To be precise, the conversion function is:

output = [(input - input_low) / (input_high - input_low)]1/gamma (output_high - output_low) + output_low

This is one of those filters for which it would really be nice to have a GUI. Since I can't offer a GUI (at least not in AviSynth's current form), I decided I could at least make this filter compatible with VirtualDub's when the clip is RGB. In that case you should be able to take the numbers from VirtualDub's Levels dialog and pass them as parameters to the Levels filter and get the same results. However, the input and output parameters can be larger than 255.

When processing data in YUV mode, Levels only gamma-corrects the luma information, not the chroma. Gamma correction is really an RGB concept, and I don't know how to do it properly in YUV. However, if gamma = 1.0, the filter should have the same effect in RGB and YUV modes. For adjusting brightness or contrast it is better to use Tweak or ColorYUV, because Levels also changes the chroma of the clip.

In v2.53 an optional coring = true/false (true by default, which reflects the behaviour in older versions) is added. When setting it to true, it means that the luma range is clipped to [16,235] for both the input and output (this means that [0,16] is mapped to 16, and [235,output_high] to 235). When setting it to false it means that the luma range is clipped to [0,255] (this means that the output [255,output_high] is mapped to 255).

# does nothing on a [16,235] clip, but it clips (or "clamps") a [0,255] clip to [16,235]:
Levels(0, 1, 255, 0, 255)

# the luma is clipped to [16,235] and the conversion [0,255]->[16,235] takes place:
# example: the luma values in [0,16] are all converted to 30
Levels(0, 1, 255, 16, 235)

# gamma-correct image for display in a brighter environment:
# example: luma of 16 stays 16, 59 is converted to 79, etc.
Levels(0, 1.3, 255,0, 255)

# invert the image (make a photo-negative):
# example: luma of 16 is converted to 235
Levels(0, 1, 255, 255, 0)

# does nothing on a [0,255] clip; does nothing on a [16,235]:
Levels(0, 1, 255, 0, 255, coring=false)

# scales a [0,255] clip to a [16,235]:
Levels(0, 1, 255, 16, 235, coring=false) # this is the same as ColorYUV(levels="PC->TV")

# scales a [16,235] clip to a [0,255]:
Levels(16, 1, 235, 0, 255, coring=false) # this is the same as ColorYUV(levels="TV->PC")

快速回复

限150 字节
上一个 下一个