Log in

View Full Version : I have rainbow colors on the outline of characters. Help me for remove this problem.


Cloudstrifeff7
26th April 2010, 21:23
I just recently ripped the Tenchi dvd's and the source seems to be rather funky. I get a lot of rainbow colors on the outline of characters like in this shot.

http://img706.imageshack.us/img706/5849/screenshot1yh.png

If you know any filters that can fix this let me know. It might just be the dvd's suck.

mastrboy
26th April 2010, 21:34
Looks similar to some rainbowing i dealt with a while ago, after testing different derainbow scripts i found that chubbyrain2 did the best on my source
ChubbyRain2() (http://forum.doom9.org/showthread.php?t=143438)

you could also try the others mentioned here:
http://avisynth.org/mediawiki/External_plugins#Rainbow_.26_Dot_Crawl_removal

egrimisu
26th April 2010, 22:02
hi,
you could try
smartssiq(280) 0-300; witch did a fine job on one of my sources.



function SmartSSIQ(clip input, int "strength") {
strength = default(strength, 200) #processing strength, 0-255

# apply rainbow remover to the entire video
derainbow = input.SSIQ(11, 300, false)

# create an edge mask from the rainbow video
lutexpr = "x .2 ^ 110 *"
# uncomment to use masktools 1
#edgemask = input.edgemask(thY1=1, thY2=255, type="sobel").inflate().yv12lut(yexpr=lutexpr).GreyScale()
edgemask = input.mt_edge(thY1=1, thY2=255, mode="sobel").mt_inflate().mt_lut(yexpr=lutexpr).GreyScale()

# apply ssiq only to masked area, using "strength"
result = overlay(input, derainbow, mode="blend", mask=edgemask, opacity=strength/255.0).Limiter()

return result
}

egrimisu
26th April 2010, 22:05
or derainbow(), but may cause color bleading sometimes.

Cloudstrifeff7
26th April 2010, 23:19
Thank you very much! :)

I tried ChubbyRain2 and smartssiq and ChubbyRain2 is the best for me.