PDA

View Full Version : idea for a filter for simpsons & animes


E-Male
29th August 2003, 17:00
the idea behind the filter is the structure of the picture of animated video: black outlines with fill-color

the plugin should have one parameter, a threashold
first thing the plugin does is checkign if a pixel is black
black in this case means that the pixel is "perfect_black +/- threashold", so on worse material a higher threshold is needed [a display-option that shows what is detected as black would be helpfull here]
now if an input-pixel is black the output of it as a perfect-black pixel
if it's not black it gets strong temporal filtering, in the first version i think of avaraging with the 8 neighboars, but neighboars that are black are not used in the avaraging

the result should be a strong filtered clip, but the black outlines stay sharp

possible further things to add:
-3d filtering, some moreparameters,...
-another parameter: x; if more than x neighboars are black, than make the pixel black [so bright noise in the black outlines gets removed]

well, the idea is open for discussion, go ahead and post

THX
CU
E-Male

p.s. i hope you understand everything, this complex-technical stuff is a bit much for my english

mf
29th August 2003, 17:10
Tried mfToon? lol

Kurosu
29th August 2003, 18:34
You could filter temporally all pixels, be they on edges or in flat areas. Actually, msmooth and most filters deactivating filtering based on a edge mask are doing something like you describe, but spacialy.

E-Male
31st August 2003, 01:33
Originally posted by mf
Tried mfToon? lol

i checked mftoon at avisynth.org and it seems to mainly do sharpening
my filter smoothes the picture (except for the black-edges)

also i try to have few and easy to understand parameters

maybe all i wanna do is still there, maybe not


CU
E-Male

mf
1st September 2003, 18:14
Originally posted by E-Male
i checked mftoon at avisynth.org and it seems to mainly do sharpening
Try mfToon(sharpen=false). Also, the version on avisynth.org is outdated =). I'd need to update it.