Avisynth: Rainbow effect?
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) 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. http://www.digitalfaq.com/archives/i.../2006/09/1.jpg |
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). |
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 |
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. |
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) Code:
AssumeBFF() |
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.
|
Quote:
|
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.