PDA

View Full Version : filter to remove detail enhancer from video


morsa
27th February 2003, 05:27
Is there any posibility to create a filter based on border detection that removes those ugly black and white borders the detail enhancement of the video camcorder adds to video?
The idea would be to search for this kind of synthetic borders, remove them and replace them using interpolation.
Should I use Msharpen, unsharp mask or what filter to develop this new one?
Thank you.

P.S: I know the image should get a little blurry if I perform this operation succesfully but I guess sharpness would be restored via supersampled Xsharpen, or supersampled Sharpen.Both of them give good results.

neuron2
27th February 2003, 12:27
There is some discussion of this in existing threads. Search for "edge enhancement". This thread is interesting in that regard:

http://forum.doom9.org/showthread.php?s=&threadid=32757&highlight=edge+enhancement

morsa
28th February 2003, 01:50
Great!! I'll wait anxiously for that improvement!!
That kind of artifacts are making me nuts!!
Good Job Neuron.As always!

P.S: Remember to release a Vdub version with EE remover, please!

Malcolm
19th March 2003, 16:49
Hi,
i hope you mean the same thing as i do. There's a great filter (avisynth 2.0x only atm.) that removes oversharpened edges known from VHS sources. it's called FixVHSoversharp. You can find it at www.kvcd.net. Scroll down a bit, there's a message about this filter along with the download-link.

bye,
Malcolm

morsa
19th March 2003, 18:38
Does someone else know about this filter?
Thank you.

Wilbert
20th March 2003, 10:24
Haven't tried it, but:

http://www.kvcd.net/forum/viewtopic.php?t=3119&highlight=avisynth

Apperently it works only with AviSynth v2.08 (YUY2). From readme:

FixVHSOversharp (Beta 2)

This filter aims to repair the light and dark halos that follow high contrast edges in VHS sources. You can see this effect particularly in B/W videos or anywhere that is a high brightness. (You sometimes see this same effect on DVD sources as well - not nearly as noticeable though.) This filter targets the areas of the frame that are effected only thus avoiding applying any kind of blur or smooth filter to the entire frame.

The filter dll includes two filters: FixVHSOversharp, which fixes the edges where the oversharp is on the right of the edge and FixVHSOversharpL which fixes the problem on the left of the edge. I usually run both filters on every frame.

morsa
21st March 2003, 05:03
I've been testing it and there's a lot of improvement to be done.Still very beta.
I tested its functionality with a DV source (PAL) and it only removes borders in the vertical direction, not horizontally.
Also its output has a lot of weird artifacts like dancing pixels everytime, everywhere.
I don't know exactly how the filter works but I think that using Msharpen's border detection to replace the detected borders via interpolation would give better results than what I'm seeing now with fixVHS...