View Full Version : How to clean this kind of problem?
Leinad4Mind
15th November 2016, 20:11
How can I clean this kind of visual problem?
http://i.imgur.com/8jxmxAS.png
I've tried a lot of filters but I couldnt solved it properly.
Thanks in advance!
Taurus
15th November 2016, 21:21
Hmmh, are these vertical lines static or moving?
As always, without a sample nobody will(can) help you.
What is the source?
StainlessS
15th November 2016, 22:00
I think Defreq() and FFTQuiver() are intended to fix that kind of diagonal interference pattern, but as Taurus has said, without a sample no more could be said.
EDIT: Also maybe see FanFilter(), all three here:- http://avisynth.nl/index.php/External_filters
FFTQuiver Doc:- http://avisynth.nl/index.php/FFTQuiver
Defreq Doc:- http://avisynth.org.ru/defreq/defreq.html
FanFilter Doc:- http://avisynth.nl/users/vcmohan/FanFilter/FanFilter.html
GMJCZP
15th November 2016, 22:54
Please, read the complete thread:
Here (http://forum.doom9.org/showthread.php?p=1404025#post1404025)
Mounir
16th November 2016, 01:56
This code remove some of it, but need more work (with fanfilter maybe?)
main=last
main
bicubicresize(480,240)
spline64resize(640,480)
lsfmod
filtered=last
main
mt_edge(mode="prewitt",chroma="copy").mt_expand
mymask=last
mt_merge(main, filtered, mymask)
ConverttoRGB32(matrix="rec601",interlaced=false)
LoadVirtualDubPlugin("C:\Program Files (x86)\virtualdub\plugins\Camcorder_Color_Denoise_sse2.vdf", "CCD", 0)
CCD(20,1) # from 0 to 100 ; Default =30
converttoyv12(matrix="Rec601",interlaced=false)
jpsdr
16th November 2016, 13:02
If you can provide a video sample.
Leinad4Mind
16th November 2016, 23:29
Hmmh, are these vertical lines static or moving?
As always, without a sample nobody will(can) help you.
What is the source?
The problem is static, so if anyone can solve on this picture it will solve it.
I think Defreq() and FFTQuiver() are intended to fix that kind of diagonal interference pattern, but as Taurus has said, without a sample no more could be said.
EDIT: Also maybe see FanFilter(), all three here:- http://avisynth.nl/index.php/External_filters
FFTQuiver Doc:- http://avisynth.nl/index.php/FFTQuiver
Defreq Doc:- http://avisynth.org.ru/defreq/defreq.html
FanFilter Doc:- http://avisynth.nl/users/vcmohan/FanFilter/FanFilter.html
I can put it working those filters... maybe they arent compatible with avisynth 2.6
This code remove some of it, but need more work (with fanfilter maybe?)
Thks your code helped. Just need more works as you said.
Maybe I need something as eDeen like: eDeen(7,7,14,1,2) but I didnt wanted to lose detail...
Best result so far:
rainbow_smooth(2)
unfiltered = last
main=unfiltered
main
bicubicresize(480,240)
spline64resize(640,480)
lsfmod
filtered=last
main
mt_edge(mode="prewitt",chroma="copy").mt_expand
mymask=last
mt_merge(main, filtered, mymask)
FIR = Mt_Convolution(Horizontal=" 48 64 96 64 48 ", vertical ="1", u=2, v=2)
Diff = Mt_Makediff(Last, FIR)
THR=string("256")
MedianDiff = MT_Luts(Diff, Diff, mode="med", pixels = " 0 0 1 0 2 0 -1 0 -2 0 " , expr = " X Y - X Y - X Y - abs 1 + * X Y - abs 1 + "+THR+" 1 >= "+THR+" 0.5 ^ "+THR+" ? + / - 128 +", u=1,v=1).fft3dfilter(bw=2, bh=16, ow=1, oh=8, bt=1, sigma=16, sigma2=0.75, sigma3=16, sigma4=16, plane=4)
ReconstructedMedian = mt_makediff(Diff, MedianDiff)
Mt_AddDiff(FIR, ReconstructedMedian)
magiblot
27th November 2016, 01:36
I suggest you give this a try in first place:
https://www.youtube.com/watch?v=3137dDa6P4s
At least, it should solve the problem partially, and then it would make it easier to remove it completely.
Mounir
27th November 2016, 11:13
try checkmate right before bicubicresize(480,240) and also i think (480,320) is enough for the bicubic resize, it's too blurry otherwise.
turnright()
checkmate
turnleft()
bicubicresize(480,320)
I can't check the result since you haven't posted a video sample yet...
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.