Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
#1 | Link |
|
Clouded
Join Date: Jul 2003
Location: Cambridge, UK
Posts: 1,148
|
Colour stabilisation
Here's a YV12 filter I recently built on request from one thrash_sensei... the idea and method are his:
http://people.pwf.cam.ac.uk/mg262/po...sk_11Sep05.dll ColourMask(clip, int y, int u, int v, int lumathreshold, int chromathreshold) returns a mask of those pixels whose colour is near (y,u,v), where nearness is defined by lumathreshold and chromathreshold. Chroma of the returned clip is nonsense. ColourStabilise(clip, int y, int u, int v, int lumathreshold, int chromathreshold) Replaces pixels whose colour is near (y,u,v) with colour (y,u,v), where nearness is defined by lumathreshold and chromathreshold. (Chroma subsampling is treated sensibly.) RGBColourStabilise(clip, int colour, int lumathreshold, int chromathreshold) Just like ColourStabilise but takes the colour as a RGB hex value. ( Rec.601 conversion ). I think this is meant to be used on a scene by scene basis... I haven't tried this filter above and beyond making sure it was working correctly. Ask if you want the source or any technical details. |
|
|
|
|
|
#2 | Link |
|
interlace this!
Join Date: Jun 2003
Location: i'm in ur transfers, addin noise
Posts: 4,316
|
hey cool! i was thinking last night of muddling something like this together using tweak and vtoy,utoy, but a plugin is always welcome
__________________
interlace... right or wrong, just deal with it. |
|
|
|
|
|
#3 | Link |
|
Clouded
Join Date: Jul 2003
Location: Cambridge, UK
Posts: 1,148
|
thrash_sensei did actually make a script to do this, but it ran at 13 FPS, which is why I made the plug-in -- which he measured at about 300 FPS (though it could probably be made faster if there were any point).
I'm not masochistic enough to go through scene by scene fixing up colours like this... actually, I did at one point try to use the fact that the foreground is typically drawn with a limited palette to separate foreground and background, but it didn't work too well... I always ended up picking up a reasonable amount of background. On the other hand the material I work with is very much noisier than what most of you seem to be playing with... |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|