09-14-2006, 07:41 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Guys,
i have a big problem with my noisy dv capture from my wedding. The shot was in the evening and my sony dv-cam has produced a rainbow effect i can't get rid of. I'm not sure if it really is a rainbow effect. I've already tried a lot of different avisynth filters (FFT3DFilter,DeRainbow,DeRainbow2,convolution3d,CN R2,RemoveGrain), none was able to give me a sufficient result.
Code:
FFT3DFilter(sigma=3, interlaced=true, plane=4)
was the best one so far.
Do you have a hint for me?
Attached you can find a screenshot, i mean those yellow or colored parts on the wall and the ceiling (which is white in real life). Sorry for the black rectangle...
Thanks
Krassi
BTW: HDRAGC is one of the best filters i've seen so far. It makes HDR available to vids.
|
Someday, 12:01 PM
|
|
Site Staff / Ad Manager
|
|
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
|
|
|
09-15-2006, 03:40 AM
|
Free Member
|
|
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
You need to play with the different sigmas.
Try this : FFT3DFilter(sigma4=7,sigma=2,bt=3,mode=1,degrid=1, plane=1). If you have a decent graphics card, you could use FFT3DGPU for faster processing (FFT3DFilter also got updated a short while ago).
|
09-15-2006, 04:43 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Boulder,
thanks, a great answer. I've changed sigma4 to 56 for eliminating those rainbows. Do you know if i'm losing details with such a high setting
I'm previewing my scripts with AvsP.
Thanks
Krassi
|
09-15-2006, 04:49 AM
|
Free Member
|
|
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
You might be losing chroma information (i.e. colors may fade). There are four sigmas: sigma4,sigma3,sigma2,sigma1. Try setting sigma=1 and then try with each sigma to a high value. That is, try FFT3DFilter(sigma4=30,sigma=1,bt=3,mode=1,degrid=1 ,plane=1), FFT3DFilter(sigma3=30,sigma=1,bt=3,mode=1,degrid=1 ,plane=1),
FFT3DFilter(sigma2=30,sigma=1,bt=3,mode=1,degrid=1 ,plane=1) and
FFT3DFilter(sigma1=30,sigma=1,bt=3,mode=1,degrid=1 ,plane=1) (all separately, of course). See which one appears to get rid of the blotches best, then focus on that sigma and leave the rest at 1 or so.
You can compare the original and filtered one easily by using Interleave(last,FFT3DFilter(...)). That way you'll see if you are losing much of the colors.
I have a Sony DV cam as well and usually 10-20 has been high enough to get rid of the issue. I've also set the white balance to "outdoor" because the automatic setting is quite bad actually.
|
09-16-2006, 07:14 AM
|
Free Member
|
|
Join Date: Mar 2003
Location: Germany
Posts: 390
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
After some pm-exchange with Boulder we were able to eliminate the rainbow while keeping chroma information with the following filter setting:
Code:
FFT3DGPU(sigma4=25,sigma3=15,plane=1,bt=3,mode=1,degrid=1)
Here is the complete script:
Code:
AssumeBFF()
MVBob()
RemoveGrain(mode=1)
HDRAGC(coef_gain=0.5,coef_sat=0.9)
FFT3DGPU(sigma4=25,sigma3=15,plane=1,bt=3,mode=1,degrid=1)
cleaned = TemporalSoften(2,5,0,8,2)
backward_vec2 = cleaned.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=8, sharp=2, idx = 22, blksize=16)
backward_vec1 = cleaned.MVAnalyse(isb = true, delta = 1, pel = 2, overlap=8, sharp=2, idx = 22, blksize=16)
forward_vec1 = cleaned.MVAnalyse(isb = false, delta = 1, pel = 2, overlap=8, sharp=2, idx = 22, blksize=16)
forward_vec2 = cleaned.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=8, sharp=2, idx = 22, blksize=16)
a=MVDegrain2(last,backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=400,idx=23)
b = a.DegrainMedian()
SeeSaw(a,b, NRlimit=5, NRlimit2=6,Sstr=1.5, Slimit=8, Spower=8, Szp=16,soothet=80)
ColorMatrix(mode="rec.601->rec.709")
AssumeBFF()
SeparateFields()
SelectEvery(4,0,3)
Weave()
Thank you Boulder, you've saved my wedding
|
09-16-2006, 07:29 AM
|
Free Member
|
|
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I forgot to mention that if you have an HT-capable or multicore CPU, you can use tsp's special Avisynth build and his MT filter for a nice performance boost. It should make the SeeSaw part quite a bit faster.
|
09-18-2006, 01:24 AM
|
Free Member
|
|
Join Date: Sep 2005
Location: Donkeyland
Posts: 210
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
Originally Posted by Boulder
I forgot to mention that if you have an HT-capable or multicore CPU, you can use tsp's special Avisynth build and his MT filter for a nice performance boost. It should make the SeeSaw part quite a bit faster.
|
Do you have th link ???, I can use that for my dual core
|
09-18-2006, 01:29 AM
|
Free Member
|
|
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
All times are GMT -5. The time now is 10:01 PM — vBulletin © Jelsoft Enterprises Ltd
|