Akai-Shuichi
16th July 2007, 01:20
Here is an example of it: http://img91.imageshack.us/img91/8248/vlcsnap3508819pr4.png
I need help on which method to go upon on fixing this, as it is quite annoying >_>
Dark Shikari
16th July 2007, 05:33
Oh god Pokemon ;)
Dehalo might work... if its an issue of the chroma planes not being properly aligned there's a filter for that too.
MOmonster
18th July 2007, 07:49
A derainbow function will really be of more use than a dehalo function, also if this one is a really good one.
You can search the forum for rainbows and you will get a lot of results.
Maybe this spatial function helps:
# rainbow_smooth is a small spatial derainbow function
# it use smoothuv to for chroma smoothing and reduce the colour-washing with edge masking
#
# needed filters:
# - SmoothUV
# - Masktools v2
#
# parameter description:
# - radius
# just the smoothing radius [1...7 ->3]
# - lthresh/hthresh
# the low and the high smoothing threshold - use smaller values for saver processing
# the masking is only used for hthresh, so if you set lthresh>hthresh lthresh will be
# the overall thresh and no masking will be used (fastest)
# but if you set lthresh<=0 you disable the basic chromasmoothing and use only the
# chromasmoothing on edges [0...255 ->0,220]
function rainbow_smooth(clip orig, int "radius", "lthresh", "hthresh")
{
### parameters ###
radius = default(radius, 3)
lthresh = default(lthresh, 0)
hthresh = default(hthresh, 220)
### masking string ###
WORK = "x y - 90 > 255 x y - 255 90 / * ?"
### process ###
lderain = lthresh<1 ? orig : orig.SmoothUV(radius,lthresh,false)
hderain = orig.SmoothUV(radius,hthresh,false)
mask = mt_lutxy(orig.mt_expand(u=1,v=1),orig.mt_inpand(u=1,v=1),WORK,u=1,v=1)
hthresh>lthresh ? mt_merge(lderain,hderain,mask,luma=true,y=2) : lderain
return last
}
Ps:
Welcome to this forum.:)
Boulder
18th July 2007, 09:42
FFT3DFilter/FFT3DGPU is also effective against rainbowing.
DarkT
18th July 2007, 14:20
BiFrost(SSIQ) sort of line / DFMDerainbow
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.