VCDQuality Forums
Show all 8 posts from this thread on one page

VCDQuality Forums (http://www.vcdhq.com/forum/index.php)
- Jargon, Encoding/Conversion and Burning (http://www.vcdhq.com/forum/forumdisplay.php?forumid=9)
-- Guide: removing logos/watermarks without leaving a big ugly blur (http://www.vcdhq.com/forum/showthread.php?threadid=80522)


Posted by Mother on 03-19-2008 10:11 AM:

Guide: removing logos/watermarks without leaving a big ugly blur

Just something I was playing around with, thought I'd share.

Example:



Draw a b/w mask in MS Paint or whatever:



Get AviSynth and the AVSInpaint plugin.

Use the following script:

code:
loadCplugin("C:\Program Files\AviSynth 2.5\plugins\AVSInpaint.dll") AVISource("cam-rambo-wprp-sample.avi") msk=ImageSource("mask.bmp").converttoyv12 inpaintlogo(mask=msk)
Result:



(Edit - why are my img tags not working?)


Posted by Neversoft on 03-19-2008 12:46 PM:

That's pretty fucking neat you flash bastard!

__________________
Statistically... 9 out of 10 people actually enjoy gang rape.


Posted by Mother on 03-19-2008 03:42 PM:

Heh. Thanks.

That's just a quick demonstration. There's still a bit of a halo around where the text used to be, because there's a bit of ringing in the original Xvid.

It should be possible to get better results by adjusting the mask and/or the additional inpaintlogo() parameters.

But why is it that [IMG] tags don't work in this part of the forum? They seem to work in General Discussion.


Posted by Fionn McCool on 03-19-2008 04:10 PM:

Awesome, how did you discover this?


Posted by bartleby on 03-19-2008 04:58 PM:

Thats pretty cool , well done dude.

__________________
snoochie boochies


Posted by LOLobo on 03-20-2008 06:02 AM:

Mother


Posted by Mother on 03-20-2008 01:38 PM:

quote:
Originally posted by Fionn McCool
Awesome, how did you discover this?

I was actually searching for an AviSynth filter to help someone with a method of masking film damage.



I found the inpainting method isn't suitable for masking a large area such as this, but it does give good results for small items like logos, watermarks, counters, etc.


Posted by pknw1 on 04-03-2008 10:47 AM:

very similar to

very similar to the DeLogo filter for VirtualDub, but this is hella lot simpler!


All times are GMT. The time now is 12:02 AM.
Show all 8 posts from this thread on one page

Powered by: vBulletin Version 2.3.0
Copyright © Jelsoft Enterprises Limited 2000 - 2002.