Quantcast Avisynth: How to Reduce Redness? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
10-22-2003, 04:31 PM
muhali3 muhali3 is offline
Free Member
 
Join Date: Sep 2003
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
my question is how can i reduce the redness level in my source by using avisynth and not by TMPGenc

i don't know what i should use, tweak, limiter, or what?

Thanks
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
10-23-2003, 03:36 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Limiter has nothing to do with colors.
Tweak is for that.

There is a wonderfull thing that comes with Avisynth that is called THE MANUAL. You should read it once.
Reply With Quote
  #3  
10-23-2003, 07:31 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
...which is around here http://www.avisynth.org/index.php?page=Tweak

-kwag
Reply With Quote
  #4  
10-23-2003, 07:37 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
I' rather the version that is locally on my (and surely your) PC : in the "docs" directory of avisynth !
Reply With Quote
  #5  
10-23-2003, 08:11 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Dialhot
I' rather the version that is locally on my (and surely your) PC : in the "docs" directory of avisynth !
But isn't the one on the site more "up to date"
It's a "WiKi" site, so it's updated on-line

-kwag
Reply With Quote
  #6  
10-23-2003, 08:53 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by kwag
But isn't the one on the site more "up to date"
It's a "WiKi" site, so it's updated on-line
Yes it is. But what is the interest to have a documentation talking about something you perhaps don't have on your PC because your avisynth version is rather old ?
It's like seeing tweaking hints for winXP on the net and being unable to use them at home because you have win2000.
Reply With Quote
  #7  
10-23-2003, 11:36 AM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
If you only want to remove reddish colors, try:

coloryuv(cont_v=-64)

Values closer to 0 will pass more red, closer to -256 will completely remove all red.
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #8  
10-23-2003, 11:48 AM
muhali3 muhali3 is offline
Free Member
 
Join Date: Sep 2003
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
thanks shodan, its working just like i wanted it to.
Reply With Quote
  #9  
10-23-2003, 11:55 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by sh0dan
If you only want to remove reddish colors, try:

coloryuv(cont_v=-64)

Values closer to 0 will pass more red, closer to -256 will completely remove all red.
great Sh0dan!

means that if i use:
coloryuv(cont_u=-64)
i can reduce the blue?

if is right,how can i reduce the green?
Reply With Quote
  #10  
10-24-2003, 03:37 AM
sh0dan sh0dan is offline
Free Member
 
Join Date: Mar 2003
Posts: 89
Thanks: 0
Thanked 0 Times in 0 Posts
@jorel: Yes - reducing v will reduce blueish tones.

Green is a bit more tricky, but this helps:

Code:
v = coloryuv(off_u=-128, off_v=-128)
v = coloryuv(v,off_u=128, off_v=128)
mergechroma(last, v, 0.6)
Adjust the mergechroma factor to adjust how much green should be removed. The same method can be used for other colors, by changing the numbers.
__________________
Regards, sh0dan // VoxPod
Reply With Quote
  #11  
10-24-2003, 07:25 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
thanks,
i got the "idea" !



ps:
avisynth remember me the way
that "color channel" work in tvs.
sometimes is seamless!
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Optimal script to reduce blockiness in scenes? vdk_au Avisynth Scripting 1 02-28-2004 05:10 AM
Avisynth: Filters that reduce noise and similar stuff? muhali3 Avisynth Scripting 3 09-22-2003 06:18 PM
Avisynth: Possibly reduce background flickering? ARnet_tenRA Avisynth Scripting 3 03-13-2003 12:27 PM
KVCD: Reduce Q level on certain scenes? girv Video Encoding and Conversion 2 01-21-2003 10:13 AM
Avisynth: Help on choosing filters to reduce blocks and remove noise? yauman Avisynth Scripting 24 01-13-2003 06:28 AM




 
All times are GMT -5. The time now is 08:58 AM  —  vBulletin © Jelsoft Enterprises Ltd