PDA

View Full Version : Using an image as a corrective mask


alexh110
4th May 2008, 18:07
Is there by any chance a VirtualDub or AviSynth filter that can add a BMP or JPEG image into every frame of a movie, by pixel addition?

I seem to remember seeing one a while back; but can't remember where.

I.e. I want to use the still image as a corrective mask, which is why I want to add it pixel by pixel to every frame.

unskinnyboy
4th May 2008, 18:51
Are you asking how to add a logo to your video?

sixide
5th May 2008, 01:45
Overlay()

And it looks like you want mode="add".

alexh110
5th May 2008, 15:14
I've tried using Brian Vanderburg's "Layer" filter in "Add" mode; but it doesn't work very well.
It's much more effective when I use Jasc Paint Shop Pro to do the pixel arithmetic; but ofcourse I can only use this for still images.

Is there perhaps a filter that will perform pixel addition/subtraction in the same fashion as Paint Shop Pro?

N.B. I'm not adding a logo; I'm splitting the source video into YUV channels, then adding in a UV corrective mask to attempt to remove some severe chroma patterning.
Afterwards I recombine to RGB.