View Full Version : Please help with this footage
dragonfly
14th May 2005, 20:50
I have recorded a video with my capture card and the result wasn't very good. There seems to be a strange noise in such a way diagonal lines appear accros the screen. The (thick) lines move from the upper left to the bottom right. I can't help this, because this is one of my weak channels. Other channels are pretty good.
I tried different noise filters but they never gave me good results. Maybe one you guys can have a look and give me some advise. The video is YUY2 and 25fps. I couldn't determine if the video was interlaced, but i don't think so.
Here is a sample script I used.
LoadPlugin("\fft3dfilter.dll")
LoadPlugin("\MVTools.dll")
LoadPlugin("\VagueDenoiser.dll")
LoadPlugin("\TDeint.dll")
LoadPlugin("\UnFilter.dll")
LoadPlugin("\DGDecode.dll")
LoadPlugin("\MaskTools.dll")
LoadPlugin("\asharp.dll")
LoadPlugin("\aWarpSharp.dll")
Import("D:\Capture Video\Tsting video\TimeDenoise\LimitedSharpen1.avs")
Import("D:\Capture Video\Tsting video\TimeDenoise\TimeDenoise.avs")
SetMemoryMax(120)
clip = AviSource("D:\Capture Video\capture.avi")
clip = clip.TimeDenoise(1.5)
return clip
And a picture of the source.
http://img92.echo.cx/img92/7307/source5hw.th.png (http://img92.echo.cx/my.php?image=source5hw.png)
This is the output of the script above. Almost no improvement and the picture got a bit darker. Don't think those candles helped a lot ;)
http://img186.echo.cx/img186/6919/output4uk.th.png (http://img186.echo.cx/my.php?image=output4uk.png)
Backwoods
14th May 2005, 23:04
http://bag.hotmail.ru/defreq/defreq.dhtml
Maybe that will help more.
dragonfly
15th May 2005, 22:37
Thanks for the help. I'll give it a try.
In the meanwhile I found another filter that should do the trick.
Look for more information about FanFilter here (http://forum.doom9.org/showthread.php?s=&threadid=92478&highlight=fanfilter), here (http://forum.doom9.org/showthread.php?s=&threadid=93229&highlight=fanfilter) and here. (http://forum.doom9.org/showthread.php?s=&threadid=93998&highlight=fanfilter)
The first result with Fanfilter gave me this. I have some tweaking to do with this filter.
http://img26.echo.cx/img26/9430/fanfilter8sk.th.png (http://img26.echo.cx/my.php?image=fanfilter8sk.png)
vcmohan
17th May 2005, 04:45
below on left is VLineFilter(yuy,0,1,8,gyplus=0,gyminus=0)
and right is VFanPass(Yuy,0,1,8,true,12) both from Fanfilter plugin.
http://img184.echo.cx/img184/1918/ketnet08np.jpg (http://www.imageshack.us)
I am trying to rename and revamp this plugin. So you may not get VLine function for some time.
You notice that vline preserves better the detail but noise is still seen a bit, while fanpass removes noise but blurs.
The noise is such that a compromise need to be arrived. However did you try defreq?
dragonfly
17th May 2005, 12:51
Well I haven't had the time to test Defreq yet, but I'll try to do a test tonight. I'll post the results here.
I'll hope your plugin will improve after the renaming and revamping.
Yes the blurry output is the only negative thing I can say about your FanFilter. Even when I tried to "resharp" the picture after FanFilter, the output wasn't satisfactory. I still have to find a way to overcome this.
Greets
dragonfly
18th May 2005, 21:08
I did some tests on the footage and here are the rsults with Defreq.
I believe defreq did the job well, but still some lines are visible.
Click on the images to get the actual size. I saved the pics as highest quality PNG-files to preserve the details.
This is the source:
http://img68.echo.cx/img68/1264/defreqsource21bw.th.png (http://img68.echo.cx/my.php?image=defreqsource21bw.png)
This is the info window Defreq gave me with my settings:
http://img228.echo.cx/img228/4374/defreqinfo7eu.th.png (http://img228.echo.cx/my.php?image=defreqinfo7eu.png)
And this is the output:
http://img228.echo.cx/img228/258/defreq2tl.th.png (http://img228.echo.cx/my.php?image=defreq2tl.png)
If you take a good look at the difference between the source and the output, you'll notice that Defreq did it's job to remove the "frequency-lines" a bit. However there are still diagonal lines noticeable which I like to remove aswell. The are not as sharp as in the source, but still annoying.
vcmohan
19th May 2005, 04:03
I think defreq should do a much better job than fanfilter. May be the parameters were wrong! Hardly any noise was removed.
May be author of Defreq will be able to help you.
While experimenting further with FanFilter I found broad diagonal bars in ne-sw direction in the area to the right of the lady. Are they real or noise? If noise could be removed. As it appears that there is a strong Sun Light falling through as bands in the picture, it could have been reflected by glass panes.
dragonfly
19th May 2005, 14:34
Thanks for the feedback vcmohan. I think those bars you are referring to are because the source is interlaced. I could upload a sample of the clip if you wish.
midelic
19th May 2005, 14:51
@dragonfly
I hope you like this,fanfilter is very good(better deinterlace the clip first):
Try,
VFanFilter(last,0,1,6,true,50,0,0)
result:
http://img272.echo.cx/img272/4307/fanfilter3jn.jpg
compare:
http://img94.echo.cx/img94/5572/compare0wb.th.jpg (http://img94.echo.cx/my.php?image=compare0wb.jpg)
ccfilms
19th May 2005, 18:08
I have to say, that's pretty impressive. :D I like! :D
trevlac
20th May 2005, 15:44
I'm a bit interested in this topic, but I have not really done proper testing with VC's and Fizick's filters ... to say too much.
However,
VC's is a very interesting approach. He is working with a spatial picuture and somehow identifying the frequency pattern. A down side of this seems to be the spatial smoothing that occurs. Perhaps the samples shown have agressive settings on his filters.
Here is an example of what I am talking about. Going clock wise are the source, a frequency filtered version, the VFan filter sample given above, and a spatially smoothed version of the frequency filtered sample.
The frequency filterd version can dampen the frequency noise, but usually not fully remove it without introducing artifacts. It also does not smooth. So other random noise is still seen along with picture details.
Of course ... the tools and methods one chooses should be driven by your end goal. There are often trade offs. I was just commenting because I like the topic and have been working on learning how this stuff works. :)http://www.trevlac.us/pics/defreq_compare.jpg
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.