View Full Version : Filter selection for cartoon
RazrFalcon
21st July 2011, 20:25
Here is example of movie:
http://storage1.static.itmages.ru/i/11/0721/s_1311256688_acfed2a4c9.png (http://itmages.ru/image/view/235693/acfed2a4) http://storage3.static.itmages.ru/i/11/0721/s_1311275796_dce35e349b.png (http://itmages.ru/image/view/235879/dce35e34) http://storage2.static.itmages.ru/i/11/0721/s_1311256689_ad5eeb4d2d.png (http://itmages.ru/image/view/235694/ad5eeb4d)
Which filter(s) can help me to make line smoother?
And, as you can see on second screenshot, slightly blur the image to remove "blocking/modularity" on dark parts.
Thanks all for helping.
Sorry for bad English.
Overdrive80
21st July 2011, 23:14
I used first a good antialiasing as nnedi3, eedi3,... If you aplly antialiasing, get blurring image. You could compensate it withasharp(0.60)
LSFmod(defaults="fast", secure=true, soothe=true, preblur="ON",edgemaskHq=true)
Maybe if you attached a part of video, somebody can help more you.
RazrFalcon
22nd July 2011, 08:18
Hope it help:
http://dl.dropbox.com/u/16019144/example2.mkv (~30MiB, no sound)
It's opening, so it pretty dinamic.
Overdrive80
24th July 2011, 02:44
Hope it help:
http://dl.dropbox.com/u/16019144/example2.mkv (~30MiB, no sound)
It's opening, so it pretty dinamic.
Try it if you want, but is very slow
nnedi3()
daa()
SharpAAMCmod(dark=0.1, thin=0, sharp=0, smooth=50, stabilize=false, aatype="eedi2")
RazrFalcon
28th July 2011, 16:35
Looks realy strange:
http://storage8.static.itmages.ru/i/11/0728/s_1311867232_092a92facb.png (http://itmages.ru/image/view/242356/092a92fa)
Full script:
LoadPlugin("DGDecode.dll")
DGDecode_mpeg2source("/media/data/Invader Zim/VideoFile.d2v", info=3)
LoadPlugin("ColorMatrix.dll")
LoadPlugin("TIVTC.dll")
LoadPlugin("EEDI2.dll")
LoadPlugin("TDeint.dll")
LoadPlugin("nnedi3.dll")
LoadPlugin("mvtools2.dll")
LoadPlugin("MaskTools.dll")
LoadPlugin("mt_masktools-26.dll")
LoadPlugin("Toon-v1.1.dll")
LoadPlugin("aWarpSharp2.dll")
LoadPlugin("RemoveGrain.dll")
LoadPlugin("Repair.dll")
LoadPlugin("nnedi2.dll")
ColorMatrix(hints=true, interlaced=true, threads=0)
tfm(d2v="/media/data/Invader Zim DVD ISO's/VideoFile.d2v")
Trim(1200,1600)
tdecimate(mode=1)
nnedi3()
daa()
SharpAAMCmod(dark=0.1, thin=0, sharp=0, smooth=50, stabilize=false, aatype="eedi2")
crop( 4, 0, -4, 0)
Spline64Resize(640,480)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.